Commit Graph

9815 Commits

Author SHA1 Message Date
Tom Lane d5096af2c4 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...
2001-04-18 20:42:56 +00:00
Bruce Momjian e4c06b2125 Update TODO list. 2001-04-18 17:52:12 +00:00
Tom Lane 40136f4465 Make rule lister do the right thing with Vars representing whole tuples. 2001-04-18 17:04:24 +00:00
Bruce Momjian 4a5905184f Update TODO list. 2001-04-17 14:17:47 +00:00
Hiroshi Inoue 9609a875bb The renewal of README thanks to Dave Page. 2001-04-17 07:30:53 +00:00
Tom Lane c273e8b13c 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.
2001-04-17 00:32:58 +00:00
Tom Lane cdcaec5c53 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.
2001-04-16 19:44:10 +00:00
Tatsuo Ishii 722f7efdd9 Correction for mathematical properties in Unicode converison maps.
Patches contributed by Eiji Tokuya (e-tokuya@sankyo-unyu.co.jp)
2001-04-16 06:10:19 +00:00
Bruce Momjian d32422f796 Update Japanese FAQ's. 2001-04-16 04:20:36 +00:00
Bruce Momjian 10cdcf1c7b Add new item. 2001-04-16 04:11:54 +00:00
Tom Lane fbee97664e 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 ...
2001-04-16 02:42:01 +00:00
Tom Lane 6ccb2af725 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.
2001-04-16 01:46:57 +00:00
Bruce Momjian c8e05affe4 Update TODO list. 2001-04-16 01:36:50 +00:00
Tom Lane 382a429d84 Add LDFLAGS_SL to AIX shlib building command, per report from
Rocco Altier <roccoa@routescape.com>.
2001-04-15 03:25:07 +00:00
Tom Lane ffbeafb19a 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.
2001-04-15 03:14:18 +00:00
Bruce Momjian 7f2de4937a Update TODO list. 2001-04-15 01:56:08 +00:00
Tom Lane f9094c44c0 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.
2001-04-15 00:48:17 +00:00
Peter Eisentraut 15a6cd0091 If the password prompt goes to stderr, then the trailing newline should
also go there.
2001-04-15 00:43:37 +00:00
Peter Eisentraut eb1b164317 Work with Readline 4.2. 2001-04-14 22:55:02 +00:00
Bruce Momjian 25efda227d Add debug_query_string global variable for pgmonitor and debugging use. 2001-04-14 19:11:45 +00:00
Philip Warner 232d8fa3c4 - 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
2001-04-14 13:11:03 +00:00
Tom Lane 83c94a886c 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 ...
2001-04-14 02:10:57 +00:00
Tom Lane ca224d2ba4 Suppress compiler warnings in Vax and NS32K assembly code: 'register foo'
is not a complete declaration.
2001-04-13 23:32:57 +00:00
Marc G. Fournier 741604dd84 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 ...
2001-04-13 21:21:33 +00:00
Bruce Momjian ef922b2556 Remove as-of from HISTORY file. 2001-04-13 18:38:32 +00:00
D'Arcy J.M. Cain d3d35e9b25 I just noticed the beta comment. That's not actually true any more
so I removed it.
2001-04-12 09:49:37 +00:00
Bruce Momjian e47d6d440e Update FAQ. 2001-04-09 19:28:01 +00:00
Bruce Momjian f34fa8ba89 Update FAQ. 2001-04-08 22:57:38 +00:00
Marc G. Fournier ecd8ddd004 upgrade tags to rc4 (note lower case for packagers) 2001-04-08 18:10:42 +00:00
Peter Eisentraut fc21f3c926 Rearrange distribution split as discussed on -hackers. 2001-04-08 17:28:10 +00:00
Peter Eisentraut cdbf1762dc Update to reflect OpenSSL 0.9.6a release. 2001-04-08 16:36:13 +00:00
Bruce Momjian 8ca722b678 Update TODO list. 2001-04-07 02:30:58 +00:00
Marc G. Fournier f2fc87546e update the change log, but nothing else ... 2001-04-06 17:05:39 +00:00
Peter Eisentraut 248365f2c6 Revert wrong SCO OpenServer report, update comments and improve formatting
a bit.  Regenerate INSTALL.
2001-04-06 15:52:41 +00:00
Hiroshi Inoue 7bba7a5c06 Sorry my previous change was a mistake. 2001-04-06 15:31:28 +00:00
Thomas G. Lockhart 54329ac4a0 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.
2001-04-06 15:01:25 +00:00
Marc G. Fournier c6cbf569e2 mark it as RC3 ... 2001-04-06 14:35:47 +00:00
Hiroshi Inoue ef4a163afd 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).
2001-04-06 09:23:44 +00:00
Thomas G. Lockhart f7f0b17909 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.
2001-04-06 05:52:10 +00:00
Thomas G. Lockhart 9c3bbf256b 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.
2001-04-06 05:50:29 +00:00
Tom Lane a3ed622b63 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.
2001-04-06 02:06:48 +00:00
Tom Lane f10596c3ec Fix comment that Vadim found confusing. 2001-04-05 16:55:21 +00:00
Vadim B. Mikheev 3092869233 StartupXLOG(): initialize XLogCtl->Insert to new page if there is
no room for a record on last log page.
2001-04-05 09:34:32 +00:00
Michael Meskes 495fe1214c Hopefully fixed the long long problem. 2001-04-05 08:21:14 +00:00
Tom Lane 3ced3cfff9 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.
2001-04-05 02:50:01 +00:00
Tom Lane 011f1e3169 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).
2001-04-04 22:57:45 +00:00
Bruce Momjian 8b588a19b4 Update TODO list. 2001-04-04 21:32:17 +00:00
Bruce Momjian 9a7c273a3f Update TODO list. 2001-04-04 21:16:31 +00:00
Tom Lane 6faf150a30 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 ...
2001-04-04 21:15:56 +00:00
Bruce Momjian d3ad2ad689 Update TODO list. 2001-04-04 20:58:27 +00:00