summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2003-10-09Protected access to variable m_preparedCount via synchronizedJan Wieck
function to prevent multiple threads using automatic cursors on the same connection from stomping over each others cursor. Jan
2003-10-08New translationsPeter Eisentraut
2003-10-08New translationsPeter Eisentraut
2003-10-08Add quotes around -O setting for consistency.Bruce Momjian
2003-10-08Removed my debug printf() call from numeric.cMichael Meskes
2003-10-08Use calloc() to allocate empty structures.Bruce Momjian
Fix pg_restore tar log output bug where Special flag wasn't being initialized; bug seen on XP.
2003-10-08Have log_min_duration_statement = 0 always print duration/statement.Bruce Momjian
Change log line to be "duration: ms query:" Indent multi-line queries with a tab in the server logs.
2003-10-07Fixed floating point exception in long=>numeric conversion.Michael Meskes
2003-10-07Fix include used by entab.Bruce Momjian
2003-10-07Add missing include file.Peter Eisentraut
2003-10-07Fixed error handling in Informix compat str to date conversion.Michael Meskes
2003-10-06New Italian translationPeter Eisentraut
2003-10-06Fix binary_oper_exact() so that the heuristic 'an unknown literal onTom Lane
one side of a binary operator is probably supposed to be the same type as the other operand' will be applied for domain types. This worked in 7.3 but was broken in 7.4 due to code rearrangements. Mea culpa.
2003-10-06Translation updatesPeter Eisentraut
2003-10-06During ALTER TABLE ADD FOREIGN KEY, try to check the existing rows usingTom Lane
a single LEFT JOIN query instead of firing the check trigger for each row individually. Stephan Szabo, with some kibitzing from Tom Lane and Jan Wieck.
2003-10-06New Slovene translationsPeter Eisentraut
2003-10-06- Fixed constant listing in execute using clause.Michael Meskes
- Fixed typo in ecpg for Informix dec_t type. - Fixed precision handling in Informix compat funxtions.
2003-10-06Translation updatesPeter Eisentraut
2003-10-06Modify COPY FROM to match the null-value string against the column valueTom Lane
before it is de-backslashed, not after. This allows the null string \N to be reliably distinguished from the data value \N (which must be represented as \\N). Per bug report from Manfred Koizar ... but it's amazing this hasn't been reported before ... Also, be consistent about encoding conversion for null string: the form specified in the command is in the server encoding, but what is sent to/from client must be in client encoding. This never worked quite right before either.
2003-10-06Fix order of operations within SendQuery() so that the time spent inTom Lane
data transfer during COPY is included in the \timing display. Also avoid portability problems if tv_usec is unsigned on some platform.
2003-10-05Add a little more smarts to estimate_hash_bucketsize(): if there's noTom Lane
statistics, but there is a unique index on the column, we can safely assume it's well-distributed.
2003-10-05Make psql \timing show three digits.Bruce Momjian
2003-10-05Translation updatesPeter Eisentraut
2003-10-05When revoking privileges from the owner, don't revoke the grant options,Peter Eisentraut
to avoid recursively revoking everything from everyone.
2003-10-05Fixed bug in day of week processing.Michael Meskes
2003-10-04Translation updatePeter Eisentraut
2003-10-04Document the always-true-but-previously-undocumented fact that PQfnumber()Tom Lane
will downcase the supplied field name unless it is double-quoted. Also, upgrade the routine's handling of double quotes to match the backend, in particular support doubled double quotes within quoted identifiers. Per pgsql-interfaces discussion a couple weeks ago.
2003-10-04Fix pg_get_constraintdef() to ensure CHECK constraints are always shownTom Lane
with required outer parentheses. Breakage seems to be leftover from domain-constraint patches. This could be smarter about suppressing extra parens, but at this stage of the release cycle I want certainty not cuteness.
2003-10-04Translation updatesPeter Eisentraut
2003-10-04Translation updatePeter Eisentraut
2003-10-04Fix log_duration and log_min_duration_statement to print properly, asBruce Momjian
pointed out by Peter.
2003-10-04Translation updatesPeter Eisentraut
2003-10-04Format help message internally consistent.Peter Eisentraut
2003-10-04Change transaction status indicator in prompt from %T to %x.Peter Eisentraut
2003-10-03New translationPeter Eisentraut
2003-10-03Issue 'SET check_function_bodies = false' to suppress possible restoreTom Lane
failures in SQL functions, due to forward references or unqualified references to objects in other schemas. Per recent discussion.
2003-10-03Add GUC parameter check_function_bodies to control whether validationTom Lane
of function bodies is done at CREATE FUNCTION time. This is normally true but can be set false to avoid problems with forward references, wrong schema search path, etc. This is just the backend patch, still need to adjust pg_dump to make use of it.
2003-10-03Cause PQescapeString to stop processing at a null character, ratherTom Lane
than generating an invalid output string. Per observation and patch from Igor Shevchenko. Further code cleanup and documentation by Tom Lane.
2003-10-03Remove assorted compilation failures introduced by latest ecpg changes.Tom Lane
Also remove -g, which has no business in CPPFLAGS in the first place, let alone being hardwired there by a sub-Makefile.
2003-10-03Hide Informix datatypes. They are not seen by our built process anymore.Michael Meskes
2003-10-02Add a bit more locking to vac_update_relstats and vac_update_dbstatsTom Lane
to make them comparable to what UpdateStats does in the same situation. I'm not certain two instances of vac_update_relstats could run in parallel for the same relation, but parallel invocations of vac_update_dbstats do seem possible.
2003-10-02When dumping CREATE INDEX, must show opclass name if the opclass isn'tTom Lane
in the schema search path. Otherwise pg_dump doesn't correctly dump scenarios where a custom opclass is created in 'public' and then used by indexes in other schemas.
2003-10-02Do not return from PQrequestCancel until postmaster has finishedTom Lane
processing the request; this ensures that the request won't be taken to cancel a subsequently-issued query. Race condition originally noted by Oliver Jowett in the context of JDBC, but libpq has it too.
2003-10-02Don't use 0 as a spelling of NULL.Tom Lane
2003-10-02Add documentation about \pset footer to \?.Peter Eisentraut
from Patrick Welche
2003-10-02String fixes/improvements found by Alvaro HerreraPeter Eisentraut
2003-10-02Change some notices to warnings and vice versa according to criteriaPeter Eisentraut
developed on -hackers.
2003-10-02Remove NOTICE about foreign key creating implicit triggers, because it noPeter Eisentraut
longer conveys useful information.
2003-10-01Add code to check that IF/WHILE/EXIT test expressions are boolean,Tom Lane
and try to coerce the values to boolean if not. Per recent discussions.
2003-10-01Repair RI trigger visibility problems (this time for sure ;-)) per recentTom Lane
discussion on pgsql-hackers: in READ COMMITTED mode we just have to force a QuerySnapshot update in the trigger, but in SERIALIZABLE mode we have to run the scan under a current snapshot and then complain if any rows would be updated/deleted that are not visible in the transaction snapshot.