aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* autoconf/autoheader run.Bruce Momjian2003-09-13
|
* Attempt threading in this order:Bruce Momjian2003-09-13
| | | | | | | | | * use non-*_r function names if they are all thread-safe * (NEED_REENTRANT_FUNCS=no) * use *_r functions if they exist (configure test) * do our own locking and copying of non-threadsafe functions New to this patch is the last option.
* More SQLState updates from Kim Ho at Redhat.Barry Lind2003-09-13
| | | | | | | | | | | | | | | | | | | | | | | | | Also a patch from Kris Jurka to correctly report SQLState support. Modified Files: jdbc/org/postgresql/Driver.java.in jdbc/org/postgresql/core/QueryExecutor.java jdbc/org/postgresql/fastpath/Fastpath.java jdbc/org/postgresql/geometric/PGbox.java jdbc/org/postgresql/geometric/PGcircle.java jdbc/org/postgresql/geometric/PGline.java jdbc/org/postgresql/geometric/PGlseg.java jdbc/org/postgresql/geometric/PGpath.java jdbc/org/postgresql/geometric/PGpoint.java jdbc/org/postgresql/jdbc1/AbstractJdbc1Connection.java jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSetMetaData.java jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSetMetaData.java jdbc/org/postgresql/jdbc2/Array.java jdbc/org/postgresql/jdbc3/AbstractJdbc3DatabaseMetaData.java jdbc/org/postgresql/util/PGmoney.java jdbc/org/postgresql/util/PSQLState.java
* Revert to our pre-7.4 behavior of identifying Unix-socket connections inTom Lane2003-09-12
| | | | | | ps status as '[local]', not as 'localhost' as the code has been doing recently. That's too easily confused with TCP loopback connections, and there is no good reason to change the behavior anyway.
* Someone (possibly me) foolishly reduced the response for failingTom Lane2003-09-12
| | | | | | | to create a TCP/IP socket from FATAL to LOG. This was unwise; historically we have expected socket conflicts to abort postmaster startup. Conflicts on port numbers with another postmaster can only be detected reliably at the TCP socket level.
* Mark FreeBSD as non-thread-safe.Bruce Momjian2003-09-12
|
* Implement compiler #error if spinlock code not found, add configure flagBruce Momjian2003-09-12
| | | | to bypass the error, --without-spinlocks.
* Enable Opteron/Itanium spinlocks.Bruce Momjian2003-09-12
|
* Remove WIN32_CONSOLE support, at the request of the author.Bruce Momjian2003-09-12
|
* Fix old mention of exec() in AttachSharedMemoryAndSemaphores comment.Bruce Momjian2003-09-12
|
* Message in the other exit from acquire_sample_rows(), as per updateTom Lane2003-09-11
| | | | from Mark Kirkwood. Also show the sample size.
* Try to make recently-added analyze log message look something likeTom Lane2003-09-11
| | | | the others in style.
* Consistenly lowercase GUC variable names, in docs and error messages.Bruce Momjian2003-09-11
|
* seemed like a typo in one of the appendix tablesBruce Momjian2003-09-11
| | | | Robert Treat
* Fix missed message update, per Alvaro Herrera.Tom Lane2003-09-11
|
* Update row count for \? output, used by pager.Bruce Momjian2003-09-10
|
* Improve error message for cp or rm failur during create/drop database,Tom Lane2003-09-10
| | | | per recent discussions.
* copydir() is supposed to return on failure, not elog(ERROR). ReduceTom Lane2003-09-10
| | | | ERROR to WARNING so we keep control.
* Add HINT if CREATE FUNCTION specifies a valid language, but the languageBruce Momjian2003-09-10
| | | | isn't loaded into the database.
* Some uppercase type definitions were left.Michael Meskes2003-09-10
|
* Here is a patch to make PostgreSQL use a full path in DT_SONAME forBruce Momjian2003-09-10
| | | | | | UnixWare. Larry Rosenman
* Some "feature not supported" errors are better syntax errors, because thePeter Eisentraut2003-09-09
| | | | | feature they complain about isn't a feature or cannot be implemented without definitional changes.
* Update comments about how locale settings are handled.Tom Lane2003-09-09
|
* Clean up some unused import warnings in the example jdbc codeBarry Lind2003-09-09
|
* Additional SQLState work for JDBC - thanks to Kim Ho at Redhat for input on thisBarry Lind2003-09-09
| | | | | | | | | | | Modified Files: jdbc/build.xml jdbc/org/postgresql/core/QueryExecutor.java jdbc/org/postgresql/jdbc1/AbstractJdbc1Connection.java jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java jdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java jdbc/org/postgresql/util/PSQLState.java
* - Added Dave patch for Informix handling of numeric/int conversion.Michael Meskes2003-09-09
| | | | | - Changed all new datatypes to lowercase. - Fixed rounding bug in numerical types.
* Opps, can't forget the new file. This is part of the last commit to applyBarry Lind2003-09-08
| | | | | | | the redhat patch for SQLState support. Added Files: PSQLState.java
* This set of changes applies a patch from KHO at redhat to add some SQLStateBarry Lind2003-09-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | support to the jdbc driver. That patch needed some work: it assumed the sqlcode in a server message was fixed in its position, the patch lost the ability to pass exceptions, and the patch missed a couple of places where server errors where being received. In addition to fixing the above, I also added full support for the V3 protocol error message syntax, I reversed the order of arguments in the PSQLException constructor to more closely follow the constructors for SQLException, I changed the new constructors that take PSQLState to take Object for additional parameters as the old ones did. Still todo are to add SQLState values to all existing exceptions thrown in the driver and add support for parsing the V3 protocol format for notices. Modified Files: jdbc/build.xml jdbc/org/postgresql/Driver.java.in jdbc/org/postgresql/errors.properties jdbc/org/postgresql/core/Encoding.java jdbc/org/postgresql/core/PGStream.java jdbc/org/postgresql/core/QueryExecutor.java jdbc/org/postgresql/fastpath/Fastpath.java jdbc/org/postgresql/jdbc1/AbstractJdbc1Connection.java jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java jdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java jdbc/org/postgresql/util/MessageTranslator.java jdbc/org/postgresql/util/PSQLException.java
* Avoid using s_addr as a local variable name, to work around brokenTom Lane2003-09-08
| | | | system headers on Unixware.
* Remove geqo_random_seed parameter. Having geqo reset the global random()Tom Lane2003-09-07
| | | | | | | | sequence every time it's called is bogus --- it interferes with user control over the seed, and actually decreases randomness overall (because a seed based on time(NULL) is pretty predictable). If you really want a reproducible result from geqo, do 'set seed = 0' before planning a query.
* Remove check on source address of a statistics packet. Check was brokenTom Lane2003-09-07
| | | | | by recent IPv6 changes, and since it's redundant with a kernel-level check anyway, it seems not worth trying to fix it. Per recent discussions.
* Changes for MinGW/WIN32:Bruce Momjian2003-09-07
| | | | | | | | | o allow configure to see include/port/win32 include files o add matching Win32 accept() prototype o allow pg_id to compile with native Win32 API o fix invalide mbvalidate() function calls (existing bug) o allow /scripts to compile with native Win32 API o add win32.c to Win32 compiles (already in *.mak files)
* Make the default pg_hba.conf include an entry for ::1 only if configureTom Lane2003-09-07
| | | | set HAVE_IPV6. Per recent discussions.
* load_file() has to remove pre-existing shlibs that match the new fileTom Lane2003-09-07
| | | | | | | on either name or inode; otherwise load_external_function() won't do anything. At least on Linux, it appears that recompiling a shlib leads to a new file with a different inode, so the old code failed to detect a match.
* Make all valid uses of the COLLATE clause yield the same result: a syntaxPeter Eisentraut2003-09-06
| | | | | error. There is no point in providing some kind of forward compatibility now, because no one can tell what a future implementation will look like.
* Rename variables for clarity.Bruce Momjian2003-09-06
|
* Second try at IPv4-to-v6 mapping code; avoid assuming that the structTom Lane2003-09-05
| | | | returned by getaddrinfo_all will have enough room for an IPv6 address.
* Allow IPv4-format entries in pg_hba.conf to match IPv6 connectionsTom Lane2003-09-05
| | | | that have IPv4-embedded-in-IPv6 addresses. Per idea of Andreas Pflug.
* ifdef out pqGetpwuid() because Win32 doesn't have struct passwd.Bruce Momjian2003-09-05
| | | | | Needed for libpq builds, not just for native Win32 port, and probably for cygwin too.
* This fixes three minor typos in hba.c.Bruce Momjian2003-09-05
| | | | | -- Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
* Clean up WIN32_CONSOLE code.Bruce Momjian2003-09-05
|
* Enable Win32 to compile libpq again, and enable SSL compiles on thatBruce Momjian2003-09-05
| | | | | | platform. Andreas Pflug
* Improve prototype casting for thread calls.Bruce Momjian2003-09-05
|
* Reimplement hash index locking algorithms, per my recent proposal toTom Lane2003-09-04
| | | | | | | | pghackers. This fixes the problem recently reported by Markus KrÌutner (hash bucket split corrupts the state of scans being done concurrently), and I believe it also fixes all the known problems with deadlocks in hash index operations. Hash indexes are still not really ready for prime time (since they aren't WAL-logged), but this is a step forward.
* Avoid consuming unreasonable amounts of memory when GRANT has manyTom Lane2003-09-04
| | | | grantees.
* Looks like plperl has same bug as pltcl.Tom Lane2003-09-04
|
* Fix some problems with dropped columns in pltcl functions.Tom Lane2003-09-04
|
* Allow non-super users to set log_duration to true, then false, when theBruce Momjian2003-09-04
| | | | | administrator has not turned it on, and fix other PGC_USERLIMIT variables.
* Re-upper case CHECKPOINT_SEGMENTS.Bruce Momjian2003-09-04
|
* Lowercase CHECKPOINT_SEGMENTS.Bruce Momjian2003-09-04
|