summaryrefslogtreecommitdiff
path: root/doc/src/sgml/ref
AgeCommit message (Collapse)Author
2003-10-28Add --describe-config to top of postgres manual page.Bruce Momjian
2003-10-28Document --describe-config.Bruce Momjian
2003-10-26Add mention of quotes on function body to NOTES section.Bruce Momjian
Oliver Elphick
2003-10-17Adjust display of actual runtimes in EXPLAIN output to use three fractionalTom Lane
digits, and label it 'ms' not 'msec', for consistency with psql's \timing display. Per recent discussions.
2003-10-16Add mention of SIGHUP on the postmaster manual page.Bruce Momjian
2003-10-06Modify COPY FROM to match the null-value string against the column valueTom Lane
before it is de-backslashed, not after. This allows the null string \N to be reliably distinguished from the data value \N (which must be represented as \\N). Per bug report from Manfred Koizar ... but it's amazing this hasn't been reported before ... Also, be consistent about encoding conversion for null string: the form specified in the command is in the server encoding, but what is sent to/from client must be in client encoding. This never worked quite right before either.
2003-10-04Change transaction status indicator in prompt from %T to %x.Peter Eisentraut
2003-09-30Minor copy-editing.Tom Lane
2003-09-29Adjust btree index build procedure so that the btree metapage looksTom Lane
invalid (has the wrong magic number) until the build is entirely complete. This turns out to cost no additional writes in the normal case, since we were rewriting the metapage at the end of the process anyway. In normal scenarios there's no real gain in security, because a failed index build would roll back the transaction leaving an unused index file, but for rebuilding shared system indexes this seems to add some useful protection.
2003-09-28Update docs on function call permissions in view, from Tom.Bruce Momjian
2003-09-27Document that functions are checked independently of the viewBruce Momjian
permissions.
2003-09-24Repair some REINDEX problems per recent discussions. The relcache isTom Lane
now able to cope with assigning new relfilenode values to nailed-in-cache indexes, so they can be reindexed using the fully crash-safe method. This leaves only shared system indexes as special cases. Remove the 'index deactivation' code, since it provides no useful protection in the shared- index case. Require reindexing of shared indexes to be done in standalone mode, but remove other restrictions on REINDEX. -P (IgnoreSystemIndexes) now prevents using indexes for lookups, but does not disable index updates. It is therefore safe to allow from PGOPTIONS. Upshot: reindexing system catalogs can be done without a standalone backend for all cases except shared catalogs.
2003-09-23pg_dump/pg_restore now always use SET SESSION AUTHORIZATION, not \connect,Tom Lane
to control object ownership. The use-set-session-authorization and no-reconnect switches are obsolete (still accepted on the command line, but they don't do anything). This is a precursor to fixing handling of CREATE SCHEMA, which will be a separate commit.
2003-09-22Make the SQL command synopses appear less random.Peter Eisentraut
2003-09-20Fix a batch of speling misteaks identified by Peter's spell-checker tool.Tom Lane
2003-09-19Document that TRUNCATE ignores user-defined ON DELETE triggers.Tom Lane
2003-09-19Disallow foreign-key references from temp tables to permanent tables.Tom Lane
Per recent discussion, this does not work because other backends can't reliably see tuples in a temp table and so cannot run the RI checks correctly. Seems better to disallow this case than go back to accessing temp tables through shared buffers. Also, disallow FK references to ON COMMIT DELETE ROWS tables. We already caught this problem for normal TRUNCATE, but the path used by ON COMMIT didn't check.
2003-09-18Put a tad more detail in the discussion of postmaster and postgresTom Lane
signal handling.
2003-09-15Okay, who left off the id= here?Tom Lane
2003-09-15LISTEN doesn't issue a warning for redundant listens anymore. Also,Tom Lane
add some 'See Also' links.
2003-09-12Mop-up for error-message updates in documentation.Tom Lane
2003-09-12Remove WIN32_CONSOLE support, at the request of the author.Bruce Momjian
2003-09-12More cleanup of Diagnostics sections.Tom Lane
2003-09-11This patch fixes a few missed GUC variables that were still upper case,Bruce Momjian
makes a few more small improvements to runtime.sgml, and makes some SGML conventions more consistent. Neil Conway
2003-09-11This patch makes a few minor improvements to the docs: make theBruce Momjian
<varname> conventions more consistent, and improve the ANALYZE ref page. Neil Conway
2003-09-10This patch fixes a trivial typo in the CREATE FUNCTION ref page.Bruce Momjian
Neil Conway
2003-09-09Remove a bunch of content-free Diagnostics sections, as per previousTom Lane
discussion. (Still have some work to do editing the remainder.)
2003-09-08"statenebt" ?Tom Lane
2003-09-03Pass session_authorization to the client and make psql update its promptPeter Eisentraut
accordingly.
2003-08-31Add/edit index entries.Peter Eisentraut
2003-08-28Make documentation of pg_restore's -N, -o, -r switches bear someTom Lane
slight resemblance to their actual behavior.
2003-08-24Change warnings for non-existing or pre-existing cursors to errors.Peter Eisentraut
2003-08-17Update documentation to reflect the fact that ORDER BY, GROUP BY, etcTom Lane
are now driven by the default btree opclass, rather than assuming that particular operator names have the needed semantics.
2003-08-17This patch makes two minor fixes to the docs: (1) fixes aBruce Momjian
spelling mistake in the PREPARE ref page (2) Makes some English more consistent, in the ref pages for some of the client apps (3) Adds a link to the libpq docs in the vacuumdb ref page. Neil Conway
2003-08-17There is a misstatement in the CLOSE reference page, now that weBruce Momjian
have cursors that might outlive their creating transactions. A patch is attached that fixes this (suggestions on better wording are welcome). Neil Conway
2003-08-17The attached patch adds some clarification to the documentation of theBruce Momjian
binary format read/created by COPY BINARY. It also mentions the contrib/binarycopy module. Lee Kindness.
2003-08-02Remove docs that say psql \encoding doesn't track SET client_encoding.Bruce Momjian
2003-07-29Apply (a somewhat revised version of) Greg Mullane's patch to eliminateTom Lane
heuristic determination of day vs month in date/time input. Add the ability to specify that input is interpreted as yy-mm-dd order (which formerly worked, but only for yy greater than 31). DateStyle's input component now has the preferred spellings DMY, MDY, or YMD; the older keywords European and US are now aliases for the first two of these. Per recent discussions on pgsql-general.
2003-07-28Rename psql's VERBOSE variable to VERBOSITY, per suggestion from Bruce.Tom Lane
2003-07-27here are the patches for psql on Win32:Bruce Momjian
psql4win32.patch - changes in the psql source code psql-ref.patch - changes in the documentation psql-ref.sgml (for new builtin variable WIN32_CONSOLE) To apply them use "patch -p 1" in the root directory of the postgres source directory. These patches fix the following problems of psql on Win32 (all changes only have effect #ifdef WIN32): a) Problem: Static library libpq.a did not work Solution: Added WSAStartup() in fe-connect.c b) Problem: Secret Password was echoed by psql Solution: Password echoing disabled in sprompt.c c) Problem: 8bit characters were displayed/interpreted wrong in psql This is due to the fact that the Win32 "console" uses a different encoding than the rest of the Windows system Solution: Introduced a new psql variable WIN32_CONSOLE When set with "\set WIN32_console", the function OemToChar() is applied after reading input and CharToOem() before displaying Output Christoph Dalitz
2003-07-23Just a spot of copy-editing.Tom Lane
2003-07-17Make EXTRACT(TIMEZONE) and SET/SHOW TIMEZONE follow the SQL conventionTom Lane
for the sign of timezone offsets, ie, positive is east from UTC. These were previously out of step with other operations that accept or show timezones, such as I/O of timestamptz values.
2003-07-15Cause SHOW DATESTYLE to produce a string that will be accepted by SETTom Lane
DATESTYLE, for instance 'SQL, European' instead of 'SQL with European conventions'. Per gripe a month or two back from Barry Lind.
2003-07-03Code review for UPDATE tab SET col = DEFAULT patch ... whack it aroundTom Lane
so it has some chance of working in rules ...
2003-07-01Change EXECUTE INTO to CREATE TABLE AS EXECUTE.Peter Eisentraut
2003-06-28Update psql for some features of new FE/BE protocol. There is aTom Lane
client-side AUTOCOMMIT mode now: '\set AUTOCOMMIT off' supports SQL-spec commit behavior. Get rid of LO_TRANSACTION hack --- the LO operations just work now, using libpq's ability to track the transaction status. Add a VERBOSE variable to control verboseness of error message display, and add a %T prompt-string code to show current transaction-block status. Superuser state display in the prompt string correctly follows SET SESSION AUTHORIZATION commands. Control-C works to get out of COPY IN state.
2003-06-27Add is_superuser parameter reporting, soon to be used by psql.Tom Lane
2003-06-27First batch of object rename commands.Peter Eisentraut
2003-06-25UPDATE ... SET <col> = DEFAULTBruce Momjian
Rod Taylor
2003-06-24Most of the synopsis areas for DROP commands use "name" as theBruce Momjian
identifier, while some areas do not. The attached converts be below to "name": conversion_name index_name The below have an existing, initdb supplied, entity named "name". As such, it could be confusing for the reader to see that identifier used in the example. domainname typename Rod Taylor