Tom Lane
5ae5e3bfe6
Check that aggregate creator has the right to execute the transition
...
functions of the aggregate, at both aggregate creation and execution times.
2005-01-27 23:42:18 +00:00
Neil Conway
f76730e35a
Small patch to move get_grosysid() from catalog/aclchk.c to
...
utils/cache/lsyscache.c where it can be used by other things. Also
cleans up both get_usesysid() and get_grosysid() a bit. From Stephen
Frost.
2005-01-27 23:36:15 +00:00
Neil Conway
a885ecd6ef
Change heap_modifytuple() to require a TupleDesc rather than a
...
Relation. Patch from Alvaro Herrera, minor editorializing by
Neil Conway.
2005-01-27 23:24:11 +00:00
Neil Conway
ffaaf27eb4
Provide a more descriptive error message when the return type of an SRF
...
does not match what the query expected. From Brendan Jurd, minor
editorializing by Neil Conway.
2005-01-27 06:36:42 +00:00
Tom Lane
f07b9689c9
Generalize TRUNCATE to support truncating multiple tables in one
...
command. This is useful because we can allow truncation of tables
referenced by foreign keys, so long as the referencing table is
truncated in the same command.
Alvaro Herrera
2005-01-27 03:19:37 +00:00
Neil Conway
4fe201237f
Add regression tests for recent cursor/savepoint bug fixed by Alvaro and
...
Tom.
2005-01-27 01:32:00 +00:00
Tom Lane
aba691b728
Close all cursors created during a failed subtransaction. This is needed
...
to avoid problems when a cursor depends on objects created or changed in
the same subtransaction. We'd like to do better someday, but this seems
the only workable answer for 8.0.1.
2005-01-26 23:20:21 +00:00
Tom Lane
bf7737a938
On Windows, set the postmaster executable's stack size to 4MB, so that
...
it agrees with the default value of max_stack_depth.
2005-01-26 21:55:26 +00:00
Tom Lane
7969649bd5
Minor tweak to avoid unnecessary memory bloat when dumping extremely wide
...
column values in -d mode. Per report from Marty Scholes. This doesn't
completely solve the issue, because we still need multiple copies of the
field value, but at least one copy can be got rid of painlessly ...
2005-01-26 21:24:12 +00:00
Tom Lane
9d58b9645e
Make pg_dump and pg_restore handle binary archive formats correctly
...
when using stdout/stdin on Windows.
2005-01-26 19:44:43 +00:00
Tom Lane
889f038129
Use SHGetFolderPath instead of SHGetSpecialFolderPath to find the
...
APPDATA directory on Windows. Magnus Hagander
2005-01-26 19:24:03 +00:00
Tom Lane
fd5437c78b
Fix breakage created by addition of separate 'acl pass' in pg_dump.
...
Also clean up incredibly poor style in TocIDRequired() usage.
2005-01-25 22:44:31 +00:00
Peter Eisentraut
5ca9687fe4
Add missing "ko".
2005-01-25 17:32:00 +00:00
Michael Meskes
d314616d12
Fixed segfault due to freeing a struct definition twice if it was a named struct used in a typedef.
2005-01-25 12:51:31 +00:00
Neil Conway
4405e74355
Regression tests for recent bugfix to ALTER TABLE ADD COLUMN: ensure that
...
constraints on domain types are properly enforced, even if the newly
added column has no default value. Per bug #1433 .
2005-01-25 03:22:19 +00:00
Tom Lane
beaf5ae623
Fix ALTER TABLE ADD COLUMN so that constraints of domain types are
...
enforced properly when there is no explicit default value for the new
column. Per report from Craig Perras.
2005-01-24 23:21:57 +00:00
Tom Lane
ad538d8bcd
Disallow LOAD to non-superusers. Per report from John Heasman.
2005-01-24 17:46:16 +00:00
Tom Lane
0ffe9f7946
Fix memory leak in rtdosplit, per report from Clive Page.
2005-01-24 02:47:26 +00:00
Bruce Momjian
0960dc2293
Document why CREATE CONSTRAINT TRIGGER doesn't tab complete.
2005-01-23 15:58:50 +00:00
Tom Lane
94e4778a31
The result of a FULL or RIGHT join can't be assumed to be sorted by the
...
left input's sorting, because null rows may be inserted at various points.
Per report from Ferenc Lutischá¸n.
2005-01-23 02:21:36 +00:00
Bruce Momjian
d08889aa8b
Add tools/find_gt_lt to find < and > in SGML source.
...
Lowercase some uppercase tags so tools is more reliable at finding
problems.
2005-01-23 00:30:59 +00:00
Tom Lane
bdbfd343a2
pg_dump dumped the wrong tablespace for an index (ie, the parent table's
...
tablespace instead of the index's own), except when the index was created
as a constraint. Report and fix by Tanida Yutaka.
2005-01-23 00:30:26 +00:00
Tom Lane
3e2e58ba37
New routine _getObjectDescription() failed to cope with some aspects of
...
pre-7.3 pg_dump archive files: namespace isn't there, and in some cases
te->tag may already be quotified. Per report from Alan Pevec and
followup testing.
2005-01-23 00:03:54 +00:00
Bruce Momjian
112654c72c
Mention issue with < and > in docs.
2005-01-22 23:39:21 +00:00
Neil Conway
5df3fc67a7
This patch updates the regression tests to allow "make installcheck" to
...
pass if "default_with_oids" is set to false. I took the approach of
explicitly adding WITH OIDS to the CREATE TABLEs where necessary, rather
than tweaking the default_with_oids GUC var.
2005-01-22 05:12:33 +00:00
Neil Conway
fa471dac02
Trivial fix: remove some stray leading whitespace.
2005-01-20 22:54:57 +00:00
Neil Conway
a341a96c01
Refactor transformExpr() by creating separate functions for most of the
...
expression types.
2005-01-19 23:45:24 +00:00
Neil Conway
d600c1db7a
Add some basic regression tests for refcursors in PL/PgSQL.
2005-01-19 04:32:40 +00:00
Neil Conway
b4297c177c
This patch makes some improvements to the rtree index implementation:
...
(1) Keep a pin on the scan's current buffer and mark buffer. This
avoids the need to do a ReadBuffer() for each tuple produced by the
scan. Since ReadBuffer() is expensive, this is a significant win.
(2) Convert a ReleaseBuffer(); ReadBuffer() pair into
ReleaseAndReadBuffer(). Surely not a huge win, but it saves a lock
acquire/release...
(3) Remove a bunch of duplicated code in rtget.c; make rtnext() handle
both the "initial result" and "subsequent result" cases.
(4) Add support for index tuple killing
(5) Remove rtscancache(): it is dead code, for the same reason that
gistscancache() is dead code (an index scan ought not be invoked with
NoMovementScanDirection).
The end result is about a 10% improvement in rtree index scan perf,
according to contrib/rtree_gist/bench.
2005-01-18 23:25:55 +00:00
Neil Conway
1f5299bc3f
Replace the use of "0" with "NULL" where appropriate in dllist.c, for
...
good style and to satisfy sparse. From Alvaro Herrera.
2005-01-18 22:59:32 +00:00
Bruce Momjian
b4e7e9ad6f
Win32 8.1 stamp.
2005-01-18 14:39:46 +00:00
Bruce Momjian
31197bbdf5
Update version stamps for 8.1 as listed in RELEASE_CHANGES.
2005-01-18 05:00:35 +00:00
Peter Eisentraut
f87e5b295c
Translation updates
2005-01-17 21:21:18 +00:00
PostgreSQL Daemon
c22b7eccd3
its that time ... tag it for release
2005-01-17 20:47:10 +00:00
Peter Eisentraut
1723f1f7ae
Translation updates
2005-01-17 20:27:44 +00:00
Peter Eisentraut
bb60ef23ed
Translation updates
2005-01-17 14:55:34 +00:00
Peter Eisentraut
f099cb0ede
Translation updates
2005-01-17 10:00:06 +00:00
Peter Eisentraut
3332c0722d
Fix format string error.
2005-01-17 09:06:31 +00:00
Neil Conway
48e2bb13c9
This trivial patch adds a regression test for CASE expressions that use
...
an untyped literal in the CASE's test expression. This adds test
coverage for a bug that was fixed by Tom on January 12.
2005-01-17 03:39:37 +00:00
Peter Eisentraut
0d45116eb0
Translation updates
2005-01-17 03:09:08 +00:00
Peter Eisentraut
0be1166352
New translation
2005-01-17 03:05:37 +00:00
Peter Eisentraut
83ef003f2c
Translation updates
2005-01-17 02:41:50 +00:00
Tom Lane
299ae4356b
Adjust warning message about Windows console code page to point to
...
the right place in the docs, and gettext()ify it.
2005-01-15 05:43:06 +00:00
Tom Lane
7a6a7d57b4
pg_regress now needs to know that Windows hasn't got unix sockets,
...
per Andrew Dunstan. Also, don't override the user's value of PGHOST
in the 'make installcheck' case. I think the latter was an ill-considered
workaround for the Windows code back when libpq didn't properly default
to localhost on Unix-socket-less platforms.
2005-01-15 04:15:51 +00:00
Tom Lane
9fa1843454
postgres -boot would print the wrong program name in event of a
...
failure in SelectConfigFiles(). Cosmetic issue, but ...
2005-01-14 21:08:44 +00:00
Tom Lane
9d83358499
Update obsolete comment, per Alvaro.
2005-01-14 17:53:33 +00:00
Tom Lane
982e998064
Add missing gettext() calls in find_my_exec(). It's probably too late
...
to get these strings translated, but we may as well have them be
translatable as not.
2005-01-14 17:47:49 +00:00
Tom Lane
ce6e2fada0
plperl trigger handler tried to fetch new/old tuples even when fired
...
as a statement trigger :-(. Per report from Sokolov Yura.
2005-01-14 16:25:42 +00:00
Peter Eisentraut
75112d4b5d
Translation updates
2005-01-14 08:57:06 +00:00
Bruce Momjian
29e58330a6
Change Win32 client configuration files from *.txt to *.conf.
2005-01-14 00:25:56 +00:00