aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* Do not link in libwsock32 on non-win32 platforms. Improve grammarTom Lane2003-08-11
| | | | of thread-safety comments.
* Translation updatesPeter Eisentraut2003-08-11
|
* Repair potential deadlock created by recent changes to recycle btreeTom Lane2003-08-10
| | | | | | | | | | index pages: when _bt_getbuf asks the FSM for a free index page, it is possible (and, in some cases, even moderately likely) that the answer will be the same page that _bt_split is trying to split. _bt_getbuf already knew that the returned page might not be free, but it wasn't prepared for the possibility that even trying to lock the page could be problematic. Fix by doing a conditional rather than unconditional grab of the page lock.
* I get the following warning when I compile src/bin/pg_id/pg_id.c:Bruce Momjian2003-08-09
| | | | | | | | | | | gcc -pipe -g -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/include -c -o pg_id.o pg_id.c -MMD pg_id.c: In function `main': pg_id.c:35: warning: unused variable `optarg' The attached trivial patch fixes the warning by removing the variable. Neil Conway
* This makes psql use the new pg_get_viewdef function. It also puts oneBruce Momjian2003-08-09
| | | | | | extra line break in to improve formatting. Christopher Kings-Lynne
* Another pgindent run with updated typedefs.Bruce Momjian2003-08-08
|
* pgindent fix for new typedefs.Bruce Momjian2003-08-08
|
* Avoid malloc(0). Although standard mallocs seem not to object,Tom Lane2003-08-08
| | | | some debugging malloc packages do.
* Fix nasty little order-of-operations bug in _SPI_cursor_operation.Tom Lane2003-08-08
| | | | Per report from Mendola Gaetano.
* Remove, no in /port.Bruce Momjian2003-08-08
|
* sprompt not needed in libpq.Bruce Momjian2003-08-08
|
* Suppress unused-variable warnings when building without Asserts.Tom Lane2003-08-08
|
* Conversion functions must be STRICT to prevent them from getting null inputs.Tom Lane2003-08-08
|
* Fix null checking of type decimal datums without indicator in InformixPeter Eisentraut2003-08-08
| | | | | | mode. from Dave Cramer
* Be a little bit more careful about using sqlstate, in case libpq returnedPeter Eisentraut2003-08-08
| | | | NULL for it.
* Translation updates by Dennis BjörklundPeter Eisentraut2003-08-08
|
* Remove postgres_ext.h inclusion -- not necessary.Peter Eisentraut2003-08-08
|
* Move simple_prompt()/sprompt.c into /port.Bruce Momjian2003-08-08
|
* Makefile cleanup.Bruce Momjian2003-08-08
|
* Cleanup.Bruce Momjian2003-08-08
|
* Typo cleanup.Bruce Momjian2003-08-08
|
* Makefile cleanup.Bruce Momjian2003-08-08
|
* More thread.c cleanup.Bruce Momjian2003-08-08
|
* More threading cleanups.Bruce Momjian2003-08-08
|
* more thread.c consistency.Bruce Momjian2003-08-08
|
* threads.c -> thread.c, be consistent.Bruce Momjian2003-08-08
|
* Remove space between function name and opening paren in pg_dump, forBruce Momjian2003-08-08
| | | | clarity.
* Fix floating-point timestamp comparisons to not go nuts if NaN isTom Lane2003-08-08
| | | | | | encountered; per bug report from Christian van der Leeden 8/7/03. Also, adjust larger/smaller routines (MAX/MIN) to share code with comparisons for timestamp, interval, timetz.
* Clean up function header.Bruce Momjian2003-08-07
|
* Don't assume that struct option is available just because we can find aTom Lane2003-08-07
| | | | | | | getopt_long(). This is more or less the same problem as we saw earlier with getaddrinfo() and struct addrinfo, and for the same reason: random user-added libraries might contain the subroutine, but there's no guarantee we will find the matching header files.
* SCO_ACCEPT_BUG code didn't get updated for new SockAddr struct definition.Tom Lane2003-08-07
|
* create_unique_plan() should not discard existing output columns of theTom Lane2003-08-07
| | | | | | subplan it starts with, as they may be needed at upper join levels. See comments added to code for the non-obvious reason why. Per bug report from Robert Creager.
* Don't use HAVE_STRUCT_ADDRINFO as a guide to whether netdb.h definesTom Lane2003-08-07
| | | | | macros like AI_NUMERICHOST; instead, test the macros individually. Should fix recent reports of trouble on AIX and Unixware.
* Make table column type TEXT.Bruce Momjian2003-08-07
|
* Add iteration option to thread test program.Bruce Momjian2003-08-07
|
* Update pgindent readme.Bruce Momjian2003-08-07
|
* Remove unnecessary use of multiple cat processes to feed psql; thisTom Lane2003-08-07
| | | | | | | reduces the number of concurrent processes launched during parallel regression tests, possibly avoiding failures such as exceeding a user's max number of processes. This essentially completes the reversion of 1.27->1.28.
* Update typedef names for pgindent 7.4.Bruce Momjian2003-08-07
|
* Update ecpg thread testing program to be more automated.Bruce Momjian2003-08-07
|
* Include postgres_ext.h instead of postgres_fe.h. This allows ecpgBruce Momjian2003-08-07
| | | | output C files to proper compile again.
* Add -lm for ecpg/pgtypeslib/Makefile link so -lm isn't required for ecpgBruce Momjian2003-08-07
| | | | compiles.
* Sometimes the third time is the charm. Third try to fix the sql injectionBarry Lind2003-08-07
| | | | | | | | | | | | | | | vulnerability. This fix completely removes the ability (hack) of being able to bind a list of values in an in clause. It was demonstrated that by allowing that functionality you open up the possibility for certain types of sql injection attacks. The previous fix attempts all focused on preventing the insertion of additional sql statements (the semi-colon problem: xxx; any new sql statement here). But that still left the ability to change the where clause on the current statement or perform a subselect which can circumvent applicaiton security logic and/or allow you to call any stored function. Modified Files: jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java
* Rename fields of DestReceiver to avoid collisions with (ill-considered)Tom Lane2003-08-06
| | | | macros in some platforms' sys/socket.h.
* Adopt a random backoff algorithm for sleep delays when waiting for aTom Lane2003-08-06
| | | | spinlock. Per recent pghackers discussion.
* Fix compiler-detected problem for Alphas: it seems strlen returnsTom Lane2003-08-06
| | | | | | something wider than int on that platform. Also, remove bogus assumption that sizeof("INT_MAX") has something to do with the maximum number of digits in an int.
* Applied patch from kho@redhat.com to fix a problem with trying to use a fetchBarry Lind2003-08-06
| | | | | | | when a cursor wasn't being used. Modified Files: jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java
* Add ecpg thread testing file.Bruce Momjian2003-08-06
|
* Improve documentation of ParseDateTime(). Reorder tests to preventTom Lane2003-08-05
| | | | | | writing one more value into return arrays than will fit. This is potentially a stack smash, though I do not think it is a problem in current uses of the routine, since a failure return causes elog anyway.
* Fix several places where fractional-second inputs were misprocessedTom Lane2003-08-05
| | | | | | in HAVE_INT64_TIMESTAMP cases, including two potential stack smashes when more than six fractional digits were supplied. Per bug report from Philipp Reisner.
* Fix some copyright notices that weren't updated. Improve copyright toolTom Lane2003-08-04
| | | | so it won't miss 'em again.