summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2003-09-18- Accept output variables for FETCH in DECLARE statement.Michael Meskes
- Synced parser. - Allowed C variables to carry the name of prepared statements. - Added Informix handling of datatype converion errors.
2003-09-18Applied patch from Oliver Jowett to clean up some instances where the wrongBarry Lind
type was being reported for PREPAREs. Modified Files: jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java jdbc/org/postgresql/test/jdbc2/ServerPreparedStmtTest.java
2003-09-18Small jdbc patch from Kim Ho at RedHat to fix some boolean problemsBarry Lind
Modified Files: jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java
2003-09-18A minor fix to jdbc regression testsBarry Lind
Modified Files: jdbc/org/postgresql/test/jdbc2/DatabaseMetaDataPropertiesTest.java
2003-09-17Disallow converting a table to a view if it has triggers, indexes, orTom Lane
child tables --- all cases that will trip various sanity checks elsewhere in the system, as well as cases that should not occur in the only intended use of this feature, namely coping with ancient pg_dump representation of views. Per bug report from Chris Pizzi.
2003-09-17Applied patch to jdbc from Kim Ho at RedHat, fixing improper handling of ↵Barry Lind
empty queries under the V3 protocol Modified Files: jdbc/org/postgresql/core/QueryExecutor.java
2003-09-17Applied patch for jdbc from Kim Ho at RedHat to more correctly deal with ↵Barry Lind
boolean values Modified Files: jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java
2003-09-17Fixed jdbc to correctly report that constraints are supportedBarry Lind
Modified Files: jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java
2003-09-17Applied patch from Fernando Nasser of RedHat to fix some error messagesBarry Lind
that would not get correctly looked up in the translation files for jdbc Modified Files: jdbc/org/postgresql/errors.properties jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java
2003-09-17Applied patch from Kim Ho at redhat to improve boolean and bit handlingBarry Lind
in the jdbc driver Modified Files: jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java jdbc/org/postgresql/jdbc3/AbstractJdbc3Statement.java
2003-09-17Fix typo in commentTatsuo Ishii
2003-09-16Make psql correctly track the effects of SET CLIENT_ENCODING commands.Tom Lane
I thought I'd fixed this earlier, but I didn't get it right ...
2003-09-16fix typo in a commentTatsuo Ishii
2003-09-16I don't care whether it's informix-compatible or not: #defining a wordTom Lane
like 'date' in a public header file is a damn fool idea.
2003-09-16Fix some problems with dropped columns in plpython trigger functions.Tom Lane
2003-09-16Since SPI_modifytuple's natts argument is the number of attributes to beTom Lane
changed, it should allow a zero value (implying no changes to make).
2003-09-15Fix LISTEN/NOTIFY race condition reported by Gavin Sherry. While aTom Lane
really general fix might be difficult, I believe the only case where AtCommit_Notify could see an uncommitted tuple is where the other guy has just unlistened and not yet committed. The best solution seems to be to just skip updating that tuple, on the assumption that the other guy does not want to hear about the notification anyway. This is not perfect --- if the other guy rolls back his unlisten instead of committing, then he really should have gotten this notify. But to do that, we'd have to wait to see if he commits or not, or make UNLISTEN hold exclusive lock on pg_listener until commit. Either of these answers is deadlock-prone, not to mention horrible for interactive performance. Do it this way for now. (What happened to that project to do LISTEN/NOTIFY in memory with no table, anyway?)
2003-09-15Update regression test for message change.Tom Lane
2003-09-15Improve a couple of error messages per suggestions from Alvaro Herrera.Tom Lane
2003-09-15Translation updatesPeter Eisentraut
2003-09-15OK, some of these syntax errors should be given other codes.Peter Eisentraut
2003-09-15Add errno value for thread *_r function call buffer too small. ImproveBruce Momjian
thread comments.
2003-09-15NetBSD needs reentrant funcs.Bruce Momjian
2003-09-15Remove warnings for operations that have no effect when executed repeatedly.Peter Eisentraut
2003-09-14Run distprep target before creating list of files that contain translatablePeter Eisentraut
strings in the backend, so that .l and .y files are included. To that end, don't make the .pot file a prerequisite on distprep.
2003-09-14Allow translation of SQL help in psql.Peter Eisentraut
2003-09-14Add missing support for Opteron (__x86_64__).Tom Lane
2003-09-14Make pltcl create separate function objects when the same function isTom Lane
used as trigger on different relations. I am not convinced that Tcl actually has to have this, but it seems a good idea to make it be parallel to the other PLs that definitely do need it.
2003-09-14Fix plpython to generate separate cached procedure data for eachTom Lane
relation, when the same function is used as a trigger on more than one relation. This avoids crashes due to differing rowtypes for different relations. Per bug report from Lance Thomas, 7-Feb-03.
2003-09-14Since I haven't gotten a reply, can someone REVERT the lines inBruce Momjian
src/Makefile.shlib that adds $(libdir)/$(soname) for port,eq,unixware to $(soname)? Larry Rosenman
2003-09-14Reconsider placement of MemoryContextCheck() call --- do after commit,Tom Lane
not before, to avoid duplication of effort.
2003-09-13Avoid corner cases where aset.c would unnecessarily make malloc()Tom Lane
requests of sizes that aren't powers of 2. Per observation from David Schultz, 28-Aug.
2003-09-13Okay, I've had it with mktime() bugs. While chasing Torello Querci'sTom Lane
recent gripe, I discovered not one but two undocumented, undesirable behaviors of glibc's mktime. So, stop using it entirely, and always rely on inversion of localtime() to determine the local time zone. It's not even very much slower, as it turns out that mktime (at least in the glibc implementation) also does repeated reverse-conversions.
2003-09-13With pg_autovacuum becoming increasingly popular it's important toBruce Momjian
have a working stats collector. This test is able to discover the problem that was present in 7.4 Beta 2. Manfred Koizar
2003-09-13When I sent in the sslmode patch I forgot to update theBruce Momjian
comments/examples in pg_hba.conf. This patch remedies that, adds a brief explanation of the connection types, and adds a missing period in the docs. Jon Jensen
2003-09-13autoconf/autoheader run.Bruce Momjian
2003-09-13Attempt threading in this order:Bruce Momjian
* 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.
2003-09-13More SQLState updates from Kim Ho at Redhat.Barry Lind
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
2003-09-12Revert to our pre-7.4 behavior of identifying Unix-socket connections inTom Lane
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.
2003-09-12Someone (possibly me) foolishly reduced the response for failingTom Lane
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.
2003-09-12Mark FreeBSD as non-thread-safe.Bruce Momjian
2003-09-12Implement compiler #error if spinlock code not found, add configure flagBruce Momjian
to bypass the error, --without-spinlocks.
2003-09-12Enable Opteron/Itanium spinlocks.Bruce Momjian
2003-09-12Remove WIN32_CONSOLE support, at the request of the author.Bruce Momjian
2003-09-12Fix old mention of exec() in AttachSharedMemoryAndSemaphores comment.Bruce Momjian
2003-09-11Message in the other exit from acquire_sample_rows(), as per updateTom Lane
from Mark Kirkwood. Also show the sample size.
2003-09-11Try to make recently-added analyze log message look something likeTom Lane
the others in style.
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