summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2003-10-10Change Win32 rename/unlink timeout to 3 seconds.origin/WIN32_DEVBruce Momjian
2003-09-12Remove WIN32 console.Bruce Momjian
2003-09-07Update WIN32 branch from CVS HEAD.Bruce Momjian
2003-09-07Update this branch to match CVS head, includes WIN32 improvements.Bruce Momjian
2003-08-15Rewrite array_cmp to not depend on deconstruct_array. Should be a littleTom Lane
faster, but more importantly does not leak memory. Still needs more work though, per my recent note to pgsql-hackers.
2003-08-14Adjustment for unixware threading.Bruce Momjian
2003-08-14Mark unixware as having threaded support.Bruce Momjian
2003-08-14Add missing quotes.Tom Lane
2003-08-14Someone moved PageOutput here from common.c, but forgot to move allTom Lane
the #includes it depends on.
2003-08-14Remove unnecessary #include's (see c.h).Tom Lane
2003-08-14Workaround for platforms that have getaddrinfo() without AI_NUMERICHOST.Tom Lane
We don't actually need the flag, so just #define it as zero in such cases.
2003-08-14Handle double-quotes correctly in user names in ACL lists.Tom Lane
Christopher Kings-Lynne
2003-08-14Document threading status.Bruce Momjian
Update to POSIX getpwuid_r() function.
2003-08-13Adjust for compiler options for compiler bug.Bruce Momjian
Larry Rosenman
2003-08-13libpq failed to cope with COPY FROM STDIN if the command was issuedTom Lane
via extended query protocol, because it sends Sync right after Execute without realizing that the command to be executed is COPY. There seems to be no reasonable way for it to realize that, either, so the best fix seems to be to make the backend ignore Sync during copy-in mode. Bit of a wart on the protocol, but little alternative. Also, libpq must send another Sync after terminating the COPY, if the command was issued via Execute.
2003-08-13Add PQexecPrepared() and PQsendQueryPrepared() functions, to allowTom Lane
libpq users to perform Bind/Execute of previously prepared statements. Per yesterday's discussion, this offers enough performance improvement to justify bending the 'no new features during beta' rule.
2003-08-13Move MemoryContextCheck() call from bottom of PostgresMain loop toTom Lane
just before CommitTransactionCommand(). This is a more sensible place to put it since commit discards a lot of contexts, and we'd not find out about stomps affecting only transaction-local contexts.
2003-08-13I'm quite fond of doing VPATH builds, i.e. building outside the sourceBruce Momjian
tree. This also catches lots of little Makefile bugs, so here's a small patch for one of them (replacing an explicit reference to thread.c with a reference to it as the first prerequsite of the rule makes make look for it in the place where it was found (the source tree) rather than in the build tree. (using GNU make 3.79.1) John Gray
2003-08-12Include 'IPv4', 'IPv6', or 'Unix' in socket-creation failure messages,Tom Lane
in hopes of soothing fears of those with partial IPv6 support. Still an open question whether we should report EAFNOSUPPORT errors at all, though.
2003-08-12Cope with NoData message from backend. Needed for case whereTom Lane
PQexecParams is used with a statement that doesn't return data.
2003-08-12Marginal hacks to move some processing out of the per-client-messageTom Lane
processing loop; avoids extra overhead when using parse/bind/execute messages instead of single Query message.
2003-08-12Change some frequently-reached elog(DEBUG...) calls to ereport(DEBUG...)Tom Lane
for speed reasons. (ereport falls out much more quickly when no output is needed than elog does.)
2003-08-12Avoid unnecessary work when stats collection is disabled. TightenTom Lane
search loop in pgstat_initstats. Per report from Gavin Sherry.
2003-08-11Applied patch from Oliver Jowett to clean up the jdbc regression test buildBarry Lind
Modified Files: jdbc/build.xml jdbc/org/postgresql/test/jdbc3/Jdbc3TestSuite.java
2003-08-11Rewriter and planner should use only resno, not resname, to identifyTom Lane
target columns in INSERT and UPDATE targetlists. Don't rely on resname to be accurate in ruleutils, either. This fixes bug reported by Donald Fraser, in which renaming a column referenced in a rule did not work very well.
2003-08-11Applied patch from Oliver Jowett to better handle invalid input for getArrayBarry Lind
(no longer throw an index out of range exception) Modified Files: jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java
2003-08-11Applied patch from Oliver Jowett to clean up some aditional warning messagesBarry Lind
from ant. Modified Files: jdbc/build.xml
2003-08-11Applied patch from Oliver Jewett to fix a deprecation in newer versions of antBarry Lind
Modified Files: jdbc/build.xml
2003-08-11Applied patch from Oliver Jewett to clean up the testing README fileBarry Lind
Modified Files: jdbc/org/postgresql/test/README
2003-08-11Applied patch by Oliver Jowett to clean up some exception handlingBarry Lind
Modified Files: jdbc/org/postgresql/core/QueryExecutor.java jdbc/org/postgresql/util/PSQLException.java
2003-08-11Applied patch from Oliver Jowett to improve a buffer sizing.Barry Lind
Modified Files: jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java
2003-08-11Applied patch from Kim Ho to fix a regression against a 7.4 server. The resultBarry Lind
of transaction isolation level changed from uppercase to lower case between 7.3 and 7.4. In testing, a regression was also fixed in this area when talking to a 7.2 server due to changes in how notice messages are processed in the current code. Modified Files: jdbc/build.xml jdbc/org/postgresql/core/BaseStatement.java jdbc/org/postgresql/jdbc1/AbstractJdbc1Connection.java
2003-08-11Code cleanup inspired by recent resname bug report (doesn't fix the bugTom Lane
yet, though). Avoid using nth() to fetch tlist entries; provide a common routine get_tle_by_resno() to search a tlist for a particular resno. This replaces a couple uses of nth() and a dozen hand-coded search loops. Also, replace a few uses of nth(length-1, list) with llast().
2003-08-11Do not link in libwsock32 on non-win32 platforms. Improve grammarTom Lane
of thread-safety comments.
2003-08-11Translation updatesPeter Eisentraut
2003-08-10Repair potential deadlock created by recent changes to recycle btreeTom Lane
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.
2003-08-09I get the following warning when I compile src/bin/pg_id/pg_id.c:Bruce Momjian
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
2003-08-09This makes psql use the new pg_get_viewdef function. It also puts oneBruce Momjian
extra line break in to improve formatting. Christopher Kings-Lynne
2003-08-08Another pgindent run with updated typedefs.Bruce Momjian
2003-08-08pgindent fix for new typedefs.Bruce Momjian
2003-08-08Avoid malloc(0). Although standard mallocs seem not to object,Tom Lane
some debugging malloc packages do.
2003-08-08Fix nasty little order-of-operations bug in _SPI_cursor_operation.Tom Lane
Per report from Mendola Gaetano.
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