Tom Lane
663c8295a8
Adjust rules output for unknown-vs-any change (affects expected contents
...
of pg_stats view definition).
2003-12-18 01:48:59 +00:00
Tom Lane
1e2883a115
information_schema.constraint_column_usage and key_column_usage should
...
not discriminate against system columns, since we support constraints on
system columns, and in fact constraints on OID are moderately useful.
2003-12-17 22:11:42 +00:00
Tom Lane
1ba505dce1
Fix DecodeInterval to handle '-0.1' sanely, per gripe from Tilo Schwarz.
2003-12-17 21:45:51 +00:00
Tom Lane
f79c36fc6f
Repair badly broken estimation of output buffer size in lquery_out().
2003-12-17 20:15:53 +00:00
Tom Lane
5129070dfd
Reorder tests in parse_coerce so that ANY/ANYELEMENT/ANYARRAY coercion
...
does not affect UNKNOWN-type literals or Params. This fixes the recent
complaint about count('x') being broken, and improves consistency in
a few other respects too.
2003-12-17 19:49:52 +00:00
Tom Lane
ea27e96dd0
Repair planner failure when there are multiple IN clauses, each with
...
a join in its subselect. In this situation we *must* build a bushy
plan because there are no valid left-sided or right-sided join trees.
Accordingly, hoary sanity check needs an update. Per report from
Alessandro Depase.
2003-12-17 17:08:06 +00:00
Dave Cramer
0323e570af
back patching fix for compat 7.1 binary stream issues with the new protocol
...
added test for same
2003-12-17 15:48:40 +00:00
Michael Meskes
96cee3f12a
Applied all bug fixes from head also to 7.4. Just bugfixes, no new features.
2003-12-17 15:31:51 +00:00
Bruce Momjian
9c09764783
Restore information schema upgrade instructions of Peter.
2003-12-17 07:07:46 +00:00
Peter Eisentraut
0b00d7cd4a
Fix constraint_column_usage for foreign keys.
2003-12-16 14:56:34 +00:00
Peter Eisentraut
655eb600de
Repair name.
2003-12-16 09:46:12 +00:00
Bruce Momjian
009e072a3e
Mention ecpg SET CONNECTION is not thread-aware.
2003-12-16 01:06:51 +00:00
Peter Eisentraut
ce9c97e647
Override some of the changes in DocBook DSSSL stylesheets 1.78 to restore
...
previous behavior of <literal>, <envar>, <acronym>, and others.
2003-12-15 23:58:33 +00:00
Bruce Momjian
c8bcbde63e
Update INSTALL for 7.4.1.
2003-12-15 22:31:04 +00:00
Bruce Momjian
7bccfa101e
Update HISTORY and release notes for 7.4.1.
2003-12-15 22:25:29 +00:00
Bruce Momjian
679fed4aeb
Add Czech FAQ to 7.4.X branch.
2003-12-15 15:30:17 +00:00
Bruce Momjian
735614c1cf
Stamp 7.4.1.
...
Update 7.4.1 FAQ's to current.
2003-12-13 16:57:36 +00:00
Dave Cramer
dbc5177883
patch for returning database metadata as system objects from Kris Jurka
2003-12-13 00:59:19 +00:00
Dave Cramer
b47863bcd6
add missing SQLState by Patrick Higgins
2003-12-12 18:39:01 +00:00
Dave Cramer
2712da556a
cancel row updates sets values to null by Kris Jurka
2003-12-12 18:38:19 +00:00
Dave Cramer
31769dcb02
patch to indicate why test cases failed from Oliver Jowett
2003-12-12 18:37:06 +00:00
Dave Cramer
2fdcd1aaac
fix casting pooled connections to PGStatement problem patch by JariP
2003-12-12 18:06:25 +00:00
Dave Cramer
26c89c312b
patch to build under jdk1.1 from Richard Scranton
2003-12-12 17:59:08 +00:00
Dave Cramer
6a621cac4a
binary stream patch by Kris Jurka fixes empty stream failure
2003-12-12 00:27:41 +00:00
Dave Cramer
2b75042dbd
metadata encoding patch from Kris Jurka
2003-12-12 00:24:13 +00:00
Peter Eisentraut
235ab0442a
Fix instructions how to shut down postmaster.
2003-12-11 19:57:24 +00:00
Dave Cramer
cbc56dcc8d
patch for unique foreign keys and test case from Kris Jurka
2003-12-11 19:25:08 +00:00
Dave Cramer
f954ebf577
patch to make PSQLState serializable, and a test case for it
...
added a test case for getLastOID
2003-12-11 03:59:37 +00:00
Dave Cramer
3800626d81
incremented the build number to 210
2003-12-10 18:25:11 +00:00
Tom Lane
43d50ba4dd
query_tree_mutator should copy RangeTblEntry nodes even when it's not
...
planning to modify them itself. Otherwise we end up with shared RTE
substructure, which breaks inheritance_planner because the rte->inh
flag needs to be independent in each copied subquery. Per bug report
from Chris Piker.
2003-12-09 01:56:41 +00:00
Tom Lane
9edff888bd
Minor autovacuum fixes from Matthew O'Connor.
2003-12-08 21:54:05 +00:00
Tom Lane
2cfbbb1078
Add fflush() before sleeping, per Matthew O'Connor.
2003-12-08 21:51:37 +00:00
Tom Lane
1b1d2d5f31
Whole-row references were broken for subqueries and functions, because
...
attr_needed/attr_widths optimization failed to allow for Vars with attno
zero in this case. Per report from Tatsuo Ishii.
2003-12-08 18:20:10 +00:00
Tom Lane
1db8cd36d8
Replace unportable and overflow-prone use of 'long long' with safer
...
'double' arithmetic, per recent discussion.
2003-12-07 19:56:07 +00:00
Tom Lane
f3bc5ae452
Remove test on c.relkind from check_constraints view; unnecessary and
...
prevents view from showing constraints on domains. This addresses the
other half of Claus Colloseus' bug report.
2003-12-07 19:43:13 +00:00
Peter Eisentraut
d5130d2387
Fix typmod interpretation for bit types. (It was erroneously assumed that
...
for bit(x), the typmod stores x+4, like for the character types.)
2003-12-07 10:18:50 +00:00
Joe Conway
14ddc01eaf
Repair indexed bytea like operations, and related selectivity
...
functionality. Per bug report by Alvar Freude:
http://archives.postgresql.org/pgsql-bugs/2003-12/msg00022.php
2003-12-07 04:12:50 +00:00
Dave Cramer
1276e1ed8f
backpatch for driver threadsafe problems
2003-12-05 21:22:03 +00:00
Dave Cramer
dfaf736bc7
patch from Kris Jurka to allow the server end port to be specified when running
...
regression tests, this is a backpatch to 7.4
2003-12-05 21:06:12 +00:00
Tom Lane
88ae594bde
Guard against bug in Solaris' bsearch(), per Michael Wildpaner.
2003-12-05 15:50:39 +00:00
Teodor Sigaev
1a1485115e
One more fix confusion
2003-12-05 15:38:30 +00:00
Teodor Sigaev
84d2ed136c
Avoid confusion start_parse_str function with tsearch V1
2003-12-05 14:28:21 +00:00
Tom Lane
b255350864
Planner failed to be smart about binary-compatible expressions in pathkeys
...
and hash bucket-size estimation. Issue has been there awhile but is more
critical in 7.4 because it affects varchar columns. Per report from
Greg Stark.
2003-12-03 17:45:38 +00:00
Teodor Sigaev
be5a80739b
Fix for word with several infinitives
2003-12-03 16:06:59 +00:00
Tom Lane
ebe0cfd79e
Update release notes for 7.3.5.
2003-12-02 16:14:38 +00:00
Bruce Momjian
6fe6e33db6
The attached patch enables contrib/cube to build cleanly under Cygwin
...
(again). Please consider this patch for the 7.4.1 branch (if there
will be one) too.
Jason Tishler
2003-12-02 12:40:08 +00:00
Bruce Momjian
e16c318590
I've run across a pretty serious problem with pg_autovacuum.
...
pg_autovacuum looses track of any table that's ever been truncated
(possibly other situations too). When i truncate a table it gets a
new relfilenode in pg_class. This is a problem because pg_autovacuum
assumes pg_class.relfilenode will join to pg_stats_all_tables.relid.
pg_stats_all_tables.relid is actallly the oid from pg_class, not the
relfilenode. These two values start out equal so pg_autovacuum works
initially, but it fails later on because of this incorrect assumption.
This patch fixes that problem. Applied to HEAD and 7.4.X.
Brian Hirt
2003-12-01 23:19:54 +00:00
Bruce Momjian
0bdc0a6d33
I noticed in the 7.4 release that in contrib/pg_autovacuum, args->logfile is
...
not initialized if a log file is not specified on the command line. This
causes an immediate segfault on systems that fill allocated memory with some
value other than zero (my FreeBSD machine uses 0xD0).
Several crashes later I discovered that args->user, password, host, and port
are also used without being initialized.
This doesn't appear to be fixed in CVS and I came up empty on a mailing list
search -- hope it hasn't been reported already.
Craig Boston
2003-12-01 23:14:29 +00:00
Tom Lane
e1d2c43a22
Minor wordsmithing in datetime docs to try to address gripes raised by
...
cnliou.
2003-12-01 20:35:04 +00:00
Tom Lane
a8cdd6459c
netmask() and hostmask() functions should return maximum-length masklen,
...
per gripe from Joe Sunday.
2003-12-01 18:50:29 +00:00