aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* Tighten casting of function call pointers for threads.Bruce Momjian2003-09-03
|
* Pass session_authorization to the client and make psql update its promptPeter Eisentraut2003-09-03
| | | | accordingly.
* Mark unixware as verified.Bruce Momjian2003-09-03
|
* Add Unixware as verified.Bruce Momjian2003-09-03
|
* Mark BSD/OS as verified not needing reentrant function names.Bruce Momjian2003-09-03
|
* Add reporting of specificy threading failure functions.Bruce Momjian2003-09-03
|
* Add test for thread-safeness of libc functions.Bruce Momjian2003-09-03
|
* Mark Unixware as not requiring *_r functions.Bruce Momjian2003-09-03
|
* Work around ENOTEMPTY being an alias for EEXIST on some platforms.Tom Lane2003-09-03
|
* Repair problems with to_char() overrunning its input string.Tom Lane2003-09-03
| | | | From Karel Zak.
* In _bt_check_unique() loop, don't bother applying _bt_isequal() toTom Lane2003-09-02
| | | | | | | | killed items; just skip to the next item immediately. Only check for key equality when we reach a non-killed item or the end of the index page. This saves key comparisons when there are lots of killed items, as for example in a heavily-updated table that's not been vacuumed lately. Seems to be a win for pgbench anyway.
* Remove outdated CLI things.Peter Eisentraut2003-09-02
|
* Cause standalone backend (including bootstrap case) to read the GUCTom Lane2003-09-02
| | | | | | | | | | config file if it exists. This was already discussed as being a good idea, and now seems the cleanest way to deal with initdb-time failures on machines with small SHMMAX. (The submitted patches instead modified initdb.sh to pass the correct sizing parameters, but that would still leave standalone backends prone to failure later. An admin who needs to use a standalone backend has enough trouble already, he shouldn't have to manually configure its shmem settings...)
* Several fixes for hash indexes that involve changing the on-disk indexTom Lane2003-09-02
| | | | | | | | | layout; therefore, this change forces REINDEX of hash indexes (though not a full initdb). Widen hashm_ntuples to double so that hash space management doesn't get confused by more than 4G entries; enlarge the allowed number of free-space-bitmap pages; replace the useless bshift field with a useful bmshift field; eliminate 4 bytes of wasted space in the per-page special area.
* Fix a couple typos, add some more comments.Tom Lane2003-09-02
|
* Rewrite hashbulkdelete() to make it amenable to new bucket lockingTom Lane2003-09-02
| | | | | | | scheme. A pleasant side effect is that it is *much* faster when deleting a large fraction of the indexed tuples, because of elimination of redundant hash_step activity induced by hash_adjscans. Various other continuing code cleanup.
* Do not pass server_encoding to the client.Peter Eisentraut2003-09-01
| | | | | | libpq, talking to an old server, should assume SQL_ASCII as the default client encoding, because that is what the server will actually use (not the server encoding).
* Clean up after pygresql removal: adjust/remove documentation and removePeter Eisentraut2003-09-01
| | | | unneeded configure work.
* Preliminary cleanup for hash index code (doesn't attack the locking problemTom Lane2003-09-01
| | | | | | | | | yet). Fix a couple of bugs that would only appear if multiple bitmap pages are used, including a buffer reference leak and incorrect computation of bit indexes. Get rid of 'overflow address' concept, which accomplished nothing except obfuscating the code and creating a risk of failure due to limited range of offset field. Rename some misleadingly-named fields and routines, and improve documentation.
* Add some internals documentation for hash indexes, including anTom Lane2003-09-01
| | | | | | explanation of the remarkably confusing page addressing scheme. The file also includes my planned-but-not-yet-implemented revision of the hash index locking scheme.
* Fixed two bugs in pgtypes library.Michael Meskes2003-09-01
|
* Rename DoIt to changeVar, for clarity.Bruce Momjian2003-09-01
|
* Translation updatePeter Eisentraut2003-08-31
|
* Guard against pgindent changing =- to = -.Bruce Momjian2003-08-30
|
* Fix unixware template --- had spaces around equals.Bruce Momjian2003-08-30
|
* pg_dump and pg_restore -r had managed to diverge on the ordering ofTom Lane2003-08-28
| | | | | different object types. Fix, and centralize logic to try to prevent the same mistake in future.
* Ensure that FK constraints are dumped after primary/unique constraints,Tom Lane2003-08-28
| | | | | rather than relying on OID order of pg_constraint entries. Per gripe from Greg Stark.
* Fix stupid typo (mine I suppose) in CopyGetData. Per report from Dave Cramer.Tom Lane2003-08-28
|
* Adjust date/time input parsing code to correctly distinguish the fourTom Lane2003-08-27
| | | | | | | SQLSTATE error codes required by SQL99 (invalid format, datetime field overflow, interval field overflow, invalid time zone displacement value). Also emit a HINT about DateStyle in cases where it seems appropriate. Per recent gripes.
* Department of second thoughts: can't reorder merge-join clauses.Tom Lane2003-08-27
|
* Share PG_DIAG_* macros between client and server and use them internally.Peter Eisentraut2003-08-27
|
* Push subplan clauses to the back in qual lists for join plans, notTom Lane2003-08-26
| | | | only scan plans. Per observation from Rod Taylor.
* Call it Linux, not GNU/Linux.Bruce Momjian2003-08-26
|
* Use separate SQLSTATE codes for file not found/file exists, rather thanTom Lane2003-08-26
| | | | | | | lumping them into ERRCODE_UNDEFINED_OBJECT/ERRCODE_DUPLICATE_OBJECT. This seems reasonable since 'object' was meant to refer to 'object in the database' and a file is outside the database. Per request from Dave Cramer.
* psql's HISTSIZE from .psqlrc do not want to be set so I did it for psqlBruce Momjian2003-08-26
| | | | | | that HISTSIZE might take effect from my .psqlrc Andriy Tkachuk
* This patch adds a new regression test for the UPDATE command. RightBruce Momjian2003-08-26
| | | | | | | | | | | | | | now all that is tested is Rod Taylor's recent addition to allow this syntax: UPDATE ... SET <col> = DEFAULT; If anyone else would like to add more UPDATE tests, go ahead -- I just wanted to write a test for the above functionality, and couldn't see an existing test that it would be appropriate to add to. Neil Conway
* Fixed connect statement with username in variable.Michael Meskes2003-08-26
|
* Attached is a (very small) patch to make analyze display someBruce Momjian2003-08-26
| | | | | | | interesting info in verbose mode about the analyzed relation (pages, rows per block and rows). Mark Kirkwood
* Mop-up for previous change to determine default shared_buffers andTom Lane2003-08-26
| | | | | | max_connections at initdb time. Get rid of DEF_NBUFFERS and DEF_MAXBACKENDS macros, which aren't doing anything useful anymore, and put more likely defaults into postgresql.conf.sample.
* Attempt to fix setMaxFieldSize() logic that was checked in yesterday.Barry Lind2003-08-26
| | | | | | | | | | I think this should fix the problem, but since I don't have a reproducable test case, I can't be sure. This problem is reported by Kim Ho of redhat, who will test this fix. This also includes a test case for the original functionality. Modified Files: jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java jdbc/org/postgresql/test/jdbc2/ResultSetTest.java
* Add the Brazilian time zone abbreviations BRT, BRST, FNT, FNST.Tom Lane2003-08-25
| | | | | ACT and ACST were already present. AMT and AMST conflict with the existing entries for Armenia; no change there for the moment.
* Allow parsing of time and timetz inputs to accept the documented inputTom Lane2003-08-25
| | | | | syntax '040506' for '04:05:06', as well as '0405' for '04:05:00'. This has been broken since 7.2 but was only recently complained of.
* Translation updatesPeter Eisentraut2003-08-25
|
* Refactor code so that to_date() does not call to_timestamp() and thenTom Lane2003-08-25
| | | | | | | perform a timestamp-to-date coercion. Instead both routines share a subroutine that delivers the parsing result as a struct tm. This avoids problems with timezone dependency of to_date's result, and should be at least marginally faster too.
* Synced parser and fixed a bug in error output to log file.Michael Meskes2003-08-25
|
* Fix unixware thread test.Bruce Momjian2003-08-25
|
* Fix GB18030 to UTF-8 mapping tableTatsuo Ishii2003-08-25
|
* Add quotes to += of unixware threads define.Bruce Momjian2003-08-24
|
* Applied patches from Oliver Jowett to fix the following bugs:Barry Lind2003-08-24
| | | | | | | | | | | | - adds a finalizer method to AbstractJdbc1Statement to clean up in the case of poor user code which fails to close the statement object - fix ant build file to correctly detect dependencies across jdbc1/jdbc2/jdbc3 - fix a coupld of server prepared statement bugs and added regression test for them Applied patch from Kim Ho: - adds support for get/setMaxFieldSize(). Also fixed build.xml to provide a better error message in the event that an older version of the driver exists in the classpath when trying to build.
* Fix translation mistake.Peter Eisentraut2003-08-24
|