OSDN Git Service
Tom Lane [Tue, 24 Apr 2001 00:08:38 +0000 (00:08 +0000)]
Undo pgindent brain damage, so that node type numbers can once again be
counted off by lines ...
Tom Lane [Mon, 23 Apr 2001 23:36:33 +0000 (23:36 +0000)]
Behave sanely when database name is omitted from command line.
Peter Eisentraut [Mon, 23 Apr 2001 20:27:55 +0000 (20:27 +0000)]
Send 'cd' output to /dev/null.
Tom Lane [Mon, 23 Apr 2001 15:14:58 +0000 (15:14 +0000)]
Defend against ancient versions of zlib by checking that zlib.h
defines z_streamp.
Tom Lane [Mon, 23 Apr 2001 04:32:30 +0000 (04:32 +0000)]
compatible_oper needs to do ReleaseSysCache in one path to avoid
complaints about 'Cache reference leak'. Per report from Don Baccus.
Hiroshi Inoue [Mon, 23 Apr 2001 01:41:06 +0000 (01:41 +0000)]
1) Decrease the size of needlessly large buffers. For example, it
resolved the stack over flow errors reported by Johann Zuschlag.
2) Support {oj syntax for 71. servers.
Hiroshi Inoue [Mon, 23 Apr 2001 01:00:49 +0000 (01:00 +0000)]
A patch to fix the following bugs.
1) [ODBC] Psqlodbc and Centura: here it is a patch
posted by Matteo Cavalleli
2) [ODBC] pgsqODBC binding parameters II
posted by Ludek Finstrle
3) Invalid Page Fault in PSQLODBC.DLL
personal mail from Johann Zuschlag
Hiroki Kataoka kataoka@interwiz.koganei.tokyo.jp
Tom Lane [Sun, 22 Apr 2001 21:34:13 +0000 (21:34 +0000)]
Don't bomb out on indexes on system attributes other than 'oid'.
(Not sure such an index is actually useful, but just because it's
useless doesn't mean pg_dump should coredump.)
Tom Lane [Sat, 21 Apr 2001 18:29:29 +0000 (18:29 +0000)]
Remove useless setuid() call, instead add a check that real and effective
userids are the same. Per today's pghackers discussion.
Peter Eisentraut [Sat, 21 Apr 2001 11:23:58 +0000 (11:23 +0000)]
Make sure that the postmaster options (from postopts[.default] or
-o option) are properly dequoted. Also, always pass an explicit -D option
to postmaster, don't rely on it being set in postmaster.opts.
Thomas G. Lockhart [Fri, 20 Apr 2001 15:52:33 +0000 (15:52 +0000)]
Final markup for 7.1 hardcopy release. Mostly typo and table-fitting
adjustments. Note that many tables are being abused with *really* long
description columns. Should probably shrink those columns to be more
concise, and move some of the info to follow-on reference notes.
Thomas G. Lockhart [Fri, 20 Apr 2001 15:50:25 +0000 (15:50 +0000)]
Add option --refentry to change \keepn (keep with next paragraph) to
\keep (keep current paragraph together). This fixes most troubles with
reference pages marked up with <refentry> tags.
Use on reference.rtf, generated by "make reference.rtf".
Peter Eisentraut [Thu, 19 Apr 2001 20:27:47 +0000 (20:27 +0000)]
Remove libsfio check.
Peter Eisentraut [Thu, 19 Apr 2001 19:17:44 +0000 (19:17 +0000)]
Pass -D option to pg_ctl because export PGDATA won't be preserved across
'su -l'.
Reported by <VASQUEZ_JASON@LILLY.COM>.
Peter Eisentraut [Thu, 19 Apr 2001 19:09:23 +0000 (19:09 +0000)]
Add extern int optreset declaration, per bug report from <info@decc.nl>.
Peter Eisentraut [Thu, 19 Apr 2001 19:01:23 +0000 (19:01 +0000)]
Fix "off by VARHDRSZ" bug in (Cyrillic) recode support.
Bruce Momjian [Thu, 19 Apr 2001 15:22:29 +0000 (15:22 +0000)]
Update TODO list.
Tom Lane [Thu, 19 Apr 2001 04:29:02 +0000 (04:29 +0000)]
Kluge solution for Alex Pilosov's report of problems with whole-tuple
function arguments in join queries: copy the tuples into
TransactionCommandContext so they don't get recycled too soon. This is
horrid, but not any worse than 7.0 or before, which also leaked such
tuples until end of query. A proper fix will require allowing tuple
datums to be physically stored inside larger tuple datums, which opens
up a bunch of issues that can't realistically be solved for 7.1.1.
Tatsuo Ishii [Thu, 19 Apr 2001 02:34:35 +0000 (02:34 +0000)]
Add a crash gurard to pg_encoding_mblen in case of an invalid encoding
given.
Tom Lane [Wed, 18 Apr 2001 22:25:31 +0000 (22:25 +0000)]
Further tweaking of error messages for cases involving attributes &
functions of join or subselect aliases. It'd be awfully nice if this
code knew for sure whether it was dealing with 'x.f' or 'f(x)' syntax;
maybe we can fix that in a future cycle.
Peter Eisentraut [Wed, 18 Apr 2001 20:53:08 +0000 (20:53 +0000)]
Repair misbehavior of \! with immediately following argument that contains
spaces (e.g., '\!ls -l'). Also correct a comment.
Tom Lane [Wed, 18 Apr 2001 20:42:56 +0000 (20:42 +0000)]
Make the world safe for passing whole rows of views to functions. This
already worked fine for whole rows of tables, but not so well for views...
Bruce Momjian [Wed, 18 Apr 2001 17:52:12 +0000 (17:52 +0000)]
Update TODO list.
Tom Lane [Wed, 18 Apr 2001 17:04:24 +0000 (17:04 +0000)]
Make rule lister do the right thing with Vars representing whole tuples.
Bruce Momjian [Tue, 17 Apr 2001 14:17:47 +0000 (14:17 +0000)]
Update TODO list.
Hiroshi Inoue [Tue, 17 Apr 2001 07:30:53 +0000 (07:30 +0000)]
The renewal of README thanks to Dave Page.
Tom Lane [Tue, 17 Apr 2001 00:32:58 +0000 (00:32 +0000)]
Add some defenses to guard against case where a rule refers to a table
or view that's been dropped and then recreated with the same name (but,
perhaps, different columns). Eventually we'd like to support this but
for now all we can do is fail cleanly, rather than possibly coredumping
if we proceed using the obsolete rule.
Tom Lane [Mon, 16 Apr 2001 19:44:10 +0000 (19:44 +0000)]
Avoid reversing user-given order of WHERE clauses while attaching clauses
to specific base or join RelOptInfo nodes during planning. This preserves
the more-intuitive behavior of 7.0.* --- if you write an expensive clause
(such as a sub-select) last, it should get evaluated last. Someday we
ought to try to have some intelligence about the order of evaluation of
WHERE clauses, but for now we should not override what the user wrote.
Tatsuo Ishii [Mon, 16 Apr 2001 06:10:19 +0000 (06:10 +0000)]
Correction for mathematical properties in Unicode converison maps.
Patches contributed by Eiji Tokuya (e-tokuya@sankyo-unyu.co.jp)
Bruce Momjian [Mon, 16 Apr 2001 04:20:36 +0000 (04:20 +0000)]
Update Japanese FAQ's.
Bruce Momjian [Mon, 16 Apr 2001 04:11:54 +0000 (04:11 +0000)]
Add new item.
Tom Lane [Mon, 16 Apr 2001 02:42:01 +0000 (02:42 +0000)]
getdatabaseencoding() and PG_encoding_to_char() were being sloppy about
converting char* strings to type 'name'. Imagine my surprise when 7.1
release coredumped upon start when compiled --enable-multibyte ...
Tom Lane [Mon, 16 Apr 2001 01:46:57 +0000 (01:46 +0000)]
Remove error report from pq_endmessage when pq_putmessage fails. The
only possible failure is in pq_flush, which will log a (better!) report
anyway --- so pq_endmessage is just cluttering the log with a redundant
entry. This matters when a client crashes partway through a large query,
since we will emit many broken-pipe reports before finishing the query
and exiting.
Bruce Momjian [Mon, 16 Apr 2001 01:36:50 +0000 (01:36 +0000)]
Update TODO list.
Tom Lane [Sun, 15 Apr 2001 03:25:07 +0000 (03:25 +0000)]
Add LDFLAGS_SL to AIX shlib building command, per report from
Rocco Altier <roccoa@routescape.com>.
Tom Lane [Sun, 15 Apr 2001 03:14:18 +0000 (03:14 +0000)]
Constant expressions that appear in ORDER BY, GROUP BY, DISTINCT ON
lists should be reverse-compiled into targetlist index numbers, because
that's the only interpretation the parser allows for a constant in these
clauses. (Ergo, the only way they could have gotten into the list in
the first place is to have come from the targetlist; so this should always
work.) Per problem report from Peter E.
Bruce Momjian [Sun, 15 Apr 2001 01:56:08 +0000 (01:56 +0000)]
Update TODO list.
Tom Lane [Sun, 15 Apr 2001 00:48:17 +0000 (00:48 +0000)]
Prevent generation of invalid plans for RIGHT or FULL joins with multiple
join clauses. The mergejoin executor wants all the join clauses to appear
as merge quals, not as extra joinquals, for these kinds of joins. But the
planner would consider plans in which partially-sorted input paths were
used, leading to only some of the join clauses becoming merge quals.
This is fine for inner/left joins, not fine for right/full joins.
Peter Eisentraut [Sun, 15 Apr 2001 00:43:37 +0000 (00:43 +0000)]
If the password prompt goes to stderr, then the trailing newline should
also go there.
Peter Eisentraut [Sat, 14 Apr 2001 22:55:02 +0000 (22:55 +0000)]
Work with Readline 4.2.
Bruce Momjian [Sat, 14 Apr 2001 19:11:45 +0000 (19:11 +0000)]
Add debug_query_string global variable for pgmonitor and debugging use.
Philip Warner [Sat, 14 Apr 2001 13:11:03 +0000 (13:11 +0000)]
- Get view OID based on rule OID not base table OID
- Fix crash due to null string pointer in some tar files with some libs
Tom Lane [Sat, 14 Apr 2001 02:10:57 +0000 (02:10 +0000)]
Another try at making numeric MODULO operator produce the right answer.
Although it was now using the right equation, it was making bogus choices
of the precision to compute intermediate results to. I'm not sure this
is really right even yet, but it's better than before ...
Tom Lane [Fri, 13 Apr 2001 23:32:57 +0000 (23:32 +0000)]
Suppress compiler warnings in Vax and NS32K assembly code: 'register foo'
is not a complete declaration.
Marc G. Fournier [Fri, 13 Apr 2001 21:21:33 +0000 (21:21 +0000)]
tag the source tree as REL7_1, renaming the old tag REL7_1_BETA like it
should have been done
generate a new Changelog from rc4, which is nice and short ... one python
interface change
tag configure as 7.1, for generating the packages ...
This is it folks ... Release 7.1 is officially here ...
Bruce Momjian [Fri, 13 Apr 2001 18:38:32 +0000 (18:38 +0000)]
Remove as-of from HISTORY file.
D'Arcy J.M. Cain [Thu, 12 Apr 2001 09:49:37 +0000 (09:49 +0000)]
I just noticed the beta comment. That's not actually true any more
so I removed it.
Bruce Momjian [Mon, 9 Apr 2001 19:28:01 +0000 (19:28 +0000)]
Update FAQ.
Bruce Momjian [Sun, 8 Apr 2001 22:57:38 +0000 (22:57 +0000)]
Update FAQ.
Marc G. Fournier [Sun, 8 Apr 2001 18:10:42 +0000 (18:10 +0000)]
upgrade tags to rc4 (note lower case for packagers)
Peter Eisentraut [Sun, 8 Apr 2001 17:28:10 +0000 (17:28 +0000)]
Rearrange distribution split as discussed on -hackers.
Peter Eisentraut [Sun, 8 Apr 2001 16:36:13 +0000 (16:36 +0000)]
Update to reflect OpenSSL 0.9.6a release.
Bruce Momjian [Sat, 7 Apr 2001 02:30:58 +0000 (02:30 +0000)]
Update TODO list.
Marc G. Fournier [Fri, 6 Apr 2001 17:05:39 +0000 (17:05 +0000)]
update the change log, but nothing else ...
Peter Eisentraut [Fri, 6 Apr 2001 15:52:41 +0000 (15:52 +0000)]
Revert wrong SCO OpenServer report, update comments and improve formatting
a bit. Regenerate INSTALL.
Hiroshi Inoue [Fri, 6 Apr 2001 15:31:28 +0000 (15:31 +0000)]
Sorry my previous change was a mistake.
Thomas G. Lockhart [Fri, 6 Apr 2001 15:01:25 +0000 (15:01 +0000)]
Utility to add the stylesheet "s0" definition to an RTF file.
This stylesheet must be present for Applixware to be happy generating
a ToC. M$Word does not seem to care one way or the other.
Marc G. Fournier [Fri, 6 Apr 2001 14:35:47 +0000 (14:35 +0000)]
mark it as RC3 ...
Hiroshi Inoue [Fri, 6 Apr 2001 09:23:44 +0000 (09:23 +0000)]
1) Fit the precision of floating point to that of server side
(fix by Hiroki kataoka).
2) Ensure the definition of atof()(#include stdlib.h).
(suggestion by Masaaki Sakaida).
Thomas G. Lockhart [Fri, 6 Apr 2001 05:52:10 +0000 (05:52 +0000)]
Final (?) platform update for the 7.1 release. Includes new platform
NetBSD/PPC from Henry Hotz, several other platform updates, and move
QNX to the unsupported list for now.
Thomas G. Lockhart [Fri, 6 Apr 2001 05:50:29 +0000 (05:50 +0000)]
Alter the previous test for "time with time zone" implicit time zone
(which failed miserably during DST) to just compare against a time
derived from a timestamp value.
Certainly not a direct check for a correct result, but should work
at any time of year.
Tom Lane [Fri, 6 Apr 2001 02:06:48 +0000 (02:06 +0000)]
Since plpgsql keeps its compiled function parsetrees until backend exit,
it needs to ensure that data structures attached to fmgr info records in
the trees will stick around that long, too. Current code was crashing
on cases like datatypes with old-style I/O functions.
Tom Lane [Thu, 5 Apr 2001 16:55:21 +0000 (16:55 +0000)]
Fix comment that Vadim found confusing.
Vadim B. Mikheev [Thu, 5 Apr 2001 09:34:32 +0000 (09:34 +0000)]
StartupXLOG(): initialize XLogCtl->Insert to new page if there is
no room for a record on last log page.
Michael Meskes [Thu, 5 Apr 2001 08:21:14 +0000 (08:21 +0000)]
Hopefully fixed the long long problem.
Tom Lane [Thu, 5 Apr 2001 02:50:01 +0000 (02:50 +0000)]
pg_dump needs to use ONLY when selecting data from user tables, in case
they have children. As it stood, -d dump mode was badly broken.
Tom Lane [Wed, 4 Apr 2001 22:57:45 +0000 (22:57 +0000)]
Clean up AIX makefile to recognize subversions of AIX 4.1 correctly.
This patch is Peter E's, but I'm applying it on his behalf so it'll get
into 7.1RC3 tonight (I'm guessing Peter went to bed already).
Bruce Momjian [Wed, 4 Apr 2001 21:32:17 +0000 (21:32 +0000)]
Update TODO list.
Bruce Momjian [Wed, 4 Apr 2001 21:16:31 +0000 (21:16 +0000)]
Update TODO list.
Tom Lane [Wed, 4 Apr 2001 21:15:56 +0000 (21:15 +0000)]
Fix/cleanup DLLLIBS handling for Cygwin port. If it works it's to
Jason Tishler's credit, if it's broken it's my fault ...
Bruce Momjian [Wed, 4 Apr 2001 20:58:27 +0000 (20:58 +0000)]
Update TODO list.
Tom Lane [Wed, 4 Apr 2001 20:03:11 +0000 (20:03 +0000)]
Remove daylight-savings-time-dependent tests of 'time with time zone'
datatype. Perhaps someday we can figure out a way of getting reproducible
results from testing this type, but for now ...
Peter Eisentraut [Wed, 4 Apr 2001 20:02:31 +0000 (20:02 +0000)]
update
Vadim B. Mikheev [Wed, 4 Apr 2001 15:43:25 +0000 (15:43 +0000)]
Have to lock buffer while changing page' LSN.
Thanks to Tom.
Philip Warner [Wed, 4 Apr 2001 06:47:30 +0000 (06:47 +0000)]
Don't dump CHECK constraints with same source and names both
starting with '$'.
Vadim B. Mikheev [Tue, 3 Apr 2001 21:58:00 +0000 (21:58 +0000)]
Log sequence creation (to initialize magic number on recovery).
Tom Lane [Tue, 3 Apr 2001 19:06:19 +0000 (19:06 +0000)]
Provide snprintf() if system hasn't got it.
Bruce Momjian [Tue, 3 Apr 2001 18:14:39 +0000 (18:14 +0000)]
See attached for a minor documentation patch that more accurately reflects
the current state of and the issues with PostgreSQL on Windows.
Thanks,
Jason
--
Jason Tishler
Tom Lane [Tue, 3 Apr 2001 18:05:53 +0000 (18:05 +0000)]
Correct bogus mktime() calls.
Bruce Momjian [Tue, 3 Apr 2001 13:38:08 +0000 (13:38 +0000)]
Remove last-updated date stamp for 7.1.
Philip Warner [Tue, 3 Apr 2001 08:52:59 +0000 (08:52 +0000)]
- Handle overridden attrs as per discussions 2-Apr-2001
- Dump CHECK constraints in OID order
Tom Lane [Tue, 3 Apr 2001 04:07:02 +0000 (04:07 +0000)]
Check for failure of malloc() and realloc() when allocating space for
VFD entries. On platforms where dereferencing a null pointer doesn't
lead to coredump, it's possible that this omission could have led to
unpleasant behavior like deleting the wrong file.
Tom Lane [Tue, 3 Apr 2001 02:31:52 +0000 (02:31 +0000)]
open(2) flags saved for re-opening a virtual file should probably not
include O_CREAT.
Tom Lane [Mon, 2 Apr 2001 23:30:04 +0000 (23:30 +0000)]
Restore pre-7.1 behavior of allowing DROP of a table whose underlying
physical file has disappeared. There is no really good reason why
relcache should be opening the underlying file at all, AFAICS.
In any case we needn't raise a hard error here.
Tom Lane [Mon, 2 Apr 2001 23:20:24 +0000 (23:20 +0000)]
_mdfd_getrelnfd() should include kernel error code in failure message.
Tom Lane [Mon, 2 Apr 2001 18:30:49 +0000 (18:30 +0000)]
Complain if the same column name is inherited from multiple parents
with different default values, unless the child table redeclares the
column with an explicit default. This was judged to be the approach
least likely to cause unpleasant surprises.
Bruce Momjian [Mon, 2 Apr 2001 17:59:17 +0000 (17:59 +0000)]
Update HISTORY/release.sgml to current.
Bruce Momjian [Mon, 2 Apr 2001 17:40:14 +0000 (17:40 +0000)]
Update TODO list.
Bruce Momjian [Mon, 2 Apr 2001 16:27:04 +0000 (16:27 +0000)]
Update TODO list.
Thomas G. Lockhart [Mon, 2 Apr 2001 15:19:15 +0000 (15:19 +0000)]
Update info for platforms BeOS, Tru64, Linux/MIPS, Linux/x86, NetBSD/Alpha,
NetBSD/arm, NetBSD/VAX, OpenBSD/Sparc, Solaris, Ultrix.
Bruce Momjian [Mon, 2 Apr 2001 15:10:28 +0000 (15:10 +0000)]
Update TODO list.
Bruce Momjian [Mon, 2 Apr 2001 14:34:25 +0000 (14:34 +0000)]
Disable creation of indexes on system tables.
Michael Meskes [Mon, 2 Apr 2001 08:17:24 +0000 (08:17 +0000)]
Synced pgc.l with scan.l.
Tom Lane [Mon, 2 Apr 2001 03:21:23 +0000 (03:21 +0000)]
Remove duplicate definition of DLLLIBS, per gripe from Fred Yankowski.
Tom Lane [Mon, 2 Apr 2001 03:08:30 +0000 (03:08 +0000)]
Tom Ivar Helbekkmo <tih@kpnQwest.no> says that dynamic linking works
now on VAX NetBSD. Hence, remove #ifdef'd disable tests.
Tom Lane [Sun, 1 Apr 2001 22:37:19 +0000 (22:37 +0000)]
Planner wasn't correctly handling adjustment of tuple_fraction for the
case of LIMIT in a sub-select.
Marc G. Fournier [Sun, 1 Apr 2001 19:15:37 +0000 (19:15 +0000)]
RC2 preparations ...
Philip Warner [Sun, 1 Apr 2001 05:42:51 +0000 (05:42 +0000)]
Patch to put rudimentary dependency support into pg_dump. This addresses
the UDT/function order problem.
- Rudimentary support for dependencies in archives.
Uses dependencies to modify the OID used in sorting TOC
entries. This will NOT handle multi-level dependencies,
but will manage simple relationships like UDTs & their functions.
- Treat OIDs with more respect (avoid using ints, use macros
for conversion & comparison).
Bruce Momjian [Sun, 1 Apr 2001 01:00:05 +0000 (01:00 +0000)]
Update TODO list.
Tom Lane [Sat, 31 Mar 2001 23:14:37 +0000 (23:14 +0000)]
On Cygwin, do initial connect() call in blocking mode, per report from
Jason Tishler.