summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-03-09Add HISTORY/INSTALL clean target to 7.4.X.Bruce Momjian
2004-03-09Rebuild HISTORY file to match our official style sheets.Bruce Momjian
2004-03-08Update German FAQ.Bruce Momjian
Ian Barwick
2004-03-07Some editorial work on 7.4.2 release notes.REL7_4_2Tom Lane
2004-03-05Brand 7.4.2. Release notes still need work.Bruce Momjian
2004-03-05First update of release notes for 7.4.2. Still needs work.Bruce Momjian
2004-03-05libpq's query to get the OIDs of large-object support functions was notTom Lane
schema-safe. Make it so, and improve the internal support for knowledge of server version.
2004-03-05Fix log_executor_stats for non-multi queries. Backpatch to 7.4.X.Bruce Momjian
2004-03-04- Fixed segfault due to missing check for variable declaration.Michael Meskes
- Added check for multidimensional array usage.
2004-03-04Update build number in anticipation of 7.4.2 release. With noKris Jurka
currently outstanding issues we'll flag now, so the release doesn't slip out the door without it.
2004-03-02Always schema-qualify the name of a function referenced in CREATE CAST.Tom Lane
The former coding failed if the cast function was not in the pg_catalog schema. How'd this escape detection?
2004-03-02Junkfilter logic to force a projection step during SELECT INTO was tooTom Lane
simplistic; it recognized SELECT * FROM but not SELECT * FROM LIMIT. Per bug report from Jeff Bohmer.
2004-03-02[ backpatch]Bruce Momjian
Add missing checks for Borland C compiler. L J Bayuk
2004-03-02Update Turkish FAQ, Devrim GUNDUZBruce Momjian
2004-03-02Add missing sprompt.obj psql usage for Borland compiler, per privateBruce Momjian
report from krizsan. Backpatch to 7.4.X.
2004-03-02Added the missing rules for VOLATILE.Michael Meskes
2004-03-02Update release notes for 7.3.6.Tom Lane
2004-03-02Replace unportable use of /dev/stdin with lynx's -stdin switch.Tom Lane
2004-02-29make_sort_from_pathkeys()'s method for choosing which of severalTom Lane
equivalent sort expressions to use was broken: you can't just look at the relation membership, you have to actually grovel over the individual Vars in each expression. I think this did work when it was written, but it was broken by subsequent optimizations that made join relations not propagate every single input variable upward. Must find the Var that got propagated, not choose one at random. Per bug report from Daniel O'Neill.
2004-02-28Translation updatesDennis Bjorklund
2004-02-27genericcostestimate() neglected to include qual startup cost inTom Lane
indexTotalCost. I think this may not make any real difference in 7.4, but it definitely is a problem with CVS tip's new equation.
2004-02-27process_implied_equality must copy the substructure of the clauses itTom Lane
is generating, to avoid problems when subselects are involved. Per report from Damon Hart.
2004-02-24anyarray really needs to be declared with typalign = 'd', so that entriesTom Lane
in pg_statistic are correctly aligned if they contain values that require double alignment. Too bad we cannot force initdb for this in 7.4 branch.
2004-02-24- Corrected error handling in PGTYPEStimestamp_from_asc.Michael Meskes
- Set pgtypeslib version to 1.2.
2004-02-24Closing a Connection or Statement object twice should be a no-opKris Jurka
instead of throwing an Exception. Per report from Victor Sergienko.
2004-02-24When returning type "record", replace use of pgresultGetTupleDescJoe Conway
with ReturnSetInfo->expectedDesc. This allows custom datatypes (e.g. from tsearch2) to be returned at runtime. Previous behavior depended on the type oid to match between the remote and local database, which obviously doesn't work well for custom types. Per report from Mark Gibson.
2004-02-24Apply quote_literal to the start_with argument of connectby. Fixes problemJoe Conway
reported by David Garamond when working with bytea parent and child keys.
2004-02-24Cause pg_dump to emit a 'SET client_encoding' command at the start ofTom Lane
any restore operation, thereby ensuring that dumped data is interpreted the same way it was dumped even if the target database has a different encoding. Per suggestions from Pavel Stehule and others. Also, simplify scheme for handling check_function_bodies ... we may as well just set that at the head of the script.
2004-02-24Don't crash when a rowtype argument to a plpgsql function is NULL.Tom Lane
Per report from Chris Campbell.
2004-02-23Replace opendir/closedir calls throughout the backend with AllocateDirTom Lane
and FreeDir routines modeled on the existing AllocateFile/FreeFile. Like the latter, these routines will avoid failing on EMFILE/ENFILE conditions whenever possible, and will prevent leakage of directory descriptors if an elog() occurs while one is open. Also, reduce PANIC to ERROR in MoveOfflineLogs() --- this is not critical code and there is no reason to force a DB restart on failure. All per recent trouble report from Olivier Hubaut.
2004-02-23Do a direct probe during postmaster startup to determine the maximumTom Lane
number of openable files and the number already opened. This eliminates depending on sysconf(_SC_OPEN_MAX), and allows much saner behavior on platforms where open-file slots are used up by semaphores.
2004-02-23Fixed incorrect output of indicator structs using the name of the data struct.Michael Meskes
2004-02-21The following bug has been logged online:Bruce Momjian
Bug reference: 1081 Logged by: Aarjav Trivedi Email address: aarjav@cc.gatech.edu PostgreSQL version: 7.4 Operating system: Linux Description: Spelling error in tsearch2.sql leading to problems with tsearch Details: On line 620 of tsearch2.sql which is required to install and run TSEARCH, REATE FUNCTION tsstat_in(cstring) should be CREATE FUNCTION tsstat_in(cstring) because of this error, TSEARCH fails to work as specified,
2004-02-21Implement a solution to the 'Turkish locale downcases I incorrectly'Tom Lane
problem, per previous discussion. Make some additional changes to centralize the knowledge of just how identifier downcasing is done, in hopes of simplifying any future tweaking in this area.
2004-02-15- Allowed some C keywords to be used as SQL column names. This used to work ↵Michael Meskes
in 7.3.*
2004-02-15 - Added missing braces to array parsing.Michael Meskes
- Set ecpg version to 3.1.1. - Removed that old debugging output that I forgot the last time.
2004-02-13Repair optimization bug I introduced in a moment of brain fade back inTom Lane
Nov 2002: when constant-expression simplification removes all the aggregate function calls from a query, that doesn't mean we can act as though there never were any aggregates. Per bug report from Gabor Szucs.
2004-02-13Tom Lane wrote:Bruce Momjian
> momjian@svr1.postgresql.org (Bruce Momjian) writes: >> someone asked me about the FK deadlock fix, mentioned in the 7.3.3 >> release notes as 3rd change: >> http://www.postgresql.org/docs/current/static/release-7-3-3.html >> Actually, that fix was available with 7.4, not 7.3. Don't know if we can >> retroactively change the release-notes though. > > This is completely erroneous, please undo it. > > 2003-05-21 14:14 tgl > > * src/: backend/utils/adt/ri_triggers.c, > test/regress/expected/foreign_key.out (REL7_3_STABLE): Back-patch > Jan's fix to avoid primary key lookup (and lock) if foreign key > does not change on UPDATE. Oh ... didn't know that you did a backpatch. Sorry Jan
2004-02-12Jan:Bruce Momjian
someone asked me about the FK deadlock fix, mentioned in the 7.3.3 release notes as 3rd change: http://www.postgresql.org/docs/current/static/release-7-3-3.html Actually, that fix was available with 7.4, not 7.3. Don't know if we can retroactively change the release-notes though.
2004-02-12Translation updatesPeter Eisentraut
2004-02-11Properly set NEED_REENTRANT_FUNCS for threaded libpq/ecpg.Bruce Momjian
Without this patch, no thread locking or *_r functions were being used.
2004-02-10Repair missing inclusions of -lintl for shared libraries.Tom Lane
2004-02-10Don't try to turn the random bytes from a md5 salt into a StringKris Jurka
because it may not be a valid String depending on the encoding. Per report from Nadeem Bitar.
2004-02-03Ensure that memcmp() does not run off the end of memory, per Kurt Roeckx.Tom Lane
(Same patch committed to HEAD but I fat-fingered the commit message...)
2004-02-03V3 NotificationResonse messages were trying to be received as V2Kris Jurka
messages. Also the PID was being read in the wrong byte order. Finally add a test case for listen/notify. Per report from Hans Nather.
2004-02-03ConnectionPool and SimpleDataSource are marked Serializable, but theirKris Jurka
superclass (which contains a number of state variables) is not. To correctly serialize these objects we need to manually implement writeObject and readObject. Per report from R. Lemos
2004-02-03ResultSet.next() and previous() incremented or decremented theKris Jurka
internal current_row variable regardless of wether they succeeded or not. This generated some ArrayIndexOutOfBoundsExceptions when the errorneous adjustment current_row led to out of range values. Per report from Fischer Krisztian.
2004-02-03Fix the setXXXStream methods. If passed a null InputStream, convertKris Jurka
this to a setNull call. The code originally would try to read the whole stream in one call to read(), but this doesn't work. The InputStream API makes it clear you must be prepared to loop and continue reading if you didn't get the whole request on the first try. Per report from Martin Holz.
2004-02-03Newer versions of the 1.4.2 jdk give warnings about having return in aKris Jurka
finally clause.
2004-02-02Do not let external specification of CFLAGS stop us from addingTom Lane
-fno-strict-aliasing.