summaryrefslogtreecommitdiff
path: root/doc/src
AgeCommit message (Collapse)Author
2004-04-07Add SQL 2003 standards.Bruce Momjian
2004-04-07Remove bad URL.Bruce Momjian
2004-04-07Update FAQ_DEV.Bruce Momjian
2004-04-07> >>1. change the type of "log_statement" option from boolean to string,Bruce Momjian
> >>with allowed values of "all, mod, ddl, none" with default "none". OK, here is a patch that implements #1. Here is sample output: test=> set client_min_messages = 'log'; SET test=> set log_statement = 'mod'; SET test=> select 1; ?column? ---------- 1 (1 row) test=> update test set x=1; LOG: statement: update test set x=1; ERROR: relation "test" does not exist test=> update test set x=1; LOG: statement: update test set x=1; ERROR: relation "test" does not exist test=> copy test from '/tmp/x'; LOG: statement: copy test from '/tmp/x'; ERROR: relation "test" does not exist test=> copy test to '/tmp/x'; ERROR: relation "test" does not exist test=> prepare xx as select 1; PREPARE test=> prepare xx as update x set y=1; LOG: statement: prepare xx as update x set y=1; ERROR: relation "x" does not exist test=> explain analyze select 1;; QUERY PLAN ------------------------------------------------------------------------------------ Result (cost=0.00..0.01 rows=1 width=0) (actual time=0.006..0.007 rows=1 loops=1) Total runtime: 0.046 ms (2 rows) test=> explain analyze update test set x=1; LOG: statement: explain analyze update test set x=1; ERROR: relation "test" does not exist test=> explain update test set x=1; ERROR: relation "test" does not exist It checks PREPARE and EXECUTE ANALYZE too. The log_statement values are 'none', 'mod', 'ddl', and 'all'. For 'all', it prints before the query is parsed, and for ddl/mod, it does it right after parsing using the node tag (or command tag for CREATE/ALTER/DROP), so any non-parse errors will print after the log line.
2004-04-05Remove 'syslog' GUC variable, and add more logical 'log_destination'Bruce Momjian
variable to control logoutput location on Unix and Win32. Magnus Hagander
2004-04-01Replace TupleTableSlot convention for whole-row variables and functionTom Lane
results with tuples as ordinary varlena Datums. This commit does not in itself do much for us, except eliminate the horrid memory leak associated with evaluation of whole-row variables. However, it lays the groundwork for allowing composite types as table columns, and perhaps some other useful features as well. Per my proposal of a few days ago.
2004-03-31Add description of log_statement_stats's function (total statement statsBruce Momjian
rather than per-stage stats).
2004-03-31Back out tutorial changes:Bruce Momjian
--------------------------------------------------------------------------- 1. In keeping with the recent discussion that there should be more said about views, stored procedures, and triggers, in the tutorial, I have added a bit of verbiage to that end. 2. Some formatting changes to the datetime discussion, as well as addition of a citation of a relevant book on calendars. Christopher Browne
2004-03-30Fix markup errors from recent patch.Bruce Momjian
2004-03-301. In keeping with the recent discussion that there should be moreBruce Momjian
said about views, stored procedures, and triggers, in the tutorial, I have added a bit of verbiage to that end. 2. Some formatting changes to the datetime discussion, as well as addition of a citation of a relevant book on calendars. Christopher Browne
2004-03-30Add mention of how to use \df to find functions using/returning specificBruce Momjian
data types.
2004-03-30Fix to_char for 1 BC. Previously it returned 1 AD.Bruce Momjian
Fix to_char(year) for BC dates. Previously it returned one less than the current year. Add documentation mentioning that there is no 0 AD.
2004-03-29Update FAQ from Robert TreatBruce Momjian
2004-03-26More cross-reference work, other minor SGML fixes and improvements.Neil Conway
2004-03-25Convert some GUC variable references to links.Tom Lane
2004-03-24Replace max_expr_depth parameter with a max_stack_depth parameter thatTom Lane
is measured in kilobytes and checked against actual physical execution stack depth, as per my proposal of 30-Dec. This gives us a fairly bulletproof defense against crashing due to runaway recursive functions.
2004-03-24Make a cross-reference in the ALTER TABLE ref page into a <xref>.Neil Conway
2004-03-24Fix a minor typo in the log_line_prefix docs and make a couple otherNeil Conway
tiny improvements.
2004-03-24Add thread locking to SSL and Kerberos connections.Bruce Momjian
I have removed the docs mentioning that SSL and Kerberos are not thread-safe. Manfred Spraul
2004-03-24Document fallback to tcp/ip localhost connection from psql on portsBruce Momjian
without unix domain sockets (win32).
2004-03-23PQresult should be PGresult.Tom Lane
2004-03-23Fix small typo.Tom Lane
2004-03-23Repair misleading description of MOVE's command tag result.Tom Lane
2004-03-23Use dollar-quoting for function bodies, unless disabled withTom Lane
--disable-dollar-quoting. Andrew Dunstan
2004-03-23Upgrade ALTER TABLE DROP COLUMN so that it can drop an OID column, andTom Lane
remove separate implementation of ALTER TABLE SET WITHOUT OIDS in favor of doing a regular DROP. Also, cause CREATE TABLE to account completely correctly for the inheritance status of the OID column. This fixes problems with dropping OID columns that have dependencies, as noted by Christopher Kings-Lynne, as well as making sure that you can't drop an OID column that was inherited from a parent.
2004-03-23Minor SGML improvements.Neil Conway
2004-03-23Fix typo in postmaster reference page: from Tom.Neil Conway
2004-03-23Improve the locale and character set docs, add some <xref>s pointingNeil Conway
to the character set docs where appropriate, and improve the postmaster reference page. Character set cross-refs suggested by Gavin Kistner.
2004-03-23Replace the virtual_host and tcpip_socket parameters with a unifiedTom Lane
listen_addresses parameter, as per recent discussion. The default behavior is now to listen on localhost, which eliminates the need for the -i postmaster switch in many scenarios. Andrew Dunstan
2004-03-22Clean up rather poor description of the difference between INHERITS andTom Lane
LIKE. Per gripe from Patrick Samson.
2004-03-22I just noticed that \dp outputs "Table" to indicate relations (tables,Bruce Momjian
sequences and views). This patch allows it to handle views and sequences. Euler Taveira de Oliveira
2004-03-21Revise syntax-error reporting behavior to give pleasant results forTom Lane
errors in internally-generated queries, such as those submitted by plpgsql functions. Per recent discussions with Fabien Coelho.
2004-03-19Add a usage example for has_function_privilege().Tom Lane
2004-03-17Document SPI_push() and SPI_pop().Bruce Momjian
2004-03-15log_statement was not removed by the previous patch. It only updatedBruce Momjian
its description.
2004-03-15Update random regression test text to be clearer.Bruce Momjian
2004-03-15Update random test description because it fails less frequently now.Bruce Momjian
2004-03-15Remove GUC log_statement, log_pid, log_timestamp, log_source_port.Bruce Momjian
Functionality superceeded by log_line_prefix. Andrew Dunstan
2004-03-15Fix typo.Bruce Momjian
2004-03-15Mention Linux syslog will sync lines to disk, and describe how toBruce Momjian
disable it.
2004-03-12Update FAQ with current release version.Bruce Momjian
2004-03-12Update Russian FAQ, Viktor VislobokovBruce Momjian
2004-03-12Fix a typo in the documentation for geqo_effort.Neil Conway
2004-03-12Improve documentation for the newly-added NOWAIT clause of LOCK TABLE.Neil Conway
2004-03-12Allow 'Infinity' and '-Infinity' as input to the float4 and float8Neil Conway
types. Update the regression tests and the documentation to reflect this. Remove the UNSAFE_FLOATS #ifdef. This is only half the story: we still unconditionally reject floating point operations that result in +/- infinity. See recent thread on -hackers for more information.
2004-03-11Document the SSL and Kerberos are not thread-safe.Bruce Momjian
2004-03-11Add NOWAIT option to LOCK commandTatsuo Ishii
2004-03-10Fix a typo.Neil Conway
2004-03-09Tweak some text to avoid using <command>SET</command> as a verb, perNeil Conway
suggestion from Peter E.
2004-03-09Remove blank line in Makefile.Bruce Momjian