Michael Meskes
efc861a842
And finally the Makefiles
2006-08-02 14:19:14 +00:00
Tom Lane
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
Michael Meskes
1f0a6cd60c
Hopefully that's it. The remaining files for ecpg regression tests.
2006-08-02 14:14:04 +00:00
Tom Lane
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
Michael Meskes
b737f85e84
Some more regression test files
2006-08-02 13:53:45 +00:00
Michael Meskes
2682a4c01d
One more file to remove
2006-08-02 13:52:11 +00:00
Michael Meskes
36e8d4e780
Removed old test files
2006-08-02 13:51:32 +00:00
Michael Meskes
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
Bruce Momjian
97eefd6996
Update:
...
< o Add COPY TO STDIN / STDOUT handling
> o Add COPY TO STDIN handling
2006-08-02 13:36:45 +00:00
Bruce Momjian
f05fc17cf4
Add:
...
> o In rules, allow VALUES() to contain a mixture of 'old' and 'new'
> references
2006-08-02 13:29:54 +00:00
Bruce Momjian
b5a5524342
Done:
...
o -Allow INSERT INTO tab (col1, ..) VALUES (val1, ..), (val2, ..)
2006-08-02 03:11:54 +00:00
Joe Conway
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
Bruce Momjian
d307c428cb
Fix bug I introduced while cleaning up pg_dump -t/-n patch.
2006-08-01 21:05:00 +00:00
Alvaro Herrera
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
Bruce Momjian
2c6d96cef6
Add support for loadable modules to allocated shared memory and
...
lightweight locks.
Marc Munro
2006-08-01 19:03:11 +00:00
Bruce Momjian
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
Bruce Momjian
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
Bruce Momjian
aa88497a3a
Remove TODO.detail/pg_dump.
2006-08-01 18:06:27 +00:00
Bruce Momjian
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
Bruce Momjian
9a4eaa9440
Remove extra argument to printf().
2006-08-01 18:01:36 +00:00
Andrew Dunstan
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
Bruce Momjian
8d5f3c8d89
Improvements to Maintenance and External Projects documentation.
...
Joshua D. Drake
Robert Treat
2006-08-01 00:09:06 +00:00
Bruce Momjian
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
Tom Lane
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
Michael Meskes
4cd72b53b9
Added missing ECPGget_sqlca() call
2006-07-31 13:26:46 +00:00
Michael Meskes
c1c9b7c0c0
First small patches needed for regression tests
2006-07-31 10:15:31 +00:00
Tatsuo Ishii
68dfef040b
Fix memory allocation bug in pgbench.
...
patches submitted by ITAGAKI Takahiro.
2006-07-31 05:15:14 +00:00
Tom Lane
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
Alvaro Herrera
638860ce35
Fix confusion between COPY FROM and COPY TO, per Gavin Sharry and Arul Shaji.
2006-07-31 01:10:56 +00:00
Tom Lane
8822263635
Fix a couple of comments.
2006-07-30 20:17:11 +00:00
Michael Meskes
0bee536ad8
Replaced $Header$ by $§PosgreSQL$
2006-07-30 16:28:58 +00:00
Michael Meskes
cdf131abac
Added missing $Header$ entries.
2006-07-30 10:24:10 +00:00
Alvaro Herrera
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
Bruce Momjian
d6603791ea
Add:
...
> * Consider detoasting keys before sorting
2006-07-30 01:48:40 +00:00
Bruce Momjian
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
Andrew Dunstan
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
Bruce Momjian
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
Bruce Momjian
e5ac3d4343
Don't use #include <crtdefs.h> for MSVC <= 1400.
...
Hiroshi Saito
2006-07-29 17:35:07 +00:00
Bruce Momjian
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
Bruce Momjian
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
Tom Lane
033a477e9e
Adjust initialization sequence for timezone_abbreviations so that
...
it's handled just about like timezone; in particular, don't try
to read anything during InitializeGUCOptions. Should solve current
startup failure on Windows, and avoid wasted cycles if a nondefault
setting is specified in postgresql.conf too. Possibly we need to
think about a more general solution for handling 'expensive to set'
GUC options.
2006-07-29 03:02:56 +00:00
Tatsuo Ishii
46d9c2ec8f
Change the delta val from 0 and 10000 to -5000 and 5000 per recent
...
discussion in hackers list. Also enhance predefined benchmark
scenarios to reflect the scaling factor parameter flexibly.
2006-07-28 22:58:26 +00:00
Bruce Momjian
51175d1d00
Remove update TODO.detail item.
2006-07-28 19:28:08 +00:00
Bruce Momjian
e1992ebaf2
Updates per Tom:
...
> * Allow DISTINCT to work in multiple-argument aggregate calls
< o Allow UPDATE to handle complex aggregates [update]?
2006-07-28 19:00:45 +00:00
Tom Lane
1249cf8f38
SQL2003-standard statistical aggregates, by Sergey Koposov. I've added only
...
the float8 versions of the aggregates, which is all that the standard requires.
Sergey's original patch also provided versions using numeric arithmetic,
but given the size and slowness of the code, I doubt we ought to include
those in core.
2006-07-28 18:33:04 +00:00
Tom Lane
0fd087af83
Fix table title.
2006-07-28 16:21:57 +00:00
Tom Lane
b8cd6b4f25
Make it clearer that not every Postgres character set can be used as a
...
server-side character set.
2006-07-28 15:33:17 +00:00
Bruce Momjian
4917564f1b
Update Tatsuo:
...
< * Tatsuo is Tatsuo Ishii <t-ishii@sra.co.jp> of Software Research Assoc.
> * Tatsuo is Tatsuo Ishii <ishii@sraoss.co.jp> of SRA OSS, Inc. Japan
2006-07-28 12:24:07 +00:00
Michael Meskes
76475a7eb5
Variables should be free'ed only once.
2006-07-28 11:49:36 +00:00
Michael Meskes
a27cb17788
Removed superfluous comment
2006-07-28 10:12:56 +00:00