aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* apply a little patch:Bruce Momjian2001-05-03
| | | | Oleg Bartunov
* Ensure that btree sort ordering functions and boolean comparison operatorsTom Lane2001-05-03
| | | | | | | | | | give consistent results for all datatypes. Types float4, float8, and numeric were broken for NaN values; abstime, timestamp, and interval were broken for INVALID values; timetz was just plain broken (some possible pairs of values were neither < nor = nor >). Also clean up text, bpchar, varchar, and bit/varbit to eliminate duplicate code and thereby reduce the probability of similar inconsistencies arising in the future.
* Permissions were not checked correctly when one view invokes another.Tom Lane2001-05-03
| | | | Per bug report from Lieven Van Acker, 5/2/01.
* Improve list.Bruce Momjian2001-05-03
|
* Updates for 7.1.1. Not done yet.Bruce Momjian2001-05-03
|
* Correct pg_description entry for type macaddr.Tom Lane2001-05-03
|
* Fixes to make ecpg work on Cygwin, from Jason Tishler ↵Tom Lane2001-05-03
| | | | <Jason.Tishler@dothill.com>.
* Previous commit mistakenly converted all newlines to DOS style (CR/LF).Tom Lane2001-05-02
| | | | | Convert back to Unix style --- it seems some versions of nmake insist on this.
* Add note explaining why inserts take longer as tables grow. Also suggestD'Arcy J.M. Cain2001-05-02
| | | | the way to handle this.
* Change "|zzlzzzz" argument specification to "|zzizzzz" so that the code worksD'Arcy J.M. Cain2001-05-02
| | | | | | properly on 64 bit systems. Change submitted by Marc Poinot (Marc.Poinot@onera.fr)
* Synced gram.y and preproc.y.Tom Lane2001-05-01
|
* Allow a string argument to the EXTRACT() function.Thomas G. Lockhart2001-05-01
| | | | | | | 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.
* 1) fix bugs reported by Andrea Aime.Hiroshi Inoue2001-05-01
| | | | | 2) fix a bug reported by Jan Wieck. psqlodbc is 7.01.0005 now.
* exec_move_row() should be more forgiving of tuples with a differentTom Lane2001-04-30
| | | | | number of columns than it was expecting, for reasons that are now documented in the code...
* Suppress pull-up of subqueries that are in the nullable side of an outerTom Lane2001-04-30
| | | | | | 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.
* Add missing Unicode support for Cyrillic encodings.Tatsuo Ishii2001-04-29
| | | | Patches contributed by Victor Wagner.
* Remove bogus Assert from AbsoluteTimeIsBefore(). (If you don't thinkTom Lane2001-04-26
| | | | it's bogus, try building a btree index on the regress tests' abstime_tbl.)
* Tweak nestloop costing to weight restart cost of inner path more heavily.Tom Lane2001-04-25
| | | | | 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...
* - Fixed CONSTRAINT TRIGGER dump to record tgconstrelid properlyPhilip Warner2001-04-25
| | | | - pgsql v7.0 compatbility
* Undo pgindent brain damage, so that node type numbers can once again beTom Lane2001-04-24
| | | | counted off by lines ...
* Behave sanely when database name is omitted from command line.Tom Lane2001-04-23
|
* Send 'cd' output to /dev/null.Peter Eisentraut2001-04-23
|
* compatible_oper needs to do ReleaseSysCache in one path to avoidTom Lane2001-04-23
| | | | complaints about 'Cache reference leak'. Per report from Don Baccus.
* 1) Decrease the size of needlessly large buffers. For example, itHiroshi Inoue2001-04-23
| | | | | resolved the stack over flow errors reported by Johann Zuschlag. 2) Support {oj syntax for 71. servers.
* A patch to fix the following bugs.Hiroshi Inoue2001-04-23
| | | | | | | | | | | 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
* Don't bomb out on indexes on system attributes other than 'oid'.Tom Lane2001-04-22
| | | | | (Not sure such an index is actually useful, but just because it's useless doesn't mean pg_dump should coredump.)
* Remove useless setuid() call, instead add a check that real and effectiveTom Lane2001-04-21
| | | | userids are the same. Per today's pghackers discussion.
* Make sure that the postmaster options (from postmaster.opts[.default] orPeter Eisentraut2001-04-21
| | | | | -o option) are properly dequoted. Also, always pass an explicit -D option to postmaster, don't rely on it being set in postmaster.opts.
* Add extern int optreset declaration, per bug report from <info@decc.nl>.Peter Eisentraut2001-04-19
|
* Fix "off by VARHDRSZ" bug in (Cyrillic) recode support.Peter Eisentraut2001-04-19
|
* Kluge solution for Alex Pilosov's report of problems with whole-tupleTom Lane2001-04-19
| | | | | | | | | 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.
* Add a crash gurard to pg_encoding_mblen in case of an invalid encodingTatsuo Ishii2001-04-19
| | | | given.
* Further tweaking of error messages for cases involving attributes &Tom Lane2001-04-18
| | | | | | 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.
* Repair misbehavior of \! with immediately following argument that containsPeter Eisentraut2001-04-18
| | | | spaces (e.g., '\!ls -l'). Also correct a comment.
* Make the world safe for passing whole rows of views to functions. ThisTom Lane2001-04-18
| | | | already worked fine for whole rows of tables, but not so well for views...
* Make rule lister do the right thing with Vars representing whole tuples.Tom Lane2001-04-18
|
* The renewal of README thanks to Dave Page.Hiroshi Inoue2001-04-17
|
* Add some defenses to guard against case where a rule refers to a tableTom Lane2001-04-17
| | | | | | | 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.
* Avoid reversing user-given order of WHERE clauses while attaching clausesTom Lane2001-04-16
| | | | | | | | 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.
* Correction for mathematical properties in Unicode converison maps.Tatsuo Ishii2001-04-16
| | | | Patches contributed by Eiji Tokuya (e-tokuya@sankyo-unyu.co.jp)
* getdatabaseencoding() and PG_encoding_to_char() were being sloppy aboutTom Lane2001-04-16
| | | | | converting char* strings to type 'name'. Imagine my surprise when 7.1 release coredumped upon start when compiled --enable-multibyte ...
* Remove error report from pq_endmessage when pq_putmessage fails. TheTom Lane2001-04-16
| | | | | | | | 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.
* Add LDFLAGS_SL to AIX shlib building command, per report fromTom Lane2001-04-15
| | | | Rocco Altier <roccoa@routescape.com>.
* Constant expressions that appear in ORDER BY, GROUP BY, DISTINCT ONTom Lane2001-04-15
| | | | | | | | 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.
* Prevent generation of invalid plans for RIGHT or FULL joins with multipleTom Lane2001-04-15
| | | | | | | | 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.
* If the password prompt goes to stderr, then the trailing newline shouldPeter Eisentraut2001-04-15
| | | | also go there.
* Work with Readline 4.2.Peter Eisentraut2001-04-14
|
* Add debug_query_string global variable for pgmonitor and debugging use.Bruce Momjian2001-04-14
|
* - Get view OID based on rule OID not base table OIDPhilip Warner2001-04-14
| | | | - Fix crash due to null string pointer in some tar files with some libs
* Another try at making numeric MODULO operator produce the right answer.Tom Lane2001-04-14
| | | | | | 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 ...