summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2003-09-11Consistenly lowercase GUC variable names, in docs and error messages.Bruce Momjian
2003-09-11seemed like a typo in one of the appendix tablesBruce Momjian
Robert Treat
2003-09-11Fix missed message update, per Alvaro Herrera.Tom Lane
2003-09-10Update row count for \? output, used by pager.Bruce Momjian
2003-09-10Improve error message for cp or rm failur during create/drop database,Tom Lane
per recent discussions.
2003-09-10copydir() is supposed to return on failure, not elog(ERROR). ReduceTom Lane
ERROR to WARNING so we keep control.
2003-09-10Add HINT if CREATE FUNCTION specifies a valid language, but the languageBruce Momjian
isn't loaded into the database.
2003-09-10Some uppercase type definitions were left.Michael Meskes
2003-09-10Here is a patch to make PostgreSQL use a full path in DT_SONAME forBruce Momjian
UnixWare. Larry Rosenman
2003-09-09Some "feature not supported" errors are better syntax errors, because thePeter Eisentraut
feature they complain about isn't a feature or cannot be implemented without definitional changes.
2003-09-09Update comments about how locale settings are handled.Tom Lane
2003-09-09Clean up some unused import warnings in the example jdbc codeBarry Lind
2003-09-09Additional SQLState work for JDBC - thanks to Kim Ho at Redhat for input on thisBarry Lind
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
2003-09-09- Added Dave patch for Informix handling of numeric/int conversion.Michael Meskes
- Changed all new datatypes to lowercase. - Fixed rounding bug in numerical types.
2003-09-08Opps, can't forget the new file. This is part of the last commit to applyBarry Lind
the redhat patch for SQLState support. Added Files: PSQLState.java
2003-09-08This set of changes applies a patch from KHO at redhat to add some SQLStateBarry Lind
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
2003-09-08Avoid using s_addr as a local variable name, to work around brokenTom Lane
system headers on Unixware.
2003-09-07Remove geqo_random_seed parameter. Having geqo reset the global random()Tom Lane
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.
2003-09-07Remove check on source address of a statistics packet. Check was brokenTom Lane
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.
2003-09-07Changes for MinGW/WIN32:Bruce Momjian
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)
2003-09-07Make the default pg_hba.conf include an entry for ::1 only if configureTom Lane
set HAVE_IPV6. Per recent discussions.
2003-09-07load_file() has to remove pre-existing shlibs that match the new fileTom Lane
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.
2003-09-06Make all valid uses of the COLLATE clause yield the same result: a syntaxPeter Eisentraut
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.
2003-09-06Rename variables for clarity.Bruce Momjian
2003-09-05Second try at IPv4-to-v6 mapping code; avoid assuming that the structTom Lane
returned by getaddrinfo_all will have enough room for an IPv6 address.
2003-09-05Allow IPv4-format entries in pg_hba.conf to match IPv6 connectionsTom Lane
that have IPv4-embedded-in-IPv6 addresses. Per idea of Andreas Pflug.
2003-09-05ifdef out pqGetpwuid() because Win32 doesn't have struct passwd.Bruce Momjian
Needed for libpq builds, not just for native Win32 port, and probably for cygwin too.
2003-09-05This fixes three minor typos in hba.c.Bruce Momjian
-- Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
2003-09-05Clean up WIN32_CONSOLE code.Bruce Momjian
2003-09-05Enable Win32 to compile libpq again, and enable SSL compiles on thatBruce Momjian
platform. Andreas Pflug
2003-09-05Improve prototype casting for thread calls.Bruce Momjian
2003-09-04Reimplement hash index locking algorithms, per my recent proposal toTom Lane
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.
2003-09-04Avoid consuming unreasonable amounts of memory when GRANT has manyTom Lane
grantees.
2003-09-04Looks like plperl has same bug as pltcl.Tom Lane
2003-09-04Fix some problems with dropped columns in pltcl functions.Tom Lane
2003-09-04Allow non-super users to set log_duration to true, then false, when theBruce Momjian
administrator has not turned it on, and fix other PGC_USERLIMIT variables.
2003-09-04Re-upper case CHECKPOINT_SEGMENTS.Bruce Momjian
2003-09-04Lowercase CHECKPOINT_SEGMENTS.Bruce Momjian
2003-09-03Tighten casting of function call pointers for threads.Bruce Momjian
2003-09-03Pass session_authorization to the client and make psql update its promptPeter Eisentraut
accordingly.
2003-09-03Mark unixware as verified.Bruce Momjian
2003-09-03Add Unixware as verified.Bruce Momjian
2003-09-03Mark BSD/OS as verified not needing reentrant function names.Bruce Momjian
2003-09-03Add reporting of specificy threading failure functions.Bruce Momjian
2003-09-03Add test for thread-safeness of libc functions.Bruce Momjian
2003-09-03Mark Unixware as not requiring *_r functions.Bruce Momjian
2003-09-03Work around ENOTEMPTY being an alias for EEXIST on some platforms.Tom Lane
2003-09-03Repair problems with to_char() overrunning its input string.Tom Lane
From Karel Zak.
2003-09-02In _bt_check_unique() loop, don't bother applying _bt_isequal() toTom Lane
killed items; just skip to the next item immediately. Only check for key equality when we reach a non-killed item or the end of the index page. This saves key comparisons when there are lots of killed items, as for example in a heavily-updated table that's not been vacuumed lately. Seems to be a win for pgbench anyway.
2003-09-02Remove outdated CLI things.Peter Eisentraut