- 12 Apr, 2004 2 commits
-
-
Bruce Momjian authored
Add pstdin/pstdout to read from psql's stdin/stdout. BACKWARD INCOMPATIBLE CHANGE
-
Bruce Momjian authored
> > pronouns and formatting in the Russian FAQ. Serguei Mokhov
-
- 11 Apr, 2004 1 commit
-
-
Bruce Momjian authored
calling proc_exit() directly. This should make SIGTERM more reliable.
-
- 10 Apr, 2004 1 commit
-
-
Bruce Momjian authored
"millennium" date part implementation in postgresql, both in the code and the documentation, so that it conforms to the official definition. If you do not agree with the official definition, please send your complaint to "pope@vatican.org". I'm not responsible for them;-) With the previous version, the centuries and millenniums had a wrong number and started the wrong year. Moreover century number 0, which does not exist in reality, lasted 200 years. Also, millennium number 0 lasted 2000 years. If you want postgresql to have it's own definition of "century" and "millennium" that does not conform to the one of the society, just give them another name. I would suggest "pgCENTURY" and "pgMILLENNIUM";-) IMO, if someone may use the options, it means that postgresql is used for historical data, so it make sense to have an historical definition. Also, I just want to divide the year by 100 or 1000, I can do that quite easily. BACKWARD INCOMPATIBLE CHANGE Fabien Coelho - coelho@cri.ensmp.fr
-
- 09 Apr, 2004 3 commits
-
-
Bruce Momjian authored
gborg.
-
Dennis Bjorklund authored
-
Dennis Bjorklund authored
-
- 08 Apr, 2004 1 commit
-
-
Bruce Momjian authored
so remove regression result map line: horology/win32=horology-no-DST-before-1970
-
- 07 Apr, 2004 14 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
< * Allow LOCALE on a per-column basis, default to ASCII > * Allow locale to be set at database creation > * Allow locale on a per-column basis, default to ASCII > * Optimize locale to have minimal performance impact when not used (Peter E) 105d106 < * Optimize locale to have minimal performance impact when not used (Peter E) 111d111 < * Allow locale to be set at database creation
-
Bruce Momjian authored
crash with debug in log_statement patch.
-
Tom Lane authored
Per example from Jiang Wei.
-
Bruce Momjian authored
> * Allow locale to be set at database creation
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Tom Lane authored
by the set operation, so that redundant sorts at higher levels can be avoided. This was foreseen a good while back, but not done. Per request from Karel Zak.
-
Tom Lane authored
causing it to fail to recognize the output ordering of subqueries that contain set operations (UNION/INTERSECT/EXPECT). Per example from Karel Zak.
-
Bruce Momjian authored
> * -Allow logging of only data definition(DDL), or DDL and modification statements Add: > * Add a session mode to warn about non-standard SQL usage
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
> >>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.
-
- 06 Apr, 2004 5 commits
-
-
Tom Lane authored
That particular corner case is not exactly compelling, but given 7.4's ability to discard redundant join clauses, it is possible for the situation to arise from queries that are not so obviously silly. Per bug report of 6-Apr-04.
-
Tom Lane authored
equal to the desired restart value (must clear is_called, did not). Per bug report #1127 from Piotr Konieczny.
-
Bruce Momjian authored
-
Bruce Momjian authored
the COPY NULL string: test=> copy pg_language to '/tmp/x' with delimiter '|'; COPY test=> copy pg_language to '/tmp/x' with delimiter '|' null '|x'; ERROR: COPY delimiter must not appear in the NULL specification test=> copy pg_language from '/tmp/x' with delimiter '|' null '|x'; ERROR: COPY delimiter must not appear in the NULL specification It also throws an error if it conflicts with the default NULL string: test=> copy pg_language to '/tmp/x' with delimiter '\\'; ERROR: COPY delimiter must not appear in the NULL specification test=> copy pg_language to '/tmp/x' with delimiter '\\' NULL 'x'; COPY
-
Bruce Momjian authored
-
- 05 Apr, 2004 12 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
sched_yield is a requirement for the test but not for our PostgreSQL code, so if it causes a portability problem, we will remove it.
-
Peter Eisentraut authored
-
Peter Eisentraut authored
-
Bruce Momjian authored
exiting.
-
Bruce Momjian authored
be built under VC++. Moves a pgstat win32 #def to port.h Claudio Natoli
-
Bruce Momjian authored
#ifdef NOT_USED code, and adds a new TBLOCK state which signals the fact that StartTransaction() has been executed. Alvaro Herrera
-
Bruce Momjian authored
Fabien COELHO
-
Bruce Momjian authored
variable to control logoutput location on Unix and Win32. Magnus Hagander
-
Bruce Momjian authored
handle new postgresql.conf values with SIGHUP better by better enforcing USERLIMIT settings on existing non-super-user backends.
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 04 Apr, 2004 1 commit
-
-
Bruce Momjian authored
rather than slashdot.org for testing.
-