summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2001-04-25- Fixed CONSTRAINT TRIGGER dump to record tgconstrelid properlyPhilip Warner
- pgsql v7.0 compatbility
2001-04-24Undo pgindent brain damage, so that node type numbers can once again beTom Lane
counted off by lines ...
2001-04-23Behave sanely when database name is omitted from command line.Tom Lane
2001-04-23Send 'cd' output to /dev/null.Peter Eisentraut
2001-04-23compatible_oper needs to do ReleaseSysCache in one path to avoidTom Lane
complaints about 'Cache reference leak'. Per report from Don Baccus.
2001-04-231) Decrease the size of needlessly large buffers. For example, itHiroshi Inoue
resolved the stack over flow errors reported by Johann Zuschlag. 2) Support {oj syntax for 71. servers.
2001-04-23A patch to fix the following bugs.Hiroshi Inoue
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
2001-04-22Don't bomb out on indexes on system attributes other than 'oid'.Tom Lane
(Not sure such an index is actually useful, but just because it's useless doesn't mean pg_dump should coredump.)
2001-04-21Remove useless setuid() call, instead add a check that real and effectiveTom Lane
userids are the same. Per today's pghackers discussion.
2001-04-21Make sure that the postmaster options (from postmaster.opts[.default] orPeter Eisentraut
-o option) are properly dequoted. Also, always pass an explicit -D option to postmaster, don't rely on it being set in postmaster.opts.
2001-04-19Add extern int optreset declaration, per bug report from <info@decc.nl>.Peter Eisentraut
2001-04-19Fix "off by VARHDRSZ" bug in (Cyrillic) recode support.Peter Eisentraut
2001-04-19Kluge solution for Alex Pilosov's report of problems with whole-tupleTom Lane
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.
2001-04-19Add a crash gurard to pg_encoding_mblen in case of an invalid encodingTatsuo Ishii
given.
2001-04-18Further tweaking of error messages for cases involving attributes &Tom Lane
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.
2001-04-18Repair misbehavior of \! with immediately following argument that containsPeter Eisentraut
spaces (e.g., '\!ls -l'). Also correct a comment.
2001-04-18Make the world safe for passing whole rows of views to functions. ThisTom Lane
already worked fine for whole rows of tables, but not so well for views...
2001-04-18Make rule lister do the right thing with Vars representing whole tuples.Tom Lane
2001-04-17The renewal of README thanks to Dave Page.Hiroshi Inoue
2001-04-17Add some defenses to guard against case where a rule refers to a tableTom Lane
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-16Avoid reversing user-given order of WHERE clauses while attaching clausesTom Lane
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-16Correction for mathematical properties in Unicode converison maps.Tatsuo Ishii
Patches contributed by Eiji Tokuya (e-tokuya@sankyo-unyu.co.jp)
2001-04-16getdatabaseencoding() and PG_encoding_to_char() were being sloppy aboutTom Lane
converting char* strings to type 'name'. Imagine my surprise when 7.1 release coredumped upon start when compiled --enable-multibyte ...
2001-04-16Remove error report from pq_endmessage when pq_putmessage fails. TheTom Lane
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-15Add LDFLAGS_SL to AIX shlib building command, per report fromTom Lane
Rocco Altier <roccoa@routescape.com>.
2001-04-15Constant expressions that appear in ORDER BY, GROUP BY, DISTINCT ONTom Lane
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-15Prevent generation of invalid plans for RIGHT or FULL joins with multipleTom Lane
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-15If the password prompt goes to stderr, then the trailing newline shouldPeter Eisentraut
also go there.
2001-04-14Work with Readline 4.2.Peter Eisentraut
2001-04-14Add debug_query_string global variable for pgmonitor and debugging use.Bruce Momjian
2001-04-14- Get view OID based on rule OID not base table OIDPhilip Warner
- Fix crash due to null string pointer in some tar files with some libs
2001-04-14Another try at making numeric MODULO operator produce the right answer.Tom Lane
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-13Suppress compiler warnings in Vax and NS32K assembly code: 'register foo'Tom Lane
is not a complete declaration.
2001-04-12I just noticed the beta comment. That's not actually true any moreD'Arcy J.M. Cain
so I removed it.
2001-04-06Sorry my previous change was a mistake.Hiroshi Inoue
2001-04-061) Fit the precision of floating point to that of server sideHiroshi Inoue
(fix by Hiroki kataoka). 2) Ensure the definition of atof()(#include stdlib.h). (suggestion by Masaaki Sakaida).
2001-04-06Alter the previous test for "time with time zone" implicit time zoneThomas G. Lockhart
(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-06Since plpgsql keeps its compiled function parsetrees until backend exit,Tom Lane
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-05Fix comment that Vadim found confusing.Tom Lane
2001-04-05StartupXLOG(): initialize XLogCtl->Insert to new page if there isVadim B. Mikheev
no room for a record on last log page.
2001-04-05Hopefully fixed the long long problem.Michael Meskes
2001-04-05pg_dump needs to use ONLY when selecting data from user tables, in caseTom Lane
they have children. As it stood, -d dump mode was badly broken.
2001-04-04Clean up AIX makefile to recognize subversions of AIX 4.1 correctly.Tom Lane
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-04Fix/cleanup DLLLIBS handling for Cygwin port. If it works it's toTom Lane
Jason Tishler's credit, if it's broken it's my fault ...
2001-04-04Remove daylight-savings-time-dependent tests of 'time with time zone'Tom Lane
datatype. Perhaps someday we can figure out a way of getting reproducible results from testing this type, but for now ...
2001-04-04Have to lock buffer while changing page' LSN.Vadim B. Mikheev
Thanks to Tom.
2001-04-04Don't dump CHECK constraints with same source and names bothPhilip Warner
starting with '$'.
2001-04-03Log sequence creation (to initialize magic number on recovery).Vadim B. Mikheev
2001-04-03Correct bogus mktime() calls.Tom Lane
2001-04-03- Handle overridden attrs as per discussions 2-Apr-2001Philip Warner
- Dump CHECK constraints in OID order