aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* Suppress compile warnings on machines where the INT64CONST() decorationTom Lane2004-06-13
| | | | is actually needed. Backport of Oliver Elphick's recent patch.
* Stamp 7.4.3. Still need release notes.Bruce Momjian2004-06-11
|
* ECPG preprocessor for PostgreSQL 7.4.1, 7.4.2 doubles const,Bruce Momjian2004-06-11
| | | | | | | volatile, static, and register keywords before variables, declared as VARCHAR. Sergey N. Yatskevich
* Translation updatesPeter Eisentraut2004-06-10
|
* Translation updatesPeter Eisentraut2004-06-10
|
* Translation updatePeter Eisentraut2004-06-10
|
* Add missing check for too-few-inputs when replacing a zero-dimensionalTom Lane2004-06-08
| | | | array.
* Adjust PageGetMaxOffsetNumber to ensure sane behavior on uninitializedTom Lane2004-06-05
| | | | pages, even when the macro's result is stored into an unsigned variable.
* I think I've finally identified the cause of the off-by-one-secondTom Lane2004-05-31
| | | | | | | | | | issue in timestamp conversion that we hacked around for so long by ignoring the seconds field from localtime(). It's simple: you have to watch out for platform-specific roundoff error when reducing a possibly-fractional timestamp to integral time_t form. In particular we should subtract off the already-determined fractional fsec field. This should be enough to get an exact answer with int64 timestamps; with float timestamps, throw in a rint() call just to be sure.
* Translation updatePeter Eisentraut2004-05-29
|
* [ Backpatch to 7.4.X.]Bruce Momjian2004-05-26
| | | | | | Fix problem with doing 7.0.X dumps on character varying[] fields. Christopher Kings-Lynne
* Fix erroneous error message printout when a configuration file containsTom Lane2004-05-25
| | | | | an overlength token. Printout was always garbage and could dump core entirely :-(. Per report from Martin Pitt.
* Reduce pg_listener lock taken by NOTIFY et al from AccessExclusiveLockTom Lane2004-05-22
| | | | | | to ExclusiveLock. This still serializes the operations of this module, but doesn't conflict with concurrent ANALYZE operations. Per trouble report from Philip Warner a few weeks ago.
* Fixed DEALLOCATE PREPARE to use correct function callMichael Meskes2004-05-21
|
* Fix setting timestamp values with very early year values, like 2, byKris Jurka2004-05-17
| | | | | | | formatting all years with four digits. Previously 0002-10-30 was being sent as 2-10-30 which got turned into 2030-02-10. Per report from oneway_111.
* Propagate enlargeStringInfo() fixes into the equivalent code inTom Lane2004-05-14
| | | | | pqexpbuffer.c. While a client-side failure doesn't seem like a security issue, it's still a bug.
* Tighten up overflow check in path_recv, pursuant to code review inspiredTom Lane2004-05-12
| | | | | | by Ken Ashcraft's report. I think there is no actual bug here since if the int32 value does wrap a little bit, palloc will still reject it. Still it's better that the code be obviously correct.
* Add tests to enlargeStringInfo() to avoid possible buffer-overrun orTom Lane2004-05-11
| | | | infinite-loop problems if a bogus data length is passed.
* Fix oversights in processing of LIMIT expressions during planning.Tom Lane2004-05-11
|
* Repair recalculation failure for nested sub-SELECTs, per bug report fromTom Lane2004-05-11
| | | | | Didier Moens. Bug is new in 7.4, and was caused by not updating everyplace I should've when replacing locParam markers by allParam.
* Just another bug in adjust_informix.Michael Meskes2004-05-10
|
* - Fixed bug that reversed string length in typedefs.Michael Meskes2004-05-07
|
* Allow public access to radius field to match other geometric typesKris Jurka2004-05-07
| | | | | | behavior. Per report from Declan Lynch.
* NATURAL CROSS JOIN is a contradiction in terms, not to mention disallowedTom Lane2004-05-07
| | | | | by the SQL spec and by our parser. Thanks to Jonathan Scott for finding this longstanding error.
* Don't assume that struct timeval's tv_sec field is the same datatype asTom Lane2004-05-05
| | | | time_t; on some platforms they are not the same width. Per Manfred Koizar.
* Unset PGCLIENTENCODING to prevent backend from dying if it's setTom Lane2004-05-05
| | | | to something incompatible with the -E option.
* Fixed bug in adjust_informix that treated arrays as simple variables.Michael Meskes2004-05-05
|
* I thought we'd made initdb safe against newline-munging issues, but onTom Lane2004-04-29
| | | | | inspection we fixed only one of the two uses of COPY :-(. Fix the other. This is already correct in CVS tip, but 7.4.3 could use the patch.
* Update the build.xml file to support building with the new 1.5 jdkKris Jurka2004-04-26
| | | | and ant 1.6.
* Ensure getaddrinfo_all returns null result on failure.Tom Lane2004-04-24
|
* Allow updateable ResultSets to support types that aren't directlyKris Jurka2004-04-24
| | | | | | mappable to Java types, for example cidr. Per report from Moray Taylor.
* Fixed memory misusage in variable handling.Michael Meskes2004-04-23
|
* Tweak findTargetlistEntry so that bare names occurring in GROUP BY clausesTom Lane2004-04-18
| | | | | | | | are sought first as local FROM columns, then as local SELECT-list aliases, and finally as outer FROM columns; the former behavior made outer FROM columns take precedence over aliases. This does not change spec conformance because SQL99 allows only the first case anyway, and it seems more useful and self-consistent. Per gripe from Dennis Bjorklund 2004-04-05.
* Translation updatesPeter Eisentraut2004-04-15
|
* Still another place to make the world safe for zero-column tables.Tom Lane2004-04-07
| | | | Per example from Jiang Wei.
* Support FULL JOIN with no join clauses, such as X FULL JOIN Y ON TRUE.Tom Lane2004-04-06
| | | | | | | That particular corner case is not exactly compelling, but given 7.4's ability to discard redundant join clauses, it is possible for the situation to arise from queries that are not so obviously silly. Per bug report of 6-Apr-04.
* ALTER SEQUENCE RESTART did the wrong thing if sequence last_value wasTom Lane2004-04-06
| | | | | equal to the desired restart value (must clear is_called, did not). Per bug report #1127 from Piotr Konieczny.
* Translation updatesPeter Eisentraut2004-04-05
|
* Fix for bug with the jdbc driver not properly working with binary cursors andBarry Lind2004-03-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the V3 protocol. Modified Files: Tag: REL7_4_STABLE jdbc/org/postgresql/Driver.java.in jdbc/org/postgresql/core/BaseResultSet.java jdbc/org/postgresql/core/BaseStatement.java jdbc/org/postgresql/core/Field.java jdbc/org/postgresql/core/PGStream.java jdbc/org/postgresql/core/QueryExecutor.java jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java jdbc/org/postgresql/jdbc1/Jdbc1CallableStatement.java jdbc/org/postgresql/jdbc1/Jdbc1PreparedStatement.java jdbc/org/postgresql/jdbc1/Jdbc1RefCursorResultSet.java jdbc/org/postgresql/jdbc1/Jdbc1ResultSet.java jdbc/org/postgresql/jdbc1/Jdbc1Statement.java jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java jdbc/org/postgresql/jdbc2/Array.java jdbc/org/postgresql/jdbc2/Jdbc2CallableStatement.java jdbc/org/postgresql/jdbc2/Jdbc2PreparedStatement.java jdbc/org/postgresql/jdbc2/Jdbc2RefCursorResultSet.java jdbc/org/postgresql/jdbc2/Jdbc2ResultSet.java jdbc/org/postgresql/jdbc2/Jdbc2Statement.java jdbc/org/postgresql/jdbc3/AbstractJdbc3ResultSet.java jdbc/org/postgresql/jdbc3/Jdbc3CallableStatement.java jdbc/org/postgresql/jdbc3/Jdbc3PreparedStatement.java jdbc/org/postgresql/jdbc3/Jdbc3RefCursorResultSet.java jdbc/org/postgresql/jdbc3/Jdbc3ResultSet.java jdbc/org/postgresql/jdbc3/Jdbc3Statement.java jdbc/org/postgresql/test/jdbc2/Jdbc2TestSuite.java jdbc/org/postgresql/test/jdbc2/OID74Test.java Added Files: Tag: REL7_4_STABLE jdbc/org/postgresql/test/jdbc2/ServerCursorTest.java
* Fixed possible segfault in type.c (by Juergen Cappel)Michael Meskes2004-03-29
|
* Add -D_REENTRANT for Solaris threading.Bruce Momjian2004-03-26
|
* Update solaris for threading.Bruce Momjian2004-03-25
|
* fflush() FILE buffer to descriptor so stat call gets proper size in fseeko.c.Bruce Momjian2004-03-23
| | | | | Fixed problem with pg_dump tar backups. Only happens on platforms that use our port/fseeko.c, which is currently BSD/OS and NetBSD.
* Fix getpwuid_r call:Bruce Momjian2004-03-23
| | | | *result = getpwuid_r(uid, resultbuf, buffer, buflen);
* Handle draft version of getpwuid_r() that accepts only four arguments.Bruce Momjian2004-03-20
| | | | Backpatch to 7.4.X. Required for Solaris 7 & 8.
* Update Solaris thread flags, per Jim SeymourBruce Momjian2004-03-14
|
* Fix error in termination of COPY IN mode when using V2 protocol.Tom Lane2004-03-14
| | | | Report and fix per ljb, 8-Mar-04.
* > (I also see some post-7.4.1 changes in src/template/solaris, so youBruce Momjian2004-03-14
| | | | | | | | | | | | | | | | | | | | | > possibly should look there too.) [snip] > I think I have the fix for part of it, but this remains... gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -fPIC -I. -I../../../src/include -D_POSIX_PTHREAD_SEMANTICS -DFRONTEND -DSYSCONFDIR='"/usr/local/pgsql/etc"' -c -o thread.o thread.c thread.c: In function `pqGethostbyname': thread.c:189: error: `resbuf' undeclared (first use in this function) Looking at src/port/thread.c, line 189, it looks like somebody typo'd. Looks like that second parameter should be "resultbuf", not "resbuf"? Jim Seymour
* Committed Informix compat bug fix to 7.4 as well.Michael Meskes2004-03-14
|
* Repair memory leakage introduced into the non-hashed aggregate case byTom Lane2004-03-13
| | | | | | | 7.4 rewrite for hashed aggregate support. If the transition data type is pass-by-reference, the transValue must be pfreed when starting a new group boundary, else we have a one-value-per-group leakage. Thanks to Rae Steining for providing a reproducible test case.