summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
2003-08-04Remove --enable-recode feature, since it's been broken by IPv6 changes,Tom Lane
and seems to have too few users to justify maintaining.
2003-08-04Update copyrights to 2003.Bruce Momjian
2003-08-04Fix for 2003 again.Bruce Momjian
2003-08-04Update copyright script for 2003.Bruce Momjian
2003-08-04Put back braces removed by pgindent (not really pgindent's fault).Tom Lane
2003-08-04pgindent run.Bruce Momjian
2003-08-04Remove extra paren in NOT_USED code, found by pgindent.Bruce Momjian
2003-08-03Tighten inline_function's test for overly complex parameters. ThisTom Lane
should catch most situations where repeated inlining blows up the expression complexity unreasonably, as in Joe Conway's recent example.
2003-08-03Reconsider context for calling callback functions --- original ideaTom Lane
that they aren't part of error processing is clearly faulty.
2003-08-01Comment out entries for IPv6 localhost connections, since they failTom Lane
on machines with no IPv6 support.
2003-08-01Postmaster erroneously rejected SSL connections on IPv6.Tom Lane
2003-08-01Fix some unprotected references to AF_UNIX ... wouldn't compile onTom Lane
platforms without AF_UNIX sockets.
2003-08-01inet_recv() wasn't IPv6-ready.Tom Lane
2003-08-01Code review for sslmode patch: eliminate memory leak, avoid giving aTom Lane
completely useless error message in 'allow' case, don't retry connection at the sendauth stage (by then the server will either let us in or not, no point in wasting cycles on another try in the other SSL state).
2003-08-01Since HPUX now exists for Itanium, we should decouple the assumptionTom Lane
that OS=hpux is the same as CPU=hppa. First steps at doing this. With these patches, we still work on hppa with either gcc or HP's cc. We might work on hpux/itanium with gcc, but I can't test it. Definitely will not work on hpux/itanium with non-gcc compiler, for lack of spinlock code.
2003-08-01Get the include ordering right for TCL includes vs whatever is comingTom Lane
from --with-includes.
2003-08-01Missed two places to replace union member.Michael Meskes
2003-08-01Fix a few of the more blatantly unportable constructs in this file.Tom Lane
2003-08-01Fix inconsistent static-vs-not-static declarations.Tom Lane
2003-08-01Fix compile warning.Tom Lane
2003-08-01Russian translation updates by Serguei MokhovPeter Eisentraut
2003-08-01Use only two-part shared library version numbers, for better portabilityPeter Eisentraut
and consistency.
2003-08-01While having a parallel-make-safe genbki.sh is good, it's better not toPeter Eisentraut
uselessly invoke it in parallel in the first place.
2003-08-01Make ecpg SQLSTATE-aware. Map existing SQLCODE assignments to SQLSTATEs,Peter Eisentraut
rather than parsing the message. Add some documentation about embedded SQL.
2003-08-01Update comments.Bruce Momjian
2003-08-01Update comments.Bruce Momjian