summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2003-08-08Remove, no in /port.Bruce Momjian
2003-08-08sprompt not needed in libpq.Bruce Momjian
2003-08-08Suppress unused-variable warnings when building without Asserts.Tom Lane
2003-08-08Conversion functions must be STRICT to prevent them from getting null inputs.Tom Lane
2003-08-08Fix null checking of type decimal datums without indicator in InformixPeter Eisentraut
mode. from Dave Cramer
2003-08-08Be a little bit more careful about using sqlstate, in case libpq returnedPeter Eisentraut
NULL for it.
2003-08-08Translation updates by Dennis BjörklundPeter Eisentraut
2003-08-08Remove postgres_ext.h inclusion -- not necessary.Peter Eisentraut
2003-08-08Move simple_prompt()/sprompt.c into /port.Bruce Momjian
2003-08-08Makefile cleanup.Bruce Momjian
2003-08-08Cleanup.Bruce Momjian
2003-08-08Typo cleanup.Bruce Momjian
2003-08-08Makefile cleanup.Bruce Momjian
2003-08-08More thread.c cleanup.Bruce Momjian
2003-08-08More threading cleanups.Bruce Momjian
2003-08-08more thread.c consistency.Bruce Momjian
2003-08-08threads.c -> thread.c, be consistent.Bruce Momjian
2003-08-08Remove space between function name and opening paren in pg_dump, forBruce Momjian
clarity.
2003-08-08Fix floating-point timestamp comparisons to not go nuts if NaN isTom Lane
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.
2003-08-07Clean up function header.Bruce Momjian
2003-08-07Don't assume that struct option is available just because we can find aTom Lane
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.
2003-08-07SCO_ACCEPT_BUG code didn't get updated for new SockAddr struct definition.Tom Lane
2003-08-07create_unique_plan() should not discard existing output columns of theTom Lane
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.
2003-08-07Don't use HAVE_STRUCT_ADDRINFO as a guide to whether netdb.h definesTom Lane
macros like AI_NUMERICHOST; instead, test the macros individually. Should fix recent reports of trouble on AIX and Unixware.
2003-08-07Make table column type TEXT.Bruce Momjian
2003-08-07Add iteration option to thread test program.Bruce Momjian
2003-08-07Update pgindent readme.Bruce Momjian
2003-08-07Remove unnecessary use of multiple cat processes to feed psql; thisTom Lane
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.
2003-08-07Update typedef names for pgindent 7.4.Bruce Momjian
2003-08-07Update ecpg thread testing program to be more automated.Bruce Momjian
2003-08-07Include postgres_ext.h instead of postgres_fe.h. This allows ecpgBruce Momjian
output C files to proper compile again.
2003-08-07Add -lm for ecpg/pgtypeslib/Makefile link so -lm isn't required for ecpgBruce Momjian
compiles.
2003-08-07Sometimes the third time is the charm. Third try to fix the sql injectionBarry Lind
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
2003-08-06Rename fields of DestReceiver to avoid collisions with (ill-considered)Tom Lane
macros in some platforms' sys/socket.h.
2003-08-06Adopt a random backoff algorithm for sleep delays when waiting for aTom Lane
spinlock. Per recent pghackers discussion.
2003-08-06Fix compiler-detected problem for Alphas: it seems strlen returnsTom Lane
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.
2003-08-06Applied patch from kho@redhat.com to fix a problem with trying to use a fetchBarry Lind
when a cursor wasn't being used. Modified Files: jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java
2003-08-06Add ecpg thread testing file.Bruce Momjian
2003-08-05Improve documentation of ParseDateTime(). Reorder tests to preventTom Lane
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.
2003-08-05Fix several places where fractional-second inputs were misprocessedTom Lane
in HAVE_INT64_TIMESTAMP cases, including two potential stack smashes when more than six fractional digits were supplied. Per bug report from Philipp Reisner.
2003-08-04Fix some copyright notices that weren't updated. Improve copyright toolTom Lane
so it won't miss 'em again.
2003-08-04Re-add USE_THREADS, used by ecpg.Bruce Momjian
2003-08-04Must print server's failure message before trying reconnect, not after.Tom Lane
2003-08-04Fix pltcl and plpython to support STATEMENT triggers.Tom Lane
Joe Conway
2003-08-04SSL_read/SSL_write do not approximate the return conventions of recv()Tom Lane
and send() very well at all; and in any case we can't use retval==0 for EOF due to race conditions. Make the same fixes in the backend as are required in libpq.
2003-08-04Fix some more problems with testing error returns from SSL.Tom Lane
2003-08-04Fix thread handling in configure.Bruce Momjian
2003-08-04Minor cleanups in S_LOCK_TEST code.Tom Lane
2003-08-04HPUX's horology behavior is OS-dependent, not hardware-dependent.Tom Lane
2003-08-04Translation updatesPeter Eisentraut