summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-04-20Don't try to run clauseless index scans on index types that don't supportTom Lane
it. Per report from Marinos Yannikos.
2005-04-20Fix mis-display of negative fractional seconds in interval values forTom Lane
--enable-integer-datetimes case. Per report from Oliver Siegmar.
2005-04-19Add comment about permissions on pg_ts* tablesTeodor Sigaev
2005-04-19Update PITR wording, per Simon.Bruce Momjian
2005-04-18pg_dumpall should enforce the server version check for itself, ratherTom Lane
than simply passing it down to pg_dump. Else, version-related failures in pg_dumpall itself generate unhelpful error messages.
2005-04-18record_in and record_recv must be careful to return a separatelyTom Lane
pfree'able result, since some callers expect to be able to pfree the result of a pass-by-reference function. Per report from Chris Trawick.
2005-04-18Update PITR mention of which WAL files are needed.Bruce Momjian
2005-04-17Clarify name of file to be checked for PITR expiring.Bruce Momjian
2005-04-15Fix comment typo.Bruce Momjian
2005-04-15Revert addition of poorly-thought-out DUMP TIMESTAMP archive entry,Tom Lane
which induced bug #1597 in addition to having several other misbehaviors (like labeling the dump with a completion time having nothing to do with reality). Instead just print out the desired strings where RestoreArchive was already emitting the 'PostgreSQL database dump' and 'PostgreSQL database dump complete' strings.
2005-04-14Make equalTupleDescs() compare attlen/attbyval/attalign rather thanTom Lane
assuming comparison of atttypid is sufficient. In a dropped column atttypid will be 0, and we'd better check the physical-storage data to make sure the tupdescs are physically compatible. I do not believe there is a real risk before 8.0, since before that we only used this routine to compare successive states of the tupdesc for a particular relation. But 8.0's typcache.c might be comparing arbitrary tupdescs so we'd better play it safer.
2005-04-14Don't try to constant-fold functions returning RECORD, since the optimizerTom Lane
isn't presently set up to pass them an expected tuple descriptor. Bug has been there since 7.3 but was just recently reported by Thomas Hallgren.
2005-04-14Added patch by Philip Yarra <philip.yarra@internode.on.net> for a bug in ↵Michael Meskes
thread support.
2005-04-11Fix interaction between materializing holdable cursors and firingTom Lane
deferred triggers: either one can create more work for the other, so we have to loop till it's all gone. Per example from andrew@supernews. Add a regression test to help spot trouble in this area in future.
2005-04-11PersistHoldablePortal must establish the correct value for ActiveSnapshotTom Lane
while completing execution of the cursor's query. Otherwise we get wrong answers or even crashes from non-volatile functions called by the query. Per report from andrew@supernews.
2005-04-10Make constant-folding produce sane output for COALESCE(NULL,NULL),Tom Lane
that is a plain NULL and not a COALESCE with no inputs. Fixes crash reported by Michael Williamson.
2005-04-10SQL functions returning pass-by-reference types were copying the resultsTom Lane
into the wrong memory context, resulting in a query-lifespan memory leak. Bug is new in 8.0, I believe. Per report from Rae Stiening.
2005-04-07Stamp 8.0.2.REL8_0_2Tom Lane
2005-04-07Update and copy-edit release notes for 8.0.2.Tom Lane
2005-04-04In cost_mergejoin, the early-exit effect should not apply to theTom Lane
outer side of an outer join. Per andrew@supernews.
2005-04-03Put back code mistakenly removed from copy of postmaster'sTom Lane
daemonize routine, namely forcing stdin/stdout/stderr to point to /dev/null. Per Karl Denninger.
2005-04-02Translation updatesPeter Eisentraut
2005-04-02Translation updatesPeter Eisentraut
2005-04-02Fix release not typo.Bruce Momjian
2005-04-02Update release notes for 8.0.2.Bruce Momjian
2005-04-01Second try at making examine_variable and friends behave sanely inTom Lane
cases with binary-compatible relabeling. My first try was implicitly assuming that all operators scalarineqsel is used for have binary- compatible datatypes on both sides ... which is very wrong of course. Per report from Michael Fuhr.
2005-04-01Backpatch FAQ's to 8.0.X.Bruce Momjian
2005-04-01Fix wrong week returnded by date_trunc('week') for early dates inBruce Momjian
January --- would return wrong year for 2005-01-01 and 2006-01-01. per report from Robert Creager. Backpatch to 8.0.X.
2005-03-31Flush any remaining statistics counts out to the collector at processTom Lane
exit. Without this, operations triggered during backend exit (such as temp table deletions) won't be counted ... which given heavy usage of temp tables can lead to pg_autovacuum falling way behind on the need to vacuum pg_class and pg_attribute. Per reports from Steve Crawford and others.
2005-03-31Translation updatesPeter Eisentraut
2005-03-31Fix various comparing functionsTeodor Sigaev
2005-03-30Document that the "-P" option to pg_autovacuum is insecure on manyNeil Conway
platforms, and suggest using ~/.pgpass instead.
2005-03-26Fix a pair of related issues with estimation of inequalities that involveTom Lane
binary-compatible relabeling of one or both operands. examine_variable should avoid stripping RelabelType from non-variable expressions, so that they will continue to have the correct type; and convert_to_scalar should just use that type and ignore the other input type. This isn't perfect but it beats failing entirely. Per example from Michael Fuhr.
2005-03-26Make additional stamps for 8.0.2.Bruce Momjian
2005-03-26Tag for 8.0.2beta1PostgreSQL Daemon
2005-03-26Add Windows-specific variant comparison file.Tom Lane
2005-03-26Add another ORDER BY to rules test to eliminate platform-specificTom Lane
output ordering.
2005-03-26Prevent to_char(interval) from dumping core on month-related formatsTom Lane
when a zero-month interval is given. Per discussion with Karel. Also, some desultory const-labeling of constant tables. More could be done along that line.
2005-03-25Remove lazy_update_relstats; go back to having VACUUM just record theTom Lane
actual number of unremoved tuples as pg_class.reltuples. The idea of trying to estimate a steady state condition still seems attractive, but this particular implementation crashed and burned ...
2005-03-25Have libpgport link before libpq so that PG client applications are moreBruce Momjian
immunte to changes in libpq's usage of pgport between major versions. Backpatch to 8.0.X.
2005-03-25Fix two bugs in change_owner_recurse_to_sequences: it was grabbing anTom Lane
overly strong lock on pg_depend, and it wasn't closing the rel when done. The latter bug was masked by the ResourceOwner code, which is something that should be changed.
2005-03-25Update and copy-edit description of privileges.Tom Lane
2005-03-25Add missing min/max parameters to DefineCustomIntVariable() andTom Lane
DefineCustomRealVariable(). Thomas Hallgren
2005-03-25Fix to_date to behave reasonably when CC and YY fields are both used.Tom Lane
Karel Zak
2005-03-25Kerberos fixes from Magnus Hagander --- in theory Kerberos 5 authTom Lane
should work on Windows now. Also, rename set_noblock to pg_set_noblock; since it is included in libpq, the former name polluted application namespace.
2005-03-24Revert ill-conceived change of libpq linkage --- breaks ecpg.Tom Lane
2005-03-24array_map can't use the fn_extra field of the provided fcinfo struct asTom Lane
its private storage, because that belongs to the function that it is supposed to call. Per report from Ezequiel Tolnay.
2005-03-24Force PG client applications to link to non-shared libpgport beforeBruce Momjian
linking to libpq. This insulates applications from changes in libpq's usage of libpgport functions. Backpatched to 8.0.X.
2005-03-24Tweak planner to use a minimum size estimate of 10 pages for aTom Lane
never-yet-vacuumed relation. This restores the pre-8.0 behavior of avoiding seqscans during initial data loading, while still allowing reasonable optimization after a table has been vacuumed. Several regression test cases revert to 7.4-like behavior, which is probably a good sign. Per gripes from Keith Browne and others.
2005-03-24Fix python regression testing script to bail out early if languageTom Lane
creation fails ... no point in running the tests.