aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* Re-add getopt.c.Bruce Momjian2002-10-29
|
* Update regression for FreeBSD 4.7, for Larry RosenmanBruce Momjian2002-10-29
|
* Add ORDER BY to join regression test.Bruce Momjian2002-10-28
|
* fseeko NetBSD fix.Bruce Momjian2002-10-28
|
* Suppress compile warnings on OS X.Tom Lane2002-10-27
|
* Add missing semicolons to a few PG_FUNCTION_INFO_V1 calls.Tom Lane2002-10-26
|
* Add dummy variable declaration to PG_FUNCTION_INFO_V1() to preventTom Lane2002-10-25
| | | | | | 'empty declaration' warnings from compilers that care about such things. Per discussion back before 7.2 release; we didn't do it then because we'd already missed all the beta cycle ...
* Remove #warning directive, which is nonstandard and isn't reallyTom Lane2002-10-25
| | | | | buying us anything to make it worth the porting risk. Per discussion quite some time ago.
* Change to fseeko(), per Philip.Bruce Momjian2002-10-25
|
* Patch submitted by Kris Jurka to fix arrayindexoutofbounds exception causedBarry Lind2002-10-25
| | | | | | | by improper array initialization. Modified Files: jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java
* Allow fseeko in pg_dump only if fseeko() will work for all supported fileBruce Momjian2002-10-25
| | | | sizes.
* Code review for connection timeout patch. Avoid unportable assumptionTom Lane2002-10-24
| | | | | | that tv_sec is signed; return a useful error message on timeout failure; honor PGCONNECT_TIMEOUT environment variable in PQsetdbLogin; make code obey documentation statement that timeout=0 means no timeout.
* Fix some places that were unportably assuming struct timeval's tv_secTom Lane2002-10-24
| | | | field is signed. Clean up casting.
* Function-call-style type coercions should be treated as explicitTom Lane2002-10-24
| | | | | | coercions, not implicit ones. For example, 'select abstime(1035497293)' should succeed because there is an explicit binary coercion from int4 to abstime.
* Fix include for NetBSD.Bruce Momjian2002-10-24
|
* Add prototype include to fseeko.c.Bruce Momjian2002-10-24
|
* Add fseeko for NetBSD.Bruce Momjian2002-10-24
|
* Fix include files for new PageOutput call.Bruce Momjian2002-10-24
|
* Add fseeko/ftello prototypes for BSD/OS only to c.h.Bruce Momjian2002-10-23
|
* Improve coding style of new function.Bruce Momjian2002-10-23
|
* Make BSD/OS fseeko thread-safe.Bruce Momjian2002-10-23
|
* Add fseeko/ftello using fsetpos/fgetpos for BSD/OS.Bruce Momjian2002-10-23
|
* Page \h output and centralize psql paging code in PageOutput().Bruce Momjian2002-10-23
|
* Perform transaction cleanup operations in a less ad-hoc, moreTom Lane2002-10-22
| | | | | | | | | | | principled order; in particular ensure that all shared resources are released before we release transaction locks. The code used to release locks before buffer pins, which might explain an ancient note I have about a bufmgr assertion failure I'd seen once several years ago, and been unable to reproduce since. (Theory: someone trying to drop a relation might be able to reach FlushRelationBuffers before the last user of the relation had gotten around to dropping his buffer pins.)
* create_index test must run after create_misc test.Tom Lane2002-10-22
|
* Update for test changes.Peter Eisentraut2002-10-22
|
* Add DLLIMPORT declarations required by contrib with asserts enabled.Peter Eisentraut2002-10-22
|
* Allow 8-byte off_t to properly pg_dump, from Philip Warner with mods by Bruce.Bruce Momjian2002-10-22
|
* Fix places that were using IsTransactionBlock() as an (inadequate) checkTom Lane2002-10-21
| | | | | | that they'd get to commit immediately on finishing. There's now a centralized routine PreventTransactionChain() that implements the necessary tests.
* Cleanup for CLUSTERDB failure:Bruce Momjian2002-10-21
| | | | | | | | | | | | | | | | | | | On Sat, Oct 19, 2002 at 12:11:32AM +0200, Peter Eisentraut wrote: > $ ./clusterdb > psql: could not connect to server: No such file or directory > Is the server running locally and accepting > connections on Unix domain socket "/tmp/.s.PGSQL.5432"? > psql: could not connect to server: No such file or directory > Is the server running locally and accepting > connections on Unix domain socket "/tmp/.s.PGSQL.5432"? > clusterdb: While clustering peter, the following failed: > $ > > This could probably handled a little more gracefully. Yes, sorry. A patch for this is attached. Please apply. Alvaro Herrera
* Fix ALTER TABLE ... ADD COLUMN for inheritance cases.Bruce Momjian2002-10-21
| | | | Alvaro Herrera
* Remove unnecessary (and inadequate) check of IsTransactionBlock() inTom Lane2002-10-21
| | | | | pgstat_vacuum_tabstat(). Assume that caller (namely, VACUUM) has done the appropriate state checking beforehand.
* Avoid using IsTransactionBlock() in DeferredTriggerSetState(); no realTom Lane2002-10-21
| | | | need for this optimization, and it's too easily fooled anyway.
* Make CREATE/ALTER/DROP USER/GROUP transaction-safe, or at least prettyTom Lane2002-10-21
| | | | | nearly so, by postponing write of flat password file until transaction commit.
* Add DLLIMPORT declarations needed by contrib modules.Peter Eisentraut2002-10-21
|
* Add guards against double inclusion.Peter Eisentraut2002-10-21
|
* Translation updatesPeter Eisentraut2002-10-21
|
* Remove obsoleted stuff merged in from branch.Peter Eisentraut2002-10-21
|
* Merged ecpg_big_bison back into HEADMichael Meskes2002-10-21
|
* Fix potential problem with btbulkdelete deleting an indexscan's currentTom Lane2002-10-20
| | | | | | | | | | | | item, if the page containing the current item is split while the indexscan is stopped and holds no read-lock on the page. The current item might move right onto a page that the indexscan holds no pin on. In the prior code this would allow btbulkdelete to reach and possibly delete the item, causing 'my bits moved right off the end of the world!' when the indexscan finally resumes. Fix by chaining read-locks to the right during _bt_restscan and requiring btbulkdelete to LockBufferForCleanup on every page it scans, not only those with deletable items. Per my pghackers message of 25-May-02. (Too bad no one could think of a better way.)
* Returns exit status 1 if invalid encoding name orTatsuo Ishii2002-10-20
| | | | encoding number is given.
* Applied patch from Teofilis Martisius to improve performance.Barry Lind2002-10-20
| | | | | | | | | | | | Also removed some unused files and fixed the which needed a small change after the previous patch to build.xml. Modified Files: jdbc/Makefile jdbc/org/postgresql/core/Encoding.java jdbc/org/postgresql/jdbc1/AbstractJdbc1Connection.java Removed Files: jdbc/utils/CheckVersion.java jdbc/utils/buildDriver jdbc/utils/changelog.pl
* Rule rewriter was doing the wrong thing with conditional INSTEAD rulesTom Lane2002-10-20
| | | | | | | | | whose conditions might yield NULL. The negated qual to attach to the original query is properly 'x IS NOT TRUE', not 'NOT x'. This fix produces correct behavior, but we may be taking a performance hit because the planner is much stupider about IS NOT TRUE than it is about NOT clauses. Future TODO: teach prepqual, other parts of planner how to cope with BooleanTest clauses more effectively.
* Disallow aggregate functions in rule WHERE clauses. Per gripe fromTom Lane2002-10-20
| | | | Fritz Lehmann-Grube back in January.
* Applied patch submitted by Mike Beachy to give a better error message ifBarry Lind2002-10-20
| | | | | | | | | | configure hasn't been run before trying to build. Also cleaned up the README file and removed some obsolete files. Modified Files: jdbc/README jdbc/build.xml Removed Files: jdbc/CHANGELOG jdbc/Implementation jdbc/jdbc.jpx
* Fix within-function memory leaks in the various PLs' interfaces toTom Lane2002-10-19
| | | | | | | SPI_prepare: they all save the prepared plan into topCxt, and so the procCxt copy that's actually returned by SPI_prepare ought to be freed. Diagnosis and plpython fix by Nigel Andrews, followup for other PLs by Tom Lane.
* Applied patch submitted by Kris Jurka to result in a better error messageBarry Lind2002-10-19
| | | | | | | under some circumstances and handle negative money values better. Modified Files: jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java
* Fix pltcl self-test for recent changes to elog.Tom Lane2002-10-19
|
* Backed out part of the change from 1.6. The attempt to support int8 bindsBarry Lind2002-10-19
| | | | | | | | | in such a way that indexes on int8 columns would be used (by quoting the value) caused other problems. Will need to wait for the backend to properly fix the root problem. Modified Files: jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java
* Fix case where a function in FROM returns a scalar type, but isTom Lane2002-10-19
| | | | referred to with whole-tuple syntax.