summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-11-14fix returning valueTeodor Sigaev
2005-11-13Force the second argument of SUBSTRING(foo FOR bar) to be int4, to avoidTom Lane
surprising results when it's some other numeric type. This doesn't solve the generic problem of surprising implicit casts to text, but it's a low-impact way of making sure this particular case behaves sanely. Per gripe from Harald Fuchs and subsequent discussion.
2005-11-13Revert pgindent length back to 79 because we are going to fix the BSDBruce Momjian
indent bug.
2005-11-10add missing quote mark to ident_file sample line - per Hiroshi SaitoAndrew Dunstan
2005-11-10When in transaction-aborted state, reject Bind message for portals containingTom Lane
anything but transaction-exiting commands (ROLLBACK etc). We already rejected Parse and Execute in such cases, so there seems little point in allowing Bind. This prevents at least an Assert failure, and probably worse things, since there's a lot of infrastructure that doesn't work when not in a live transaction. We can also simplify the Bind logic a bit by rejecting messages with a nonzero number of parameters, instead of the former kluge to silently substitute NULL for each parameter. Per bug #2033 from Joel Stevenson.
2005-11-09Fix misspelling of 'listen_addresses', per Devrim.Tom Lane
2005-11-09Fix rwrite(ARRAY) on 64-bit boxes:Teodor Sigaev
Instead of getting elements of array manually call deconstruct_array
2005-11-08New features for tsearch2:Teodor Sigaev
1 Comparison operation for tsquery 2 Btree index on tsquery 3 numnode(tsquery) - returns 'length' of tsquery 4 tsquery @ tsquery, tsquery ~ tsquery - contains, contained for tsquery. Note: They don't gurantee exact result, only MAY BE, so it useful only for speed up rewrite functions 5 GiST index support for @,~ 6 rewrite(): select rewrite(orig, what, to); select rewrite(ARRAY[orig, what, to]) from tsquery_table; select rewrite(orig, 'select what, to from tsquery_table;'); 7 significantly improve cover algorithm
2005-11-07Lower pgident length to 77, document BSD indent bug.Bruce Momjian
2005-11-07Change maximum pgindent length from 79 to 78, per Tom.Bruce Momjian
2005-11-07R-tree is dead ... long live GiST.Tom Lane
2005-11-07Translation updates forward-port to HEAD.Alvaro Herrera
2005-11-06Add simple sanity checks on newly-read pages to GiST, too.Tom Lane
2005-11-06Add defenses to btree and hash index AMs to do simple sanity checksTom Lane
on every index page they read; in particular to catch the case of an all-zero page, which PageHeaderIsValid allows to pass. It turns out hash already had this idea, but it was just Assert()ing things rather than doing a straight error check, and the Asserts were partially redundant with PageHeaderIsValid anyway. Per recent failure example from Jim Nasby. (gist still needs the same treatment.)
2005-11-05Clean up representation of SLRU page state. This is the cleaner fixTom Lane
for the SLRU race condition that I posted a few days ago, but we decided not to use in 8.1 and older branches.
2005-11-05Brand HEAD branch as 8.2devel.Tom Lane
2005-11-05Tag everything for 8.1.0 ... Finally, a relesae on scheduale!!REL8_1_0PostgreSQL Daemon
2005-11-05Repair an error introduced by log_line_prefix patch: it is not acceptableTom Lane
to assume that the string pointer passed to set_ps_display is good forever. There's no need to anyway since ps_status.c itself saves the string, and we already had an API (get_ps_display) to return it. I believe this explains Jim Nasby's report of intermittent crashes in elog.c when %i format code is in use in log_line_prefix. While at it, repair a previously unnoticed problem: on some platforms such as Darwin, the string returned by get_ps_display was blank-padded to the maximum length, meaning that lock.c's attempt to append " waiting" to it never worked.
2005-11-05Add mention to update FAQ item on most recent release to RELEASE_CHANGES.Bruce Momjian
2005-11-05Update FAQ for most recent release as 8.1.Bruce Momjian
2005-11-05Yet another supported-platforms update.Tom Lane
2005-11-04Editorial review for partitioning/constraint exclusion documentation.Tom Lane
2005-11-04Improve description of constraint_exclusion variable.Tom Lane
2005-11-04Translation updatesPeter Eisentraut
2005-11-04Spellchecking run, final cleanupsPeter Eisentraut
2005-11-04Update release notes for 8.1.Bruce Momjian
2005-11-04Remove a gratuitous string difference (does not affect translations).Peter Eisentraut
2005-11-04Fix logical error in option description.Peter Eisentraut
2005-11-04Ensure that we only create one ConsoleCtrlHandler per psql process,Tom Lane
so as to avoid performance issues and possible ultimate crash on long psql scripts. Per Merlin Moncure.
2005-11-04We haven't seen any agreement emerge as to what is causing AIX 5.3 ML3Bruce Momjian
to fail to successfully build the release candidates. However, a patch has emerged (thanks, Seneca!) that does allow it to work, and which I'd expect to be portable (better still!). We are still actively pursuing why it breaks, but supposing that still remains outstanding, at least the following would allow AIX users to better survive a build... Chris Browne
2005-11-04Disregard superuserness when checking to see if a role GRANT wouldTom Lane
create circularity of role memberships. This is a minimum-impact fix for the problem reported by Florian Pflug. I thought about removing the superuser_arg test from is_member_of_role() altogether, as it seems redundant for many of the callers --- but not all, and it's way too late in the 8.1 cycle to be making large changes. Perhaps reconsider this later.
2005-11-04Update supported-platforms list.Tom Lane
2005-11-04Avoid referring to a specific version of the SQL standard except whereTom Lane
necessary, and be careful to refer to the right version where it is useful to do so. This partially reverts an ill-considered search and replace from a few months ago.
2005-11-03Fix a couple of missed None -> DestNone in comments.Tom Lane
2005-11-03Fix one overlooked ocurrence of "None" in EXEC_BACKEND block.Alvaro Herrera
2005-11-03Fix incorrect header size macrosTeodor Sigaev
2005-11-03Thinking further, it seems we had better also copy down resorigtbl/resorigcolTom Lane
to ensure that SubqueryScan elimination doesn't change the behavior of reporting of original column sources.
2005-11-03Fix the recently-added code that eliminates unnecessary SubqueryScan nodesTom Lane
from a finished plan tree. We have to copy the output column names (resname fields) from the SubqueryScan down to its child plan node; else, if this is the topmost level of the plan, the wrong column names will be delivered to the client. Per bug #2017 reported by Jolly Chen.
2005-11-03Rename the members of CommandDest enum so they don't collide with other uses ofAlvaro Herrera
those names. (Debug and None were pretty bad names anyway.) I hope I catched all uses of the names in comments too.
2005-11-03Translation updates.Alvaro Herrera
2005-11-03pgcrypto documentation polishing from Marko Kreen, and a small amountTom Lane
of copy-editing from myself.
2005-11-03Some minor improvements to the CE docs. Also fix a bit of SGML markupNeil Conway
elsewhere.
2005-11-03Fix longstanding race condition in transaction log management: there was aTom Lane
very narrow window in which SimpleLruReadPage or SimpleLruWritePage could think that I/O was needed when it wasn't (and indeed the buffer had already been assigned to another page). This would result in an Assert failure if Asserts were enabled, and probably in silent data corruption if not. Reported independently by Jim Nasby and Robert Creager. I intend a more extensive fix when 8.2 development starts, but this is a reasonably low-impact patch for the existing branches.
2005-11-02Add Tomoaki Sato to pgbench changes in release notes.Bruce Momjian
2005-11-01Add some documentation for constraint exclusion and basic partitioning.Neil Conway
From Simon Riggs; cleanup and editorialization by Neil Conway.
2005-11-01Make an editorial pass over the reference pages.Tom Lane
2005-11-01Provide a --no-locale option for pg_regress and a corresponding NOLOCALE=1Andrew Dunstan
setting for the regression makefile, allowing Windows users to force locale settings since Windows does not get its locale from the environment. Per Petr Jelinek.
2005-10-31Update supported-platforms entry for Tru64.Tom Lane
2005-10-31Mention in the docs that temporary/non-temp tables can not shareBruce Momjian
referential integrity relationships.
2005-10-31Add sanity check of queryTeodor Sigaev