summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2001-05-02Previous commit mistakenly converted all newlines to DOS style (CR/LF).Tom Lane
Convert back to Unix style --- it seems some versions of nmake insist on this.
2001-05-02Add note explaining why inserts take longer as tables grow. Also suggestD'Arcy J.M. Cain
the way to handle this.
2001-05-02Change "|zzlzzzz" argument specification to "|zzizzzz" so that the code worksD'Arcy J.M. Cain
properly on 64 bit systems. Change submitted by Marc Poinot (Marc.Poinot@onera.fr)
2001-05-01Synced gram.y and preproc.y.Tom Lane
2001-05-01Allow a string argument to the EXTRACT() function.Thomas G. Lockhart
This is an extension to the SQL9x standard, but is consistant with usage of the underlying date_part() function used to implement it. Example: EXTRACT('YEAR',...) No impact on regression tests.
2001-05-011) fix bugs reported by Andrea Aime.Hiroshi Inoue
2) fix a bug reported by Jan Wieck. psqlodbc is 7.01.0005 now.
2001-04-30exec_move_row() should be more forgiving of tuples with a differentTom Lane
number of columns than it was expecting, for reasons that are now documented in the code...
2001-04-30Suppress pull-up of subqueries that are in the nullable side of an outerTom Lane
join. This is needed to avoid improper evaluation of expressions that should be nulled out, as in Victor Wagner's bug report of 4/27/01. Pretty ugly solution, but no time to do anything better for 7.1.1.
2001-04-29Add missing Unicode support for Cyrillic encodings.Tatsuo Ishii
Patches contributed by Victor Wagner.
2001-04-26Remove bogus Assert from AbsoluteTimeIsBefore(). (If you don't thinkTom Lane
it's bogus, try building a btree index on the regress tests' abstime_tbl.)
2001-04-25Tweak nestloop costing to weight restart cost of inner path more heavily.Tom Lane
Without this, it was making some pretty silly decisions about whether an expensive sub-SELECT should be the inner or outer side of a join...
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