aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* 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 ...
* Suppress compiler warnings in Vax and NS32K assembly code: 'register foo'Tom Lane2001-04-13
| | | | is not a complete declaration.
* I just noticed the beta comment. That's not actually true any moreD'Arcy J.M. Cain2001-04-12
| | | | so I removed it.
* Sorry my previous change was a mistake.Hiroshi Inoue2001-04-06
|
* 1) Fit the precision of floating point to that of server sideHiroshi Inoue2001-04-06
| | | | | | (fix by Hiroki kataoka). 2) Ensure the definition of atof()(#include stdlib.h). (suggestion by Masaaki Sakaida).
* Alter the previous test for "time with time zone" implicit time zoneThomas G. Lockhart2001-04-06
| | | | | | | (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.
* Since plpgsql keeps its compiled function parsetrees until backend exit,Tom Lane2001-04-06
| | | | | | 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.
* Fix comment that Vadim found confusing.Tom Lane2001-04-05
|
* StartupXLOG(): initialize XLogCtl->Insert to new page if there isVadim B. Mikheev2001-04-05
| | | | no room for a record on last log page.
* Hopefully fixed the long long problem.Michael Meskes2001-04-05
|
* pg_dump needs to use ONLY when selecting data from user tables, in caseTom Lane2001-04-05
| | | | they have children. As it stood, -d dump mode was badly broken.
* Clean up AIX makefile to recognize subversions of AIX 4.1 correctly.Tom Lane2001-04-04
| | | | | 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).
* Fix/cleanup DLLLIBS handling for Cygwin port. If it works it's toTom Lane2001-04-04
| | | | Jason Tishler's credit, if it's broken it's my fault ...
* Remove daylight-savings-time-dependent tests of 'time with time zone'Tom Lane2001-04-04
| | | | | datatype. Perhaps someday we can figure out a way of getting reproducible results from testing this type, but for now ...
* Have to lock buffer while changing page' LSN.Vadim B. Mikheev2001-04-04
| | | | Thanks to Tom.
* Don't dump CHECK constraints with same source and names bothPhilip Warner2001-04-04
| | | | starting with '$'.
* Log sequence creation (to initialize magic number on recovery).Vadim B. Mikheev2001-04-03
|
* Correct bogus mktime() calls.Tom Lane2001-04-03
|
* - Handle overridden attrs as per discussions 2-Apr-2001Philip Warner2001-04-03
| | | | - Dump CHECK constraints in OID order
* Check for failure of malloc() and realloc() when allocating space forTom Lane2001-04-03
| | | | | | 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.
* open(2) flags saved for re-opening a virtual file should probably notTom Lane2001-04-03
| | | | include O_CREAT.
* Restore pre-7.1 behavior of allowing DROP of a table whose underlyingTom Lane2001-04-02
| | | | | | 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.
* _mdfd_getrelnfd() should include kernel error code in failure message.Tom Lane2001-04-02
|
* Complain if the same column name is inherited from multiple parentsTom Lane2001-04-02
| | | | | | 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.
* Disable creation of indexes on system tables.Bruce Momjian2001-04-02
|
* Synced pgc.l with scan.l.Michael Meskes2001-04-02
|
* Remove duplicate definition of DLLLIBS, per gripe from Fred Yankowski.Tom Lane2001-04-02
|
* Tom Ivar Helbekkmo <tih@kpnQwest.no> says that dynamic linking worksTom Lane2001-04-02
| | | | now on VAX NetBSD. Hence, remove #ifdef'd disable tests.
* Planner wasn't correctly handling adjustment of tuple_fraction for theTom Lane2001-04-01
| | | | case of LIMIT in a sub-select.
* Patch to put rudimentary dependency support into pg_dump. This addressesPhilip Warner2001-04-01
| | | | | | | | | | | | 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).
* On Cygwin, do initial connect() call in blocking mode, per report fromTom Lane2001-03-31
| | | | Jason Tishler.
* pqWait() should check for exception status as well as read or writeTom Lane2001-03-31
| | | | | | ready. It appears that most (all?) Unixen will consider a socket to be read or write ready if it has an error condition, but of course Microsoft does things differently.
* Re-allow specification of a new default value for an inherited columnTom Lane2001-03-30
| | | | | | in CREATE TABLE, but give a warning notice. Clean up inconsistent handling of defaults and NOT NULL flags from multiply-inherited columns. Per pghackers discussion 28-Mar through 30-Mar.
* Marc-Andre is changing where DateTime goes. This change allows the moduleD'Arcy J.M. Cain2001-03-30
| | | | | to work either way. Change submitted by Andrew Kuchling <akuchlin@mems-exchange.org>
* Correct indenting in _quote() function.D'Arcy J.M. Cain2001-03-30
| | | | Fix submitted by Andrew Kuchling <akuchlin@mems-exchange.org>
* Add appropriately ifdef'd hack to make ARM compiler allocate ItemPointerDataTom Lane2001-03-30
| | | | | | as six bytes not eight. This fixes a regression test failure but more importantly avoids wasting four bytes of pad space in every tuple header. Also add some commentary about what's going on.