f5b78fa51f
Fix AfterTriggerExecute() to pass tg_trigtuple and tg_newtuple as NULLs
...
rather than pointers to garbage, when calling AFTER STATEMENT triggers.
Michael Fuhr
2006-08-03 16:04:41 +00:00
bc8ac3ce40
Add missing pgstat_count_index_scan(), per Andreas Seltenreich.
2006-08-03 15:22:09 +00:00
d841cc44c5
A few regression tests for VALUES, from Gavin Sherry.
2006-08-03 14:54:44 +00:00
4b8378a671
Removed compiler warnings
2006-08-03 14:50:11 +00:00
27458bb4fa
Applied test suite update by Joachim Wieland <joe@mcknight.de>.
2006-08-03 13:11:04 +00:00
961ec0ce9c
Move 'ddl' right after 'none' in postgresql.conf. It used to be between
...
'mod' and 'all', which is not the right order. SGML documentation order
was correct. Report from Chander Ganesan.
2006-08-02 21:48:43 +00:00
f1fa94a415
Fix logic to prevent pg_dump from dumping system schemas; bug introduced
...
in recent -t/-n/-T/-N patch.
Small style cleanups.
2006-08-02 21:43:43 +00:00
959aee5bbf
remove extraneous space after -L flag.
2006-08-02 19:02:34 +00:00
0dfb595d7a
Arrange for ValuesScan to keep per-sublist expression eval state in a
...
temporary context that can be reset when advancing to the next sublist.
This is faster and more thorough at recovering space than the previous
method; moreover it will do the right thing if something in the sublist
tries to register an expression context callback.
2006-08-02 18:58:21 +00:00
9649b182a1
Fix documentation error: GRANT/REVOKE for roles only accept role names
...
as grantees, not PUBLIC ... and you can't say GROUP either. Noted by
Brian Hurt.
2006-08-02 16:29:49 +00:00
efc861a842
And finally the Makefiles
2006-08-02 14:19:14 +00:00
e79aed7cba
Wups, got the test for contain_vars_of_level-not-needed wrong in
...
transformInsertStmt: the target table is already in p_rtable at that point.
2006-08-02 14:14:22 +00:00
1f0a6cd60c
Hopefully that's it. The remaining files for ecpg regression tests.
2006-08-02 14:14:04 +00:00
6392518c69
Add a HINT per suggestion from Michael Glaesemann. Also, tweak OLD/NEW
...
test to avoid expensive contain_vars_of_level() scan in the normal case
where we're not inside a rule.
2006-08-02 13:58:52 +00:00
b737f85e84
Some more regression test files
2006-08-02 13:53:45 +00:00
2682a4c01d
One more file to remove
2006-08-02 13:52:11 +00:00
36e8d4e780
Removed old test files
2006-08-02 13:51:32 +00:00
1fa6be6f69
ynced parser and keyword list.
...
Implemented EXEC SQL UNDEF.
Applied first version of the regression test patch by Joachim Wieland <joe@mcknight.de >.
2006-08-02 13:43:23 +00:00
97eefd6996
Update:
...
< o Add COPY TO STDIN / STDOUT handling
> o Add COPY TO STDIN handling
2006-08-02 13:36:45 +00:00
f05fc17cf4
Add:
...
> o In rules, allow VALUES() to contain a mixture of 'old' and 'new'
> references
2006-08-02 13:29:54 +00:00
b5a5524342
Done:
...
o -Allow INSERT INTO tab (col1, ..) VALUES (val1, ..), (val2, ..)
2006-08-02 03:11:54 +00:00
9caafda579
Add support for multi-row VALUES clauses as part of INSERT statements
...
(e.g. "INSERT ... VALUES (...), (...), ...") and elsewhere as allowed
by the spec. (e.g. similar to a FROM clause subselect). initdb required.
Joe Conway and Tom Lane.
2006-08-02 01:59:48 +00:00
d307c428cb
Fix bug I introduced while cleaning up pg_dump -t/-n patch.
2006-08-01 21:05:00 +00:00
5f69890e15
Editorialize a bit on the recent patch, reverting to the original versions
...
of the text where appropiate.
2006-08-01 19:17:18 +00:00
2c6d96cef6
Add support for loadable modules to allocated shared memory and
...
lightweight locks.
Marc Munro
2006-08-01 19:03:11 +00:00
c61607bd52
Add pg_dump -X no-data-for-failed-tables option to suppress loading data
...
if table creation failed (the table already exists).
Martin Pitt
2006-08-01 18:21:44 +00:00
6d0f5ea574
Done:
...
< o %Allow pg_dump to use multiple -t and -n switches [pg_dump]
<
< http://archives.postgresql.org/pgsql-patches/2006-01/msg00190.php
<
> o -Allow pg_dump to use multiple -t and -n switches, exclusion
> ability, and regular expression object matching
2006-08-01 18:07:36 +00:00
aa88497a3a
Remove TODO.detail/pg_dump.
2006-08-01 18:06:27 +00:00
8977b68a42
Allow multiple -n (schema) and -t (table) pg_dump options, and add -T
...
and -N options to exclude objects. Also support regular expressions for
option object names.
Greg Sabino Mullane
2006-08-01 18:05:04 +00:00
9a4eaa9440
Remove extra argument to printf().
2006-08-01 18:01:36 +00:00
a3bae60813
have pg_regress fall back on testing with the canonical results file if an
...
alternative test is specified but none succeeds.
2006-08-01 14:56:29 +00:00
8d5f3c8d89
Improvements to Maintenance and External Projects documentation.
...
Joshua D. Drake
Robert Treat
2006-08-01 00:09:06 +00:00
ffb62be07a
Add:
...
> * Consider compressed annealing to search for query plans
>
> This might replace GEQO, http://sixdemonbag.org/Djinni .
2006-07-31 23:04:13 +00:00
09d3670df3
Change the relation_open protocol so that we obtain lock on a relation
...
(table or index) before trying to open its relcache entry. This fixes
race conditions in which someone else commits a change to the relation's
catalog entries while we are in process of doing relcache load. Problems
of that ilk have been reported sporadically for years, but it was not
really practical to fix until recently --- for instance, the recent
addition of WAL-log support for in-place updates helped.
Along the way, remove pg_am.amconcurrent: all AMs are now expected to support
concurrent update.
2006-07-31 20:09:10 +00:00
4cd72b53b9
Added missing ECPGget_sqlca() call
2006-07-31 13:26:46 +00:00
c1c9b7c0c0
First small patches needed for regression tests
2006-07-31 10:15:31 +00:00
68dfef040b
Fix memory allocation bug in pgbench.
...
patches submitted by ITAGAKI Takahiro.
2006-07-31 05:15:14 +00:00
6e38e34d64
Change the bootstrap sequence so that toast tables for system catalogs are
...
created in the bootstrap phase proper, rather than added after-the-fact
by initdb. This is cleaner than before because it allows us to retire the
undocumented ALTER TABLE ... CREATE TOAST TABLE command, but the real reason
I'm doing it is so that toast tables of shared catalogs will now have
predetermined OIDs. This will allow a reasonably clean solution to the
problem of locking tables before we load their relcache entries, to appear
in a forthcoming patch.
2006-07-31 01:16:38 +00:00
638860ce35
Fix confusion between COPY FROM and COPY TO, per Gavin Sharry and Arul Shaji.
2006-07-31 01:10:56 +00:00
8822263635
Fix a couple of comments.
2006-07-30 20:17:11 +00:00
0bee536ad8
Replaced $Header$ by $§PosgreSQL$
2006-07-30 16:28:58 +00:00
cdf131abac
Added missing $Header$ entries.
2006-07-30 10:24:10 +00:00
92c2ecc130
Modify snapshot definition so that lazy vacuums are ignored by other
...
vacuums. This allows a OLTP-like system with big tables to continue
regular vacuuming on small-but-frequently-updated tables while the
big tables are being vacuumed.
Original patch from Hannu Krossing, rewritten by Tom Lane and updated
by me.
2006-07-30 02:07:18 +00:00
d6603791ea
Add:
...
> * Consider detoasting keys before sorting
2006-07-30 01:48:40 +00:00
1a271f0c71
Fix WIN32 wait() return value macros to be accurate, particularly
...
because they are used for testing the return value from system().
(WIN32 doesn't overlay the return code with other failure conditions
like Unix does, so they are just simple macros.)
Fix regression checks to properly handle diff failures on Win32 using
the new macros.
2006-07-30 01:45:21 +00:00
497d39d768
prevent multiplexing Windows kernel event objects we listen for across various sockets - should fix the occasional stats test regression failures we see.
2006-07-29 19:55:18 +00:00
6dd2b7728b
Add entry:
...
> * Add column to pg_stat_activity that shows the progress of long-running
> commands like CREATE INDEX and VACUUM
2006-07-29 18:08:36 +00:00
e5ac3d4343
Don't use #include <crtdefs.h> for MSVC <= 1400.
...
Hiroshi Saito
2006-07-29 17:35:07 +00:00
d06f44a811
Add:
...
> * Add support for SQL-standard GENERATED/IDENTITY columns
>
> http://archives.postgresql.org/pgsql-hackers/2006-07/msg00543.php
2006-07-29 15:56:32 +00:00
b554cb75bf
Add #include postgres_fe.h in two win32-specific files, because there is
...
pg-specific code in those files, or might be some day.
2006-07-29 15:22:27 +00:00