summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2003-02-12Backport patch from Fernando Nasser and Harald Krake to fix an invalid ↵Barry Lind
datatype problem. Modified Files: Tag: REL7_3_STABLE jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java
2003-02-12Backport a patch from Kris Jurka to 7.3. Allows getTables() method to workBarry Lind
against 7.1 servers. Modified Files: Tag: REL7_3_STABLE jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java
2003-02-11Use a varno not chosen at random for dummy variables in the top-levelTom Lane
targetlist of a set-operation tree. I'm not sure that this solution will really stand the test of time --- perhaps we need to make a special RTE for such vars to refer to. But this quick hack fixes Brandon Craig Rhodes' complaint of 10-Feb-02 about EXCEPT in CREATE RULE, while not changing any behavior in the better-tested cases where leftmostRTI is one anyway.
2003-02-09up build # to 108Barry Lind
2003-02-09Merge changes from head to 7.3 branch: better error message on character set ↵Barry Lind
conversion problems and patch from Kris Jurka for numeric scale Modified Files: Tag: REL7_3_STABLE jdbc/org/postgresql/errors.properties jdbc/org/postgresql/core/Encoding.java jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java
2003-02-07Revise mechanism for getting rid of temp tables at backend shutdown.Tom Lane
Instead of grovelling through pg_class to find them, make use of the handy dandy dependency mechanism: just delete everything that depends on our temp schema. Unlike the pg_class scan, the dependency mechanism is smart enough to delete things in an order that doesn't fall foul of any dependency restrictions. Fixes problem reported by David Heggie: a temp table with a serial column may cause a backend FATAL exit at shutdown time, if it chances to try to delete the temp sequence first.
2003-02-07Avoid generating relid lists with duplicate entries. Fixes bugsTom Lane
reported by Stefanos Harhalakis 2/2/2003.
2003-02-06Fix core dump when pltcl_elog is called with wrong number of parameters,Tom Lane
per report from Ian Harding.
2003-02-06Fix regexp slowness reported by Wade Klaver.Tatsuo Ishii
2003-02-05Allow qualified type names in CREATE CAST, DROP CAST. Also allow theTom Lane
construction 'SETOF type[]' which for some reason was previously overlooked (you'd have to name the array type directly to make it work).
2003-02-04Fix for rollback SQLException from Kris JurkaDave Cramer
2003-02-02Brand 7.3.2.Tom Lane
2003-02-02Fix nodeUnique to behave correctly when reversing direction after reachingTom Lane
either end of subplan results. This prevents misbehavior of cursors on SELECT DISTINCT ... queries. Per bug report 1-Feb-02.
2003-02-01Remove restriction that cast functions cannot be volatile. ThisTom Lane
restriction was debatable to begin with, but it has now become obvious that it breaks forward-porting of user-defined types; contrib/lo being the most salient example.
2003-02-01Cleaner solution to the problem of loading pre-7.3 dumps containingTom Lane
columns of type lo (see contrib/lo). Rather than hacking the function definitions on-the-fly, just modify the queries issued by FixupBlobRefs so that they work even if CREATE CAST hasn't been issued.
2003-02-01Changes of 6-Sep-02 broke pg_restore's ability to recognize tar-formatTom Lane
files. Fix it.
2003-02-01Fix assign_session_authorization() to not be confused by all-numericTom Lane
user names. Per recent reports.
2003-02-01Prevent core dump from calling Tcl_DontCallWhenDeleted() with a nullTom Lane
interp pointer. Per report from Gerhard Hintermayer.
2003-02-01Apply ljb's patch to prevent both memory leak and core dump duringTom Lane
connection shutdown. This is a grotty workaround for a Tcl bug, but said bug has been there long enough that I'm not holding my breath for a real fix. Per discussions and testing from ljb and g.hintermayer.
2003-01-31Make plpython's spi_execute interface handle NULLs properly.Tom Lane
From Andrew Bosma.
2003-01-31Clean up plpython error reporting so that its regression test passesTom Lane
with some amount of cleanliness. I see no need to report the internal Python name rather than the SQL procedure name in error tracebacks.
2003-01-31Tweak bison build rules so that we get the same error messages fromTom Lane
bison 1.875 and later as we did from earlier bison releases. Eventually we will probably want to adopt the newer message spelling ... but not yet. Per recent discussion on pgpatches. Note: I didn't change the build rules for bootstrap, ecpg, or plpgsql grammars, since these do not affect regression test results.
2003-01-31Handle mixed-case names properly in plpgsql_parse_tripwordtype.Tom Lane
From Neil Conway.
2003-01-30Fix regression in .pgpass support. From Neil Conway.Tom Lane
2003-01-29SPI_exec shouldn't return SPI_OK_SELECT if it hasn't actually returnedTom Lane
a tuple table. Fixes core dump in pltcl (and probably other PLs) when executing a query rewritten by a rule. Per bug report from Wolfgang Walter.
2003-01-29Repair array subscript overrun identified by Yichen Xie. Reduce theTom Lane
value of MAX_TIME_PRECISION in floating-point-timestamp-storage case from 13 to 10, which is as much as time_out is actually willing to print. (The alternative of increasing the number of digits we are willing to print looks risky; we might find ourselves printing roundoff garbage.)
2003-01-29Fix array subscript overruns identified by Yichen Xie.Tom Lane
2003-01-28Convert variable name to canonical spelling before checking for matchesTom Lane
in GUCArrayAdd/GUCArrayDelete. This prevents the multiple-entry bug exhibited by Frank Lupo 28-Jan-2003.
2003-01-28Revert off setting mention for client_min_messages.Bruce Momjian
Set log_min_error_messages to the proper and agreed-upon default, PANIC (off). (BACKPATCH)
2003-01-27Prevent core dump when die_horribly() is called with null AH pointer.Tom Lane
Problem reported and fixed by Oliver Elphick.
2003-01-24Back-patch fix for not shell-quoting editor name, as it also fixesTom Lane
silly buffer overrun (someone needs to learn to count characters...)
2003-01-23Fix obsolete error message (isImmutable doesn't exist).Tom Lane
2003-01-23Change CREATE TABLE AS / SELECT INTO to create the new table with OIDs,Tom Lane
for backwards compatibility with pre-7.3 behavior. Per discussion on pgsql-general and pgsql-hackers.
2003-01-22Make estimation of mergejoin scan selectivities more robust, per recentTom Lane
example from RaÇl GutiÅrrez.
2003-01-21Fix coredump problem in plpgsql's RETURN NEXT. When a SELECT INTOTom Lane
that's selecting into a RECORD variable returns zero rows, make it assign an all-nulls row to the RECORD; this is consistent with what happens when the SELECT INTO target is not a RECORD. In support of this, tweak the SPI code so that a valid tuple descriptor is returned even when a SPI select returns no rows.
2003-01-21Back-patch typprtlen fix, two other minor post-7.3 fixes.Tom Lane
2003-01-16Fix bogus formatting of DROP DATABASE command, per Christopher Kings-Lynne.Tom Lane
2003-01-16Repair an embarrassingly large number of alphabetization mistakes in theTom Lane
datetime token tables. Even more embarrassing, the regression tests revealed some of the problems --- but evidently the bogus output wasn't questioned. Add code to postmaster startup to directly check the tables for correct ordering, in hopes of not being embarrassed like this again.
2003-01-15More comment cleanups for shared_buffers in postgresql.conf.Bruce Momjian
2003-01-15Update shared_buffer comment in postgresql.conf.Bruce Momjian
2003-01-14Bumped up build number to 107Barry Lind
2003-01-14Backport to 7.3 of patch to correctly handle fractional secondsBarry Lind
Modified Files: Tag: REL7_3_STABLE jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java jdbc/org/postgresql/test/jdbc2/TimestampTest.java
2003-01-14Patch from Kris Jurka to improve the performance of getImportedKeys(). TheBarry Lind
fix uses explicit joins to avoid using the genetic query optimizer for consistent results. Modified Files: Tag: REL7_3_STABLE jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java
2003-01-11Cause symlinks for shared-library versioning to run in the standardTom Lane
direction on HP-UX; our former approach has been obsolete since HPUX 9. Giles Lean
2003-01-11Fix typo in an error messagesTatsuo Ishii
2003-01-11> > This patch improves the documentation for the shared_buffers GUC param.Bruce Momjian
> > I'd suggest that the runtime.sgml description explicitly say "values of > at least a few thousand are recommended for production installations". Neil Conway
2003-01-11A tiny patch to fix a typo in configure.in and another one inBruce Momjian
RELEASE_CHANGES. Manfred Koizar
2003-01-10Add missing <limits.h> for INT64_IS_BUSTED case.Tom Lane
2003-01-09Fix indenting of log_min_error_statement.Bruce Momjian
2003-01-09Repair inconsistent rounding behavior for timestamp, time, interval,Tom Lane
per gripe from Csaba Nagy. There is still potential for platform-specific behavior for values that are exactly halfway between integers, but at least we now get the expected answer for all other cases.