summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Change Win32 rename/unlink timeout to 3 seconds.WIN32_DEVBruce Momjian2003-10-101-4/+4
|
* Remove WIN32 console.Bruce Momjian2003-09-123-22/+4
|
* Update WIN32 branch from CVS HEAD.Bruce Momjian2003-09-076-42/+7
|
* Update this branch to match CVS head, includes WIN32 improvements.Bruce Momjian2003-09-07191-77523/+74262
|
* Rewrite array_cmp to not depend on deconstruct_array. Should be a littleTom Lane2003-08-151-37/+46
| | | | | faster, but more importantly does not leak memory. Still needs more work though, per my recent note to pgsql-hackers.
* Adjustment for unixware threading.Bruce Momjian2003-08-141-1/+3
|
* Mark unixware as having threaded support.Bruce Momjian2003-08-141-0/+4
|
* Add missing quotes.Tom Lane2003-08-141-4/+4
|
* Someone moved PageOutput here from common.c, but forgot to move allTom Lane2003-08-141-1/+5
| | | | the #includes it depends on.
* Remove unnecessary #include's (see c.h).Tom Lane2003-08-141-3/+1
|
* Workaround for platforms that have getaddrinfo() without AI_NUMERICHOST.Tom Lane2003-08-141-2/+10
| | | | We don't actually need the flag, so just #define it as zero in such cases.
* Handle double-quotes correctly in user names in ACL lists.Tom Lane2003-08-142-21/+40
| | | | Christopher Kings-Lynne
* Document threading status.Bruce Momjian2003-08-141-11/+40
| | | | Update to POSIX getpwuid_r() function.
* Adjust for compiler options for compiler bug.Bruce Momjian2003-08-131-1/+4
| | | | Larry Rosenman
* libpq failed to cope with COPY FROM STDIN if the command was issuedTom Lane2003-08-134-17/+55
| | | | | | | | | | 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.
* Add PQexecPrepared() and PQsendQueryPrepared() functions, to allowTom Lane2003-08-134-63/+182
| | | | | | 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.
* Move MemoryContextCheck() call from bottom of PostgresMain loop toTom Lane2003-08-131-12/+8
| | | | | | 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.
* I'm quite fond of doing VPATH builds, i.e. building outside the sourceBruce Momjian2003-08-131-2/+2
| | | | | | | | | | 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
* Include 'IPv4', 'IPv6', or 'Unix' in socket-creation failure messages,Tom Lane2003-08-121-5/+37
| | | | | | in hopes of soothing fears of those with partial IPv6 support. Still an open question whether we should report EAFNOSUPPORT errors at all, though.
* Cope with NoData message from backend. Needed for case whereTom Lane2003-08-121-3/+13
| | | | PQexecParams is used with a statement that doesn't return data.
* Marginal hacks to move some processing out of the per-client-messageTom Lane2003-08-121-44/+45
| | | | | processing loop; avoids extra overhead when using parse/bind/execute messages instead of single Query message.
* Change some frequently-reached elog(DEBUG...) calls to ereport(DEBUG...)Tom Lane2003-08-125-50/+96
| | | | | for speed reasons. (ereport falls out much more quickly when no output is needed than elog does.)
* Avoid unnecessary work when stats collection is disabled. TightenTom Lane2003-08-121-101/+108
| | | | search loop in pgstat_initstats. Per report from Gavin Sherry.
* Applied patch from Oliver Jowett to clean up the jdbc regression test buildBarry Lind2003-08-112-48/+42
| | | | | | Modified Files: jdbc/build.xml jdbc/org/postgresql/test/jdbc3/Jdbc3TestSuite.java
* Rewriter and planner should use only resno, not resname, to identifyTom Lane2003-08-1115-116/+145
| | | | | | | 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.
* Applied patch from Oliver Jowett to better handle invalid input for getArrayBarry Lind2003-08-111-1/+3
| | | | | | | (no longer throw an index out of range exception) Modified Files: jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java
* Applied patch from Oliver Jowett to clean up some aditional warning messagesBarry Lind2003-08-111-3/+3
| | | | | | | from ant. Modified Files: jdbc/build.xml
* Applied patch from Oliver Jewett to fix a deprecation in newer versions of antBarry Lind2003-08-111-4/+7
| | | | | Modified Files: jdbc/build.xml
* Applied patch from Oliver Jewett to clean up the testing README fileBarry Lind2003-08-111-3/+3
| | | | | Modified Files: jdbc/org/postgresql/test/README
* Applied patch by Oliver Jowett to clean up some exception handlingBarry Lind2003-08-112-12/+4
| | | | | | Modified Files: jdbc/org/postgresql/core/QueryExecutor.java jdbc/org/postgresql/util/PSQLException.java
* Applied patch from Oliver Jowett to improve a buffer sizing.Barry Lind2003-08-111-2/+2
| | | | | Modified Files: jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java
* Applied patch from Kim Ho to fix a regression against a 7.4 server. The resultBarry Lind2003-08-112-6/+10
| | | | | | | | | | 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
* Code cleanup inspired by recent resname bug report (doesn't fix the bugTom Lane2003-08-1112-317/+162
| | | | | | | | 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().
* Do not link in libwsock32 on non-win32 platforms. Improve grammarTom Lane2003-08-111-4/+4
| | | | of thread-safety comments.
* Translation updatesPeter Eisentraut2003-08-118-11419/+6002
|
* Repair potential deadlock created by recent changes to recycle btreeTom Lane2003-08-103-11/+67
| | | | | | | | | | 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-091-2/+1
| | | | | | | | | | | 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-091-3/+3
| | | | | | extra line break in to improve formatting. Christopher Kings-Lynne
* Another pgindent run with updated typedefs.Bruce Momjian2003-08-08103-670/+668
|
* pgindent fix for new typedefs.Bruce Momjian2003-08-081-1/+1
|
* Avoid malloc(0). Although standard mallocs seem not to object,Tom Lane2003-08-081-10/+15
| | | | some debugging malloc packages do.
* Fix nasty little order-of-operations bug in _SPI_cursor_operation.Tom Lane2003-08-081-6/+17
| | | | Per report from Mendola Gaetano.
* Remove, no in /port.Bruce Momjian2003-08-081-126/+0
|
* sprompt not needed in libpq.Bruce Momjian2003-08-081-3/+3
|
* Suppress unused-variable warnings when building without Asserts.Tom Lane2003-08-082-2/+6
|
* Conversion functions must be STRICT to prevent them from getting null inputs.Tom Lane2003-08-081-2/+2
|
* Fix null checking of type decimal datums without indicator in InformixPeter Eisentraut2003-08-081-3/+5
| | | | | | mode. from Dave Cramer
* Be a little bit more careful about using sqlstate, in case libpq returnedPeter Eisentraut2003-08-082-8/+22
| | | | NULL for it.
* Translation updates by Dennis BjörklundPeter Eisentraut2003-08-086-4761/+5905
|
* Remove postgres_ext.h inclusion -- not necessary.Peter Eisentraut2003-08-081-1/+0
|