summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-09-25Fix man page markup for <cmdsynopsis> with multiple variantsPeter Eisentraut
Command synopses using <cmdsynopsis> with multiple variants previously used <sbr> to break lines between variants. The new man page toolchain introduced in 9.0 makes a mess out of that, and that markup was probably wrong all along, because <sbr> is supposed to break lines within a synopsis, not between them. So fix that by using multiple <cmdsynopsis> elements inside <refsynopsisdiv>. backpatched to 9.0
2010-09-24Still more .gitignore cleanup.Tom Lane
Fix overly-enthusiastic ignores, as identified by git ls-files -i --exclude-standard
2010-09-23Add contrib/xml2/pgxml.sql to .gitignoreRobert Haas
Kevin Grittner
2010-09-23ProcessIncomingNotify *must* reset notifyInterruptOccurred when called.Tom Lane
This was broken in 9.0 by careless addition of an early-exit path. Bug report and diagnosis by Jeff Davis.
2010-09-23Prevent show_session_authorization from crashing when session_authorizationTom Lane
hasn't been set. The only known case where this can happen is when show_session_authorization is invoked in an autovacuum process, which is possible if an index function calls it, as for example in bug #5669 from Andrew Geery. We could perhaps try to return a sensible value, such as the name of the cluster-owning superuser; but that seems like much more trouble than the case is worth, and in any case it could create new possible failure modes. Simply returning an empty string seems like the most appropriate fix. Back-patch to all supported versions, even those before autovacuum, just in case there's another way to provoke this crash.
2010-09-23Avoid sharing subpath list structure when flattening nested AppendRels.Tom Lane
In some situations the original coding led to corrupting the child AppendRel's subpaths list, effectively adding other members of the parent's list to it. This was usually masked because we never made any further use of the child's list, but given the right combination of circumstances, we could do so. The visible symptom would be a relation getting scanned twice, as in bug #5673 from David Schmitt. Backpatch to 8.2, which is as far back as the risky coding appears. The example submitted by David only fails in 8.4 and later, but I'm not convinced that there aren't any even-more-obscure cases where 8.2 and 8.3 would fail.
2010-09-23Initialize tableoid field correctly when dumping foreign data wrappers andHeikki Linnakangas
servers. AFAICT it's harmless at the moment because nothing can depend on either, but as soon as we introduce an object type with such dependencies, tableoid needs to be set or pg_dump will fail to interpret the dependencies correctly. In theory, I guess the uninitialized garbage in tableoid could cause the object to be mistaken for some other object with same OID as well.
2010-09-22Re-allow input of Julian dates prior to 0001-01-01 AD.Tom Lane
This was unintentionally broken in 8.4 while tightening up checking of ordinary non-Julian date inputs to forbid references to "year zero". Per bug #5672 from Benjamin Gigot.
2010-09-22More fixes for libpq's .gitignore file.Tom Lane
The previous patches failed to cover a lot of symlinks that are only added in platform-specific cases. Make the lists match what's in the Makefile for each branch.
2010-09-22Do some copy-editing on the Git usage docs.Tom Lane
2010-09-22Fix remaining stray references to CVS.Tom Lane
These are just cosmetic and don't seem worth back-patching far. I put them into 9.0 just because it was trivial to do so.
2010-09-22Add assorted other documentation build targets to documentation gitignore.Tom Lane
2010-09-22Some more gitignore cleanups: cover contrib and PL regression test outputs.Tom Lane
Also do some further work in the back branches, where quite a bit wasn't covered by Magnus' original back-patch.
2010-09-22Add gitignore files for ecpg regression tests.Magnus Hagander
Backpatch to 8.2 as that's how far the structure looks the same.
2010-09-22Remove anonymous cvs instructions, and replace them with instructionsMagnus Hagander
for git. Change other references from cvs to git as well.
2010-09-22Convert cvsignore to gitignore, and add .gitignore for build targets.Magnus Hagander
2010-09-21Fix a missed explanation of auto-analyze threshold, per Joe Miller.Tom Lane
2010-09-21Back-patch replacement of README.CVS with README.git.Tom Lane
In older branches, also git-ify the "make distdir" rule.
2010-09-17Move pg_db_role_setting docs to correct place in alphabetical order.Robert Haas
2010-09-17tag v9.0.0 ... the big day approachesREL9_0_0Marc G. Fournier
2010-09-16Treat exit code 128 (ERROR_WAIT_NO_CHILDREN) as non-fatal on Win32,Magnus Hagander
since it can happen when a process fails to start when the system is under high load. Per several bug reports and many peoples investigation. Back-patch to 8.4, which is as far back as the "deadman-switch" for shared memory access exists.
2010-09-16Translation updates for 9.0.0Peter Eisentraut
2010-09-16Stamp 9.0 release notes with expected release date; also some last-minuteTom Lane
copy-editing.
2010-09-16Fix bad grammar.Tom Lane
2010-09-16Fix two new-in-9.0 bugs in hstore.Tom Lane
There was an incorrect Assert in hstoreValidOldFormat(), which would cause immediate core dumps when attempting to work with pre-9.0 hstore data, but of course only in an assert-enabled build. Also, ghstore_decompress() incorrectly applied DatumGetHStoreP() to a datum that wasn't actually an hstore, but rather a ghstore (ie, a gist signature bitstring). That used to be harmless, but could now result in misbehavior if the hstore format conversion code happened to trigger. In reality, since ghstore is not marked toastable (and doesn't need to be), this function is useless anyway; we can lobotomize it down to returning the passed-in pointer. Both bugs found by Andrew Gierth, though this isn't exactly his proposed patch.
2010-09-15Add a compatibility note about plpgsql's treatment of SELECT INTO rec.fldTom Lane
when fld is of composite type. Per discussion of bug #5644 from Valentine Gogichashvili.
2010-09-14Fix join-removal logic for pseudoconstant and outerjoin-delayed quals.Tom Lane
In these cases a qual can get marked with the removable rel in its required_relids, but this is just to schedule its evaluation correctly, not because it really depends on the rel. We were assuming that, in effect, we could throw away *all* quals so marked, which is nonsense. Tighten up the logic to be a little more paranoid about which quals belong to the outer join being considered for removal, and arrange for all quals that don't belong to be updated so they will still get evaluated correctly. Also fix another problem that happened to be exposed by this test case, which was that make_join_rel() was failing to notice some cases where a constant-false qual could be used to prove a join relation empty. If it's a pushed-down constant false, then the relation is empty even if it's an outer join, because the qual applies after the outer join expansion. Per report from Nathan Grange. Back-patch into 9.0.
2010-09-14Don't warn about an in-progress online backup, when we're recovering fromHeikki Linnakangas
an online backup instead of performing one. pg_ctl can detect that by checking if recovery.conf exists. Backup label file is renamed away early in recovery, so the window where backup label exists during recovery is normally very small, but you can run into it e.g if restore_command is set incorrectly and the startup process never finds even the first WAL segment containing the checkpoint record to start recovery from. Fujii Masao with comments by me.
2010-09-13Elaborate on what gets stored in pg_authid.rolpasswd.Robert Haas
Also, add cross-reference from pg_shadow.passwd to pg_authid.rolpasswd and fix a bit of markup I muffed in my previous commit. Per discussion with Josh Kupershmidt.
2010-09-13Remove prototype for non-existent function from walreceiver.h. Tidy up byHeikki Linnakangas
separating prototypes for functions in walreceiver.c and walreceiverfuncs.c with comments.
2010-09-13Process options from the startup packed in walsender. Only few optionsHeikki Linnakangas
make sense for walsender, but for example application_name and client_encoding do. We still don't apply per-role settings from pg_db_role_setting, because that would require connecting to a database to read the table. Fujii Masao
2010-09-13Don't try aligning comments for new archive_command Win32 doc example;Bruce Momjian
it doesn't work. Backpatch to 9.0.X.
2010-09-13Link from pg_shadow docs to pg_authid docs.Robert Haas
Per discussion with Josh Kupershmidt.
2010-09-12Re-add documentation for Win32 copy syntax for archive_command.Bruce Momjian
Backpatch to 9.0.X.
2010-09-09Remove obsolete claim that gzip is needed while installing PG's documentation.Tom Lane
It isn't, now that we ship the docs as loose files rather than a sub-tarball. Also adjust the wording in a couple of places to make the lists of required software read more consistently.
2010-09-09Doc fixes:Bruce Momjian
- remove excessive table cells - moving function parameters into function tags rather than having them being considered separate - add return type column on XML2 contrib module functions list and removing return types from function - add table header to XML2 contrib parameter table Thom Brown Backpatch to 9.0.X.
2010-09-08Add tip about building plpython 2 and 3. Fix link to Python docs.Peter Eisentraut
2010-09-07Clarify that surrogate pairs are not encoded in UTF-8 directlyPeter Eisentraut
2010-09-07Modify pg_upgrade to set/restore all environment variables related toBruce Momjian
collation/encoding to match English when reading controldata. This now matches the English variable setting used by pg_regress.c. Backpatch to 9.0.X.
2010-09-04Pad the ps_status display with nulls, not blanks, on Darwin.Tom Lane
A long time ago, this didn't work nicely, but it seems to work on all recent versions of OS X. The blank-pad method is less desirable since it results in lots of extra space in ps' output. Per Alexey Klyukin.
2010-09-02Clean up description of ecpg's dtcvfmtasc function.Tom Lane
Per KOIZUMI Satoru.
2010-09-02Clean up some bad grammar and punctuation in description of ecpg's decimalTom Lane
type. Per KOIZUMI Satoru.
2010-09-02Fix up flushing of composite-type typcache entries to be driven directly byTom Lane
SI invalidation events, rather than indirectly through the relcache. In the previous coding, we had to flush a composite-type typcache entry whenever we discarded the corresponding relcache entry. This caused problems at least when testing with RELCACHE_FORCE_RELEASE, as shown in recent report from Jeff Davis, and might result in real-world problems given the kind of unexpected relcache flush that that test mechanism is intended to model. The new coding decouples relcache and typcache management, which is a good thing anyway from a structural perspective. The cost is that we have to search the typcache linearly to find entries that need to be flushed. There are a couple of ways we could avoid that, but at the moment it's not clear it's worth any extra trouble, because the typcache contains very few entries in typical operation. Back-patch to 8.2, the same as some other recent fixes in this general area. The patch could be carried back to 8.0 with some additional work, but given that it's only hypothetical whether we're fixing any problem observable in the field, it doesn't seem worth the work now.
2010-09-01Clarify documentation of handling of null arguments for aggregates.Tom Lane
Per discussion.
2010-09-01Improve release notes' description of Teodor's fixes for polygon overlapsTom Lane
and contains operators.
2010-08-31Add missing markup for translatabilityAlvaro Herrera
2010-08-30Cosmetic fixes for KnownAssignedXidsGetOldestXmin, per Fujii Masao.Tom Lane
2010-08-30Fix misleading DEBUG2 issued during RemoveOldXlogFiles()Simon Riggs
2010-08-30Truncate subtrans after each restartpoint.Simon Riggs
Issue reported by Harald Kolb, patch by Fujii Masao, review by me.
2010-08-30Teach GetOldestXmin() about KnownAssignedXids during recovery.Simon Riggs
Very minor issue, though this is required for a later patch. Reported by Heikki Linnakangas.