Filter:

Commits in 2010

Commits608 commits of which 223 backported
0Author
608Committer
0Reviewer
0Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
CommitterInvert and rename flag variable to improve code readability.
39c8dd66
master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+9 more
No linked threadDec 31, 2010
CommitterMove symbols for ExecMergeJoin's state machine into nodeMergejoin.c.
7b464015
master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+9 more
No linked threadDec 31, 2010
CommitterSupport RIGHT and FULL OUTER JOIN in hash joins.
f4e4b327
master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+9 more
No linked threadDec 31, 2010
CommitterBackportedImprove pg_upgrade's checks for required executables.
88c80345
master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+10 more
No linked threadDec 29, 2010
CommitterBackportedOoops, no DATE_IS_NOBEGIN/DATE_IS_NOEND in 8.3 or 8.2 ...
5f588805
REL8_3_STABLE8.3.14REL8_2_STABLE8.2.20
No linked threadDec 29, 2010
CommitterBackportedAvoid unexpected conversion overflow in planner for distant date values.
f2ba1e99
master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+13 more
No linked threadDec 29, 2010
CommitterReclassify DEFAULT as a column_constraint item in the CREATE TABLE syntax.
31d2efae
master9.1alpha4REL_19_STABLE9.1alpha4REL_18_STABLE9.1alpha4REL_17_STABLE9.1alpha4REL_16_STABLE9.1alpha4REL_15_STABLE9.1alpha4REL_14_STABLE9.1alpha4REL_13_STABLE9.1alpha4+9 more
No linked threadDec 29, 2010
CommitterFix ill-advised placement of PGRES_COPY_BOTH enum value.
81a530a6
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadDec 28, 2010
CommitterRemove -fno-operator-names switch from cpluspluscheck.
f7913643
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadDec 27, 2010
CommitterRename the C functions bitand(), bitor() to bit_and(), bit_or().
84fc5713
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadDec 27, 2010
CommitterRearrange cpluspluscheck to check just one .h file at a time.
8c61f81b
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadDec 27, 2010
CommitterFix failure of executor/hashjoin.h to compile standalone.
37b61a69
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadDec 27, 2010
CommitterTweak cpluspluscheck to avoid directly #include'ing gram.h.
a977db6f
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadDec 27, 2010
CommitterFix ill-chosen use of "private" as an argument and struct field name.
27541191
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadDec 27, 2010
CommitterBackportedFix up handling of simple-form CASE with constant test expression.
1b19e2c0
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+13 more
No linked threadDec 19, 2010
CommitterBackportedFix erroneous parsing of tsquery input "... & !(subexpression) | ..."
abc10262
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+13 more
No linked threadDec 19, 2010
CommitterImprove comments around startup_hacks() code.
14ed7735
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadDec 16, 2010
CommitterBackportedRemove optreset from src/port/ implementations of getopt and getopt_long.
61b53695
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+11 more
No linked threadDec 16, 2010
CommitterBackportedFix up getopt() reset management so it works on recent mingw.
5cdd65f3
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+13 more
No linked threadDec 16, 2010
CommitterBackportedFix contrib/seg's GiST picksplit method.
2a6ebe70
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+13 more
No linked threadDec 16, 2010
CommitterBackportedUpdate release notes for releases 9.0.2, 8.4.6, 8.3.13, 8.2.19, and 8.1.23.
f9224c8e
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+14 more
No linked threadDec 14, 2010
CommitterBackportedUpdate time zone data files to tzdata release 2010o: DST law changes in Fiji and Samoa. Historical corrections for Hong Kong.
f5e4f743
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+14 more
No linked threadDec 13, 2010
CommitterReset all database-level stats in pgstat_recv_resetcounter().
0c904423
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadDec 12, 2010
CommitterMake S_IRGRP etc available in mingw builds as well as MSVC.
5132ad8b
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadDec 12, 2010
CommitterClean up some copied-and-pasted code in pg_upgrade.
3864afa1
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadDec 11, 2010
CommitterProvide a complete set of file-permission-bit macros in win32.h.
1319002e
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadDec 11, 2010
CommitterMove a couple of initdb's subroutines into src/port/.
67119992
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadDec 11, 2010
CommitterUse symbolic names not octal constants for file permission flags.
04f4e10c
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadDec 10, 2010
CommitterBackportedFix efficiency problems in tuplestore_trim().
244407a7
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+11 more
No linked threadDec 10, 2010
CommitterBackportedEliminate O(N^2) behavior in parallel restore with many blobs.
663fc32e
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+10 more
No linked threadDec 09, 2010
CommitterBackportedForce default wal_sync_method to be fdatasync on Linux.
576477e7
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+14 more
No linked threadDec 09, 2010
CommitterBackportedAdd a stack overflow check to copyObject().
8b569280
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+14 more
No linked threadDec 07, 2010
CommitterReduce memory consumption inside inheritance_planner().
d1001a78
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadDec 05, 2010
CommitterFix two small bugs in new gistget.c logic.
d1f5a92e
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadDec 04, 2010
CommitterUpdate comment to match later code changes.
e194a942
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadDec 04, 2010
CommitterAdd KNNGIST support to contrib/pg_trgm.
b525bf77
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadDec 04, 2010
CommitterAdd external documentation for KNNGIST.
b576757d
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadDec 04, 2010
CommitterPut back gistgettuple's check for backwards scan request.
04910a3a
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadDec 04, 2010
CommitterKNNGIST, otherwise known as order-by-operator support for GIST.
55450687
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadDec 04, 2010
CommitterCreate core infrastructure for KNNGIST.
d583f10b
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadDec 03, 2010
CommitterBackportedPrevent inlining a SQL function with multiple OUT parameters.
225f0aa3
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+14 more
No linked threadDec 01, 2010
CommitterSimplify and speed up mapping of index opfamilies to pathkeys.
c0b5fac7
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadNov 29, 2010
CommitterPoint out in default_tablespace's description that CREATE DATABASE ignores it.
c623365f
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadNov 27, 2010
CommitterA bit more wordsmithing on the PQping documentation.
d53c1255
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadNov 27, 2010
CommitterOn further testing, PQping also needs an explicit check for AUTH_REQ.
49cd8a3f
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadNov 27, 2010
CommitterRewrite PQping to be more like what we agreed to last week.
db96e1cc
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadNov 27, 2010
CommitterClean up IPv4 vs IPv6 bogosity in connectFailureMessage().
be3b666e
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadNov 27, 2010
CommitterFix portability issues in new src/port/inet_net_ntop.c file.
3840bc08
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadNov 26, 2010
CommitterRemove bogus use of PGDLLIMPORT.
1d9a0abe
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadNov 26, 2010
CommitterBackportedFix significant memory leak in contrib/xml2 functions.
4a2516a7
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+14 more
No linked threadNov 26, 2010
CommitterCreate the system catalog infrastructure needed for KNNGIST.
725d52d0
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadNov 24, 2010
CommitterFurther cleanup of indxpath logic related to IndexOptInfo.opfamily array.
89a36841
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadNov 20, 2010
CommitterAssorted further cleanup for integer-conversion patch.
d1d8462d
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadNov 20, 2010
CommitterBackportedFix leakage of cost_limit when multiple autovacuum workers are active.
b58c2505
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+12 more
No linked threadNov 20, 2010
CommitterImprove relation width estimation for subqueries.
0f61d4dd
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadNov 19, 2010
CommitterBackportedImprove plpgsql's error reporting for no-such-column cases.
fe24d781
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+10 more
No linked threadNov 18, 2010
CommitterDept of second thoughts: don't try to push LIMIT below a SRF.
48c348f8
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadNov 18, 2010
CommitterFurther fallout from the MergeAppend patch.
6fbc323c
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadNov 18, 2010
CommitterMake TRUNCATE ... RESTART IDENTITY restart sequences transactionally.
511e902b
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadNov 17, 2010
CommitterBackportedFix aboriginal mistake in plpython's set-returning-function support.
add0ea88
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+13 more
No linked threadNov 15, 2010
CommitterAdjust comments about what's needed to avoid make 3.80 bug.
357edc9a
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadNov 15, 2010
CommitterBackportedFix canAcceptConnections() bugs introduced by replication-related patches.
3892a2d8
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+11 more
No linked threadNov 14, 2010
CommitterWork around make 3.80 bug with long expansions of $(eval).
1bd20121
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadNov 14, 2010
CommitterBackportedAdd missing outfuncs.c support for struct InhRelation.
2138c701
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+14 more
No linked threadNov 13, 2010
CommitterBackportedFix old oversight in const-simplification of COALESCE() expressions.
d7304244
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+14 more
No linked threadNov 12, 2010
CommitterBackportedFix line_construct_pm() for the case of "infinite" (DBL_MAX) slope.
b0f2d681
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+14 more
No linked threadNov 10, 2010
CommitterImprove pg_ctl's man page.
0de92fd1
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadNov 09, 2010
CommitterBackportedRepair memory leakage while ANALYZE-ing complex index expressions.
80fb2c1f
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+14 more
No linked threadNov 09, 2010
CommitterBackportedFix error handling in temp-file deletion with log_temp_files active.
54428dbe
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+12 more
No linked threadNov 09, 2010
CommitterUse appendrel planning logic for top-level UNION ALL structures.
947d0c86
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadNov 08, 2010
CommitterPrevent invoking I/O conversion casts via functional/attribute notation.
543d22fc
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadNov 07, 2010
CommitterImplement an "S" option for psql's \dn command.
e43fb604
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadNov 07, 2010
CommitterBackportedAdd support for detecting register-stack overrun on IA64.
d7a2ce49
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+14 more
No linked threadNov 06, 2010
CommitterMake get_stack_depth_rlimit() handle RLIM_INFINITY more sanely.
dd1c7819
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadNov 06, 2010
CommitterInclude the current value of max_stack_depth in stack depth complaints.
6736916f
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadNov 04, 2010
CommitterAllow moddatetime's target column to be of type timestamptz.
5e8b7b0b
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadNov 04, 2010
CommitterUse appendStringInfoString() where appropriate in elog.c.
09211659
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadNov 04, 2010
CommitterReimplement planner's handling of MIN/MAX aggregate optimization.
034967bd
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadNov 04, 2010
CommitterBackportedReduce recursion depth in recently-added regression test.
0abc8fdd
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+14 more
No linked threadNov 03, 2010
CommitterUse only one hash entry for all instances of a pltcl trigger function.
70a0160b
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadNov 03, 2010
CommitterBackportedFix adjust_semi_join to be more cautious about clauseless joins.
61d6dd0c
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+11 more
No linked threadNov 02, 2010
CommitterBackportedFix buffer overrun in pg_upgrade.
71baff17
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+10 more
No linked threadNov 02, 2010
CommitterBackportedEnsure an index that uses a whole-row Var still depends on its table.
9f376e14
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+14 more
No linked threadNov 02, 2010
CommitterAvoid using a local FunctionCallInfoData struct in ExecMakeFunctionResult and related routines.
0811ff20
master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+9 more
No linked threadNov 01, 2010
CommitterRevert removal of trigger flag from plperl function hash key.
76b12e0a
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadOct 31, 2010
CommitterProvide hashing support for arrays.
186cbbda
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadOct 31, 2010
CommitterFix comparisons of pointers with zero to compare with NULL instead.
bfd3f37b
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadOct 29, 2010
CommitterOops, missed one fix for EquivalenceClass rearrangement.
48a1fb23
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadOct 29, 2010
CommitterAvoid creation of useless EquivalenceClasses during planning.
14231a41
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadOct 29, 2010
CommitterSave a few cycles in plpgsql simple-expression initialization.
37e0a016
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadOct 28, 2010
CommitterBackportedFix plpgsql's handling of "simple" expression evaluation.
8ce22dd4
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+14 more
No linked threadOct 28, 2010
CommitterPrevious patch had no detectable virtue other than being a one-liner.
e6721c6e
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadOct 27, 2010
CommitterBackportedFix up some oversights in psql's Unicode-escape support.
35d89401
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+10 more
No linked threadOct 27, 2010
CommitterFix overly-enthusiastic Assert in printing of Param reference expressions.
c6873eac
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadOct 25, 2010
CommitterBackportedFix inline_set_returning_function() to preserve the invalItems list properly.
ef55e294
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+10 more
No linked threadOct 25, 2010
CommitterWork around rounding misbehavior exposed by buildfarm.
4ba61a48
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadOct 25, 2010
CommitterAllow new values to be added to an existing enum type.
84c123be
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadOct 25, 2010
CommitterImprove handling of domains over arrays.
529cb267
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadOct 21, 2010
CommitterBackportedRemove obsolete comment, per Josh Kupershmidt.
572ab1a5
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+10 more
No linked threadOct 20, 2010
CommitterBackportedDon't try to fetch database name when SetTransactionIdLimit() is executed outside a transaction.
def30e84
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+10 more
No linked threadOct 20, 2010
CommitterBackportedFix ecpg test building process to not generate *.dSYM junk on Macs.
c75e1436
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+13 more
No linked threadOct 20, 2010
CommitterBackportedUpdate storage.sgml to describe the 9.0 tablespace directory layout.
c33bfb8b
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+10 more
No linked threadOct 20, 2010
CommitterBackportedFix incorrect generation of whole-row variables in planner.
6e74a91b
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+10 more
No linked threadOct 19, 2010
CommitterFix a passel of inappropriately-named global functions in GIN.
419d2374
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadOct 18, 2010
CommitterImprove GIN indexscan cost estimation.
48c7d9f6
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadOct 18, 2010
CommitterFix recent changes to not break non-IPV6-aware systems.
9771125c
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadOct 16, 2010
CommitterAllow WITH clauses to be attached to INSERT, UPDATE, DELETE statements.
07f1264d
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadOct 15, 2010
CommitterDocument the DISTINCT noise word in the UNION/INTERSECT/EXCEPT constructs.
71d24466
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadOct 15, 2010
CommitterSupport MergeAppend plans, to allow sorted output from append relations.
11cad29c
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadOct 14, 2010
CommitterRemove some unnecessary tests of pgstat_track_counts.
f4d242ef
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadOct 12, 2010
CommitterBackportedFix plpython so that it again honors typmod while assigning to tuple fields.
09130e58
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+10 more
No linked threadOct 12, 2010
CommitterBackportedFix assorted bugs in GIN's WAL replay logic.
4016bdef
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+13 more
No linked threadOct 11, 2010
CommitterImprove the planner's simplification of NOT constructs.
220e45bf
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadOct 11, 2010
CommitterTeach psql to do tab completion for names of psql variables.
b48b9cb3
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadOct 10, 2010
CommitterSupport triggers on views.
2ec993a7
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadOct 10, 2010
CommitterFix sloppy usage of TRIGGER_FIRED_BEFORE/TRIGGER_FIRED_AFTER.
caaf2e84
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadOct 08, 2010
CommitterImprove logging in VACUUM FULL VERBOSE and CLUSTER VERBOSE.
9cc8c84e
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadOct 08, 2010
CommitterEliminate some repetitive coding in tuplesort.c.
26a7b48e
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadOct 08, 2010
CommitterTeach CLUSTER to use seqscan-and-sort when it's faster than indexscan.
3ba11d3d
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadOct 08, 2010
CommitterReduce the memory requirement for large ispell dictionaries.
3e5f9412
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadOct 06, 2010
CommitterClean up temporary-memory management during ispell dictionary loading.
9b910def
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadOct 06, 2010
CommitterBackportedUndo some poorly-thought-out "proofreading improvements". Per Tatsuhito Kasahara.
d79a1a13
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+10 more
No linked threadOct 05, 2010
CommitterBackportedBehave correctly if INSERT ... VALUES is decorated with additional clauses.
3a13f12b
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+13 more
No linked threadOct 03, 2010
CommitterBackportedRemove excess argument to open(2).
e77f605d
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+11 more
No linked threadOct 02, 2010
CommitterBackportedThrow an appropriate error if ALTER COLUMN TYPE finds a dependent trigger.
1f0b62e8
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+10 more
No linked threadOct 02, 2010
CommitterFix back-branch breakage from ill-advised last-minute commit.
a0ccae7e
REL9_0_STABLE9.0.1
No linked threadOct 01, 2010
CommitterBackportedUse a separate interpreter for each calling SQL userid in plperl and pltcl.
50595b5f
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+16 more
No linked threadSep 30, 2010
CommitterBackportedUpdate release notes for releases 9.0.1, 8.4.5, 8.3.12, 8.2.18, 8.1.22, 8.0.26, and 7.4.30.
a5683ea0
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+16 more
No linked threadSep 30, 2010
CommitterImprove messages for too many private files/dirs. Per Alexey Parshin.
5ac144d5
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadSep 28, 2010
CommitterFix incorrect usage of non-strict OR joinclauses in appendrel indexscans.
a2e26a6f
REL8_3_STABLE8.3.12
No linked threadSep 28, 2010
CommitterBackportedFix another small oversight in command_no_begin patch.
112c3fc6
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+12 more
No linked threadSep 28, 2010
CommitterBackportedFix PlaceHolderVar mechanism's interaction with outer joins.
eb229505
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+11 more
No linked threadSep 28, 2010
CommitterImprove git_changelog as per discussion with Robert Haas.
bf429ceb
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadSep 27, 2010
CommitterStill more tweaking of git_changelog.
899beb78
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadSep 26, 2010
CommitterFix some more bugs in git_changelog.
30d2e100
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadSep 26, 2010
CommitterMinor improvements to git_changelog.
901a5a78
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadSep 26, 2010
CommitterRename git_topo_order -> git_changelog, per discussion.
ce1dcd46
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadSep 25, 2010
CommitterBackportedFix another join removal bug: the check on PlaceHolderVars was wrong.
c8c03d72
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+10 more
No linked threadSep 25, 2010
CommitterBackportedFurther fixes to the pg_get_expr() security fix in back branches.
3613d089
REL9_0_STABLE9.0.1REL8_4_STABLE8.4.5REL8_3_STABLE8.3.12REL8_2_STABLE8.2.18REL8_1_STABLE8.1.22REL8_0_STABLE8.0.26REL7_4_STABLE7.4.30
No linked threadSep 25, 2010
CommitterBackportedStill more .gitignore cleanup.
54c88dee
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+16 more
No linked threadSep 24, 2010
CommitterBackportedProcessIncomingNotify *must* reset notifyInterruptOccurred when called.
a959c67c
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+10 more
No linked threadSep 23, 2010
CommitterBackportedPrevent show_session_authorization from crashing when session_authorization hasn't been set.
660fbec5
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+16 more
No linked threadSep 23, 2010
CommitterBackportedAvoid sharing subpath list structure when flattening nested AppendRels.
ee63981c
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+13 more
No linked threadSep 23, 2010
CommitterMake _outPathInfo print the relid set of the path's parent rel.
003788e8
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadSep 23, 2010
CommitterAnother missing .gitignore entry ...
767ae95b
REL7_4_STABLE7.4.30
No linked threadSep 23, 2010
CommitterBackportedRe-allow input of Julian dates prior to 0001-01-01 AD.
9aae8152
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+11 more
No linked threadSep 23, 2010
CommitterBackportedMore fixes for libpq's .gitignore file.
804b2761
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+16 more
No linked threadSep 23, 2010
CommitterBackportedDo some copy-editing on the Git usage docs.
8687fbbe
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+16 more
No linked threadSep 23, 2010
CommitterBackportedFix remaining stray references to CVS.
65137793
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+10 more
No linked threadSep 22, 2010
CommitterBackportedFix documentation gitignore for pre-9.0 doc build methods.
c69bdbd5
REL8_4_STABLE8.4.5REL8_3_STABLE8.3.12REL8_2_STABLE8.2.18REL8_1_STABLE8.1.22REL8_0_STABLE8.0.26REL7_4_STABLE7.4.30
No linked threadSep 22, 2010
CommitterBackportedAdd assorted other documentation build targets to documentation gitignore.
cb71efe1
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+10 more
No linked threadSep 22, 2010
CommitterAnother gitignore straggler.
b49092d9
REL8_2_STABLE8.2.18
No linked threadSep 22, 2010
CommitterBackportedSome more gitignore cleanups: cover contrib and PL regression test outputs.
cc2c8152
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+16 more
No linked threadSep 22, 2010
Committerpgcvslog isn't useful anymore, either.
38d78b0f
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadSep 21, 2010
Committeradd_cvs_markers isn't useful anymore.
7dcc4e75
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadSep 21, 2010
CommitterSome more cleanup of CVS keyword noise.
538d685a
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadSep 21, 2010
CommitterThe port/pg_latch.c symlink ought to be removed by make distclean.
a6d4089d
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadSep 21, 2010
CommitterBackportedFix a missed explanation of auto-analyze threshold, per Joe Miller.
2cdf6c15
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+10 more
No linked threadSep 21, 2010
CommitterBackportedBack-patch replacement of README.CVS with README.git.
829f5b35
REL9_0_STABLE9.0.1REL8_4_STABLE8.4.5REL8_3_STABLE8.3.12REL8_2_STABLE8.2.18REL8_1_STABLE8.1.22REL8_0_STABLE8.0.26REL7_4_STABLE7.4.30
No linked threadSep 21, 2010
CommitterTrivial typo fix.
eacc4a3b
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadSep 21, 2010
CommitterReplace last remaining $Id$ with $PostgreSQL$.
f679cfe9
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadSep 19, 2010
CommitterFix several broken $PostgreSQL$ keywords. Noted while experimenting with Magnus's script to remove these.
9eef3318
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadSep 19, 2010
CommitterMake sure we wait for protocol-level EOF when ending binary COPY IN.
f906e078
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadSep 18, 2010
CommitterGive a suitable HINT when an INSERT's data source is a RowExpr containing the same number of columns expected by the insert. This suggests that there were extra parentheses that converted the intended column list into a row expression.
af0161e5
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadSep 18, 2010
CommitterAdd some documentation about how we WAL-log filesystem actions. Per a question from Robert Haas.
54d0e288
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadSep 17, 2010
CommitterBackportedStamp 9.0 release notes with expected release date; also some last-minute copy-editing.
f7270a65
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+10 more
No linked threadSep 16, 2010
CommitterBackportedFix bad grammar.
7acf6f9b
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+10 more
No linked threadSep 16, 2010
CommitterBackportedFix two new-in-9.0 bugs in hstore.
cd55aa2e
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+10 more
No linked threadSep 16, 2010
CommitterBackportedAdd a compatibility note about plpgsql's treatment of SELECT INTO rec.fld when fld is of composite type. Per discussion of bug #5644 from Valentine Gogichashvili.
e1089e34
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+10 more
No linked threadSep 15, 2010
CommitterBackportedFix join-removal logic for pseudoconstant and outerjoin-delayed quals.
4e97631e
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+10 more
No linked threadSep 14, 2010
CommitterBackportedRemove obsolete claim that gzip is needed while installing PG's documentation. It isn't, now that we ship the docs as loose files rather than a sub-tarball.
0b81c7c4
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+10 more
No linked threadSep 09, 2010
CommitterGROUP BY can only infer functional dependency from non-deferrable primary keys.
a756f5ce
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+9 more
No linked threadSep 05, 2010
CommitterBackportedPad the ps_status display with nulls, not blanks, on Darwin.
8d8d5cb6
master9.1alpha2REL_19_STABLE9.1alpha2REL_18_STABLE9.1alpha2REL_17_STABLE9.1alpha2REL_16_STABLE9.1alpha2REL_15_STABLE9.1alpha2REL_14_STABLE9.1alpha2REL_13_STABLE9.1alpha2+10 more
No linked threadSep 04, 2010
CommitterInstall a data-type-based solution for protecting pg_get_expr().
303696c3
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+9 more
No linked threadSep 03, 2010
CommitterIn HEAD only, revert kluge solution for preventing misuse of pg_get_expr().
8ab6a6b4
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+9 more
No linked threadSep 03, 2010
Committer9.1alpha1 release notes.
c89a1198
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+9 more
No linked threadSep 02, 2010
CommitterBackportedClean up description of ecpg's dtcvfmtasc function. Per KOIZUMI Satoru.
9b3c19d8
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+10 more
No linked threadSep 02, 2010
CommitterBackportedClean up some bad grammar and punctuation in description of ecpg's decimal type. Per KOIZUMI Satoru.
f3b330ec
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+10 more
No linked threadSep 02, 2010
CommitterBackportedFix up flushing of composite-type typcache entries to be driven directly by SI invalidation events, rather than indirectly through the relcache.
9513918c
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+13 more
No linked threadSep 02, 2010
CommitterBackportedClarify documentation of handling of null arguments for aggregates. Per discussion.
21076076
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+10 more
No linked threadSep 01, 2010
CommitterBackportedImprove release notes' description of Teodor's fixes for polygon overlaps and contains operators.
4ff6856c
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+10 more
No linked threadSep 01, 2010
CommitterBack-port into 8.2 an old fix to ensure that BYTE_ORDER gets set correctly on 64-bit Intel Solaris. Per my proposal yesterday, 8.2 is where we will start considering this platform supported. While this patch itself could easily go into older branches, there's not a huge amount of point unless we also make some significantly-more-invasive changes in the spinlock support.
30b9371e
REL8_2_STABLE8.2.18
No linked threadAug 30, 2010
CommitterBackportedCosmetic fixes for KnownAssignedXidsGetOldestXmin, per Fujii Masao.
174a5133
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+10 more
No linked threadAug 30, 2010
CommitterFix oversight in RelFileNodeBackend patch: CreateFakeRelcacheEntry needs to initialize the rd_backend field of a fake Relation entry correctly. Fortunately, that is easy, since only non-temp relations should ever be mentioned in the WAL stream.
eb36d1ad
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+9 more
No linked threadAug 30, 2010
CommitterBackportedReduce PANIC to ERROR in some occasionally-reported btree failure cases.
8fa30f90
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+13 more
No linked threadAug 29, 2010
CommitterBackportedRemove obsolete remark that PQprepare() is more flexible than PREPARE.
a9a999bc
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+13 more
No linked threadAug 29, 2010
CommitterBackportedDocument the existence of the socket lock file under unix_socket_directory, which is perhaps not a terribly good spot for it but there doesn't seem to be a better place. Also add a source-code comment pointing out a couple reasons for having a separate lock file. Per suggestion from Greg Smith.
73b3bd55
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+10 more
No linked threadAug 26, 2010
CommitterBackportedExplain automatic creation (or lack of it) of indexes for the various types of constraints.
48322916
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+10 more
No linked threadAug 26, 2010
CommitterBackportedUpdate time zone data files to tzdata release 2010l: DST law changes in Egypt and Palestine. Added new names for two Micronesian timezones: Pacific/Chuuk is now preferred over Pacific/Truk (and the preferred abbreviation is CHUT not TRUT) and Pacific/Pohnpei is preferred over Pacific/Ponape. Historical corrections for Finland.
16567b05
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+15 more
No linked threadAug 26, 2010
CommitterBackportedFix ExecMakeTableFunctionResult to verify that all rows returned by a SRF returning "record" actually do have the same rowtype. This is needed because the parser can't realistically enforce that they will all have the same typmod, as seen in a recent example from David Wheeler.
db2d9c60
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+15 more
No linked threadAug 26, 2010
CommitterBackportedDon't auto-create the subdirectories holding built documentation in a VPATH build tree. If we actually build the docs in the VPATH tree, those dirs will get created then; but if they're present and empty, they capture the vpathsearch searches in "make install", preventing installation of prebuilt docs that might exist in the source tree. Per bug #5595 from Dmtiriy Igrishin. Fix based on idea from Peter Eisentraut.
39ce62b1
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+10 more
No linked threadAug 26, 2010
CommitterBackportedDocument filtering dictionaries in textsearch.sgml.
9389ac89
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+10 more
No linked threadAug 25, 2010
CommitterBackportedImprove hint message for ENOMEM failure from shmget().
acac35ad
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+10 more
No linked threadAug 25, 2010
CommitterBackportedDocs review for unaccent: fix grammar, markup, etc.
7fc614c6
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+10 more
No linked threadAug 25, 2010
CommitterAvoid passing signed chars to <ctype.h> functions ... same old portability mistake as always. Per buildfarm member pika.
1dab218a
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+9 more
No linked threadAug 25, 2010
CommitterBackportedUpdate 9.0 release notes for changes since beta4.
f121c408
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+10 more
No linked threadAug 25, 2010
CommitterBackportedFurther editing of release notes.
7dc04cd2
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+10 more
No linked threadAug 24, 2010
CommitterMake EXPLAIN show the function call expression of a FunctionScan plan node, but only in VERBOSE mode. Per discussion.
99ee43c5
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+9 more
No linked threadAug 24, 2010
CommitterBackportedMarginal code cleanup for streaming replication.
b9defe04
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+10 more
No linked threadAug 23, 2010
CommitterBackportedMake pg_archivecleanup log messages more consistent.
e57cd393
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+10 more
No linked threadAug 23, 2010
CommitterBackportedMake an editorial pass over the 9.0 release notes.
005e427a
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+10 more
No linked threadAug 23, 2010
CommitterBackportedUse a non-locale-dependent definition of isspace() in array_in/array_out.
95cacd13
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+10 more
No linked threadAug 21, 2010
CommitterBackportedImprove parallel restore's ability to cope with selective restore (-L option).
c5d6d5bc
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+11 more
No linked threadAug 21, 2010
CommitterAdd missing processing of OptTemp in CREATE IF NOT EXISTS variant for typed tables. Noted by Robert Haas.
efe2e9a7
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+9 more
No linked threadAug 20, 2010
CommitterAvoid saying "random" when randomness is not actually meant. Per Thom Brown.
53449458
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+9 more
No linked threadAug 20, 2010
CommitterBackportedBring some sanity to the trace_recovery_messages code and docs. Per gripe from Fujii Masao, though this is not exactly his proposed patch. Categorize as DEVELOPER_OPTIONS and set context PGC_SIGHUP, as per Fujii, but set the default to LOG because higher values aren't really sensible (see the code for trace_recovery()). Fix the documentation to agree with the code and to try to explain what the variable actually does. Get rid of no-op calls trace_recovery(LOG), which accomplish nothing except to demonstrate that this option confuses even its author.
79dc97a4
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+10 more
No linked threadAug 19, 2010
CommitterBackportedAllow USING and INTO clauses of plpgsql's EXECUTE to appear in either order.
9676b010
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+11 more
No linked threadAug 19, 2010
CommitterBackportedKeep exec_simple_check_plan() from thinking "SELECT foo INTO bar" is simple.
f4b4a46f
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+12 more
No linked threadAug 19, 2010
CommitterBackportedBe a bit less cavalier with both the code and the comment for UNKNOWN fix.
3869e9ae
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+11 more
No linked threadAug 19, 2010
CommitterBackportedAllocate local buffers in a context of their own, rather than dumping them into TopMemoryContext. This makes no functional difference, but makes it easier to see what the space is being used for in MemoryContextStats dumps. Per a recent example in which I was surprised by the size of TopMemoryContext.
bc7cb8f4
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+10 more
No linked threadAug 19, 2010
CommitterBackportedFix possible corruption of AfterTriggerEventLists in subtransaction rollback.
e275d16a
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+11 more
No linked threadAug 19, 2010
CommitterBackportedReset the per-output-tuple exprcontext each time through the main loop in ExecModifyTable(). This avoids memory leakage when trigger functions leave junk behind in that context (as they more or less must). Problem and solution identified by Dean Rasheed.
3573c834
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+10 more
No linked threadAug 18, 2010
CommitterRename utf2ucs() to utf8_to_unicode(), and export it so it can be used elsewhere.
2d8314bd
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+9 more
No linked threadAug 18, 2010
CommitterBackportedFix failure of "ALTER TABLE t ADD COLUMN c serial" when done by non-owner.
b5565bca
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+10 more
No linked threadAug 18, 2010
CommitterBackportedAdd missing handling of PlannedStmt.transientPlan in copyfuncs/outfuncs.
99848ed7
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+12 more
No linked threadAug 18, 2010
CommitterBackportedArrange to fsync the contents of lockfiles (both postmaster.pid and the socket lockfile) when writing them. The lack of an fsync here may well explain two different reports we've seen of corrupted lockfile contents, which doesn't particularly bother the running server but can prevent a new server from starting if the old one crashes. Per suggestion from Alvaro.
ee0e525b
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+16 more
No linked threadAug 16, 2010
CommitterBackportedFix psql's copy of utf2ucs() to match the backend's copy exactly; in particular, propagate a fix in the test to see whether a UTF8 character has length 4 bytes. This is likely of little real-world consequence because 5-or-more-byte UTF8 sequences are not supported by Postgres nor seen anywhere in the wild, but still we may as well get it right. Problem found by Joseph Adams.
b49c8790
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+16 more
No linked threadAug 16, 2010
CommitterBackportedAssorted improvements to backup/restore documentation, per Thom Brown.
f0f46ed6
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+10 more
No linked threadAug 15, 2010
CommitterBackportedClarify bit numbering in get_bit/set_bit etc. Per gripe from Boszormenyi Zoltan.
521c26eb
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+10 more
No linked threadAug 15, 2010
CommitterBackportedImprove pgarchivecleanup documentation, per comments from Satoshi Nagayasu.
d915a275
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+10 more
No linked threadAug 15, 2010
CommitterAvoid unnecessary use of TPS acronym.
82954d49
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+9 more
No linked threadAug 15, 2010
CommitterBackportedFix planner to make a reasonable assumption about the amount of memory space used by array_agg(), string_agg(), and similar aggregate functions that use "internal" as their transition datatype. The previous coding thought this took *no* extra space, since "internal" is pass-by-value; but actually these aggregates typically consume a great deal of space. Per bug #5608 from Itagaki Takahiro, and fix suggestion from Hitoshi Harada.
22d9ddbb
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+11 more
No linked threadAug 14, 2010
CommitterFix \ef and \sf to not fail on functions with nonnull probin. Update comment about them in pg_get_functiondef.
41b810fe
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+9 more
No linked threadAug 14, 2010
CommitterAdd a \sf (show function) command to psql, for those times when you need to look at a function but don't wish to fire up an editor.
b6e06942
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+9 more
No linked threadAug 14, 2010
CommitterMyBackendId now needs to be PGDLLIMPORT, so that contrib modules can access it on Windows. Per buildfarm.
946b0780
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+9 more
No linked threadAug 14, 2010
CommitterClean up failure to use ClosePager() where appropriate in help.c. Also prevent possible repeat opening of pager in helpSQL().
36ba263d
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+9 more
No linked threadAug 13, 2010
CommitterMinor #include cleanup.
3f9479ef
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+9 more
No linked threadAug 13, 2010
CommitterAdd xml_is_well_formed, xml_is_well_formed_document, xml_is_well_formed_content functions to the core XML code. Per discussion, the former depends on XMLOPTION while the others do not. These supersede a version previously offered by contrib/xml2.
a0b7b717
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+9 more
No linked threadAug 13, 2010
CommitterBackportedFix Assert failure in PushOverrideSearchPath when trying to restore a search path that specifies useTemp, but there is no active temp schema in the current session. (This can happen if the path was saved during a transaction that created a temp schema and was later rolled back.) For existing callers it's sufficient to ignore the useTemp flag in this case, though we might later want to offer an option to create a fresh temp schema. So far as I can tell this is just an Assert failure: in a non-assert build, the code would push a zero onto the new search path, which is useless but not very harmful. Per bug report from Heikki.
2a7349f0
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+12 more
No linked threadAug 13, 2010
CommitterBackportedFix pg_restore to complain if any arguments remain after parsing the switches and input file name, per bug #5617 from Leo Shklovskii. Rearrange the corresponding code in pg_dump and pg_dumpall so that all three programs handle this in a consistent, straightforward fashion.
e4155c84
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+10 more
No linked threadAug 13, 2010
CommitterGet rid of a bunch of dubious error handling code in pgbench by just erroring out immediately on any out-of-memory condition. It's rather pointless to imagine that pgbench will be able to continue usefully after a malloc failure, and in any case there were a number of unchecked mallocs.
00f76dbf
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+9 more
No linked threadAug 12, 2010
CommitterAdd the ability to compute per-statement latencies (ie, average execution times) to pgbench.
5a4e19ab
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+9 more
No linked threadAug 12, 2010
CommitterExtend psql's \e and \ef commands so that a line number can be specified, and the editor's cursor will be initially placed on that line. In \e the lines are counted with respect to the query buffer, while in \ef they are counted with line 1 = first line of function body. These choices are useful for positioning the cursor on the line of a previously-reported error.
568e7093
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+9 more
No linked threadAug 12, 2010
CommitterRemove the arbitrary (and undocumented) limit on the number of parameter=value pairs that can be handled by xslt_process().
c04fd1b9
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+9 more
No linked threadAug 10, 2010
CommitterAdd three-parameter forms of array_to_string and string_to_array, to allow better handling of NULL elements within the arrays. The third parameter is a string that should be used to represent a NULL element, or should be translated into a NULL element, respectively. If the third parameter is NULL it behaves the same as the two-parameter form.
33f43725
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+9 more
No linked threadAug 10, 2010
CommitterBackportedFix incorrect logic in plpgsql for cleanup after evaluation of non-simple expressions. We need to deal with this when handling subscripts in an array assignment, and also when catching an exception. In an Assert-enabled build these omissions led to Assert failures, but I think in a normal build the only consequence would be short-term memory leakage; which may explain why this wasn't reported from the field long ago.
46af71ff
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+16 more
No linked threadAug 09, 2010
CommitterModify the handling of RAISE without parameters so that the error it throws can be caught in the same places that could catch an ordinary RAISE ERROR in the same location. The previous coding insisted on throwing the error from the block containing the active exception handler; which is arguably more surprising, and definitely unlike Oracle's behavior.
2e35d4f3
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+9 more
No linked threadAug 09, 2010
CommitterAdd an xpath_exists() function. This is equivalent to XMLEXISTS except that it offers support for namespace mapping.
4dfc4578
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+9 more
No linked threadAug 08, 2010
CommitterAdd stats functions and views to provide access to a transaction's own statistics counts. These numbers are being accumulated but haven't yet been transmitted to the collector (and won't be, until the transaction ends). For some purposes, though, it's handy to be able to look at them.
46aa77c7
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+9 more
No linked threadAug 08, 2010
CommitterRecognize functional dependency on primary keys. This allows a table's other columns to be referenced without listing them in GROUP BY, so long as the primary key column(s) are listed in GROUP BY.
e49ae8d3
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+9 more
No linked threadAug 07, 2010
CommitterBackportedLet's put that </link> in a sane place ...
4672093a
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+10 more
No linked threadAug 06, 2010
CommitterBackportedFix inaccurate description of deferrable unique constraints, per Dean Rasheed.
a209b985
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+10 more
No linked threadAug 06, 2010
CommitterAdd a comment about the initial default value of max_stack_depth.
f73b7651
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+9 more
No linked threadAug 06, 2010
CommitterBackportedAdd a very specific hint for the case that we're unable to locate a function matching a call like f(x, ORDER BY y,z). It could be that what the user really wants is f(x,z ORDER BY y). We now have pretty conclusive evidence that many people won't understand this problem without concrete guidance, so give it to them. Per further discussion of the string_agg() problem.
1e4c050b
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+10 more
No linked threadAug 05, 2010
CommitterBackportedRemove the single-argument form of string_agg(). It added nothing much in functionality, while creating an ambiguity in usage with ORDER BY that at least two people have already gotten seriously confused by. Also, add an opr_sanity test to check that we don't in future violate the newly minted policy of not having built-in aggregates with the same name and different numbers of parameters. Per discussion of a complaint from Thom Brown.
b0c451e1
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+10 more
No linked threadAug 05, 2010
CommitterForgot to back-patch earlier change to documentation for aggregate ORDER BY clauses.
6a366113
REL9_0_STABLE9.0rc1
No linked threadAug 04, 2010
CommitterBackportedFix sloppy mistakes in documentation of PQescapeLiteral and PQescapeIdentifier. Noted by Dmitriy Igrishin.
ba19b236
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+10 more
No linked threadAug 04, 2010
CommitterAdd an example to clarify the use of ORDER BY in multiple-argument aggregates. People seem to not get this right without help.
72150db0
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+9 more
No linked threadAug 04, 2010
CommitterReplace the naive HYPOT() macro with a standards-conformant hypotenuse function. This avoids unnecessary overflows and probably gives a more accurate result as well.
db04f2b3
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+9 more
No linked threadAug 03, 2010
CommitterCode review for --quote-all-identifiers patch: add missing --help documentation for new pg_dump/pg_dumpall parameters, make a couple of trivial stylistic adjustments to make the code follow usual project style.
34915209
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+9 more
No linked threadAug 03, 2010
CommitterFix mangled grammar.
e20df55c
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+9 more
No linked threadAug 03, 2010
CommitterKibitzing on \conninfo patch: adjust the order of field output to match the parameters of \connect, and fix oversight of not enabling translation of the messages. Also, adjust \connect's similar messages to match, and deal with 8.2-era violation of basic translatability guidelines there.
5b92ef44
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+9 more
No linked threadAug 03, 2010
CommitterAdd some comments to tinterval_cmp_internal pointing out its severe implementation deficiencies. Per discussion of bug #5592, we're not going to change it, but these things should be documented so that if anyone ever reimplements type tinterval, they will be more careful.
72405b06
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+9 more
No linked threadAug 03, 2010
CommitterFix markup, other minor editing for recent btree_gist doc changes.
8c19d14b
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+9 more
No linked threadAug 03, 2010
CommitterBe a little more careful with the shift computations in QT2QTN and makeTSQuerySign. The first of these is a live bug, on some platforms, as per bug #5590 from John Regehr. However the consequences seem limited because of the relatively narrow scope of use of QTNode.sign. The shift in makeTSQuerySign is actually safe because TSQS_SIGLEN is unsigned, but it seems like a good idea to insert an explicit cast rather than depend on that.
532a4c35
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+9 more
No linked threadAug 03, 2010
CommitterBackportedFix core dump in QTNodeCompare when tsquery_cmp() is applied to two empty tsqueries. CompareTSQ has to have a guard for the case rather than blindly applying QTNodeCompare to random data past the end of the datums. Also, change QTNodeCompare to be a little less trusting: use an actual test rather than just Assert'ing that the input is sane. Problem encountered while investigating another issue (I saw a core dump in autoanalyze on a table containing multiple empty tsquery values).
57641a16
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+12 more
No linked threadAug 03, 2010
CommitterBackportedDon't try to force use of -no-cpp-precomp on OS X. It's been five years since Apple shipped a compiler that needed this switch, and there's increasing interest in using other compilers that won't accept the switch at all. Better to let anybody who still needs the switch inject it via CPPFLAGS. Per gripe from Neil Conway.
98c2383b
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+10 more
No linked threadAug 02, 2010
CommitterTweak a couple of macros in the regex code to suppress compiler warnings from "clang". The VERR changes make an assignment unconditional, which is probably easier to read/understand anyway, and one can hardly argue that it's worth shaving cycles off the case of reporting another error when one has already been detected. The INSIST change limits where that macro can be used, but not in a way that creates a problem for any existing call.
e621037e
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+9 more
No linked threadAug 02, 2010
CommitterBackportedFix an ancient typo that prevented the detection of conflicting fields when interval input "invalid" was specified together with other fields. Spotted by Neil Conway with the help of a clang warning. Although this has been wrong since the interval code was written more than 10 years ago, it doesn't affect anything beyond which error message you get for a wrong input, so not worth back-patching very far.
fbcf2cfb
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+10 more
No linked threadAug 02, 2010
CommitterBack-patch fix for renaming asyncCommitLSN to asyncXactLSN. AIUI this was supposed to go into 9.0 as well as HEAD.
727117fe
REL9_0_STABLE9.0rc1
No linked threadAug 01, 2010
CommitterBackportedFix ANALYZE's ancient deficiency of not trying to collect stats for expression indexes when the index column type (the opclass opckeytype) is different from the expression's datatype. When coded, this limitation wasn't worth worrying about because we had no intelligence to speak of in stats collection for the datatypes used by such opclasses. However, now that there's non-toy estimation capability for tsvector queries, it amounts to a bug that ANALYZE fails to do this.
67becf8d
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+10 more
No linked threadAug 01, 2010
CommitterAdd some knowledge about prefix matches to tsmatchsel(). It's not terribly bright, but it beats assuming that a prefix match behaves identically to an exact match, which is what the code was doing before :-(. Noted while experimenting with Artur Dobrowski's example.
97532f7c
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+9 more
No linked threadAug 01, 2010
CommitterBackportedFix an additional set of problems in GIN's handling of lossy page pointers. Although the key-combining code claimed to work correctly if its input contained both lossy and exact pointers for a single page in a single TID stream, in fact this did not work, and could not work without pretty fundamental redesign. Modify keyGetItem so that it will not return such a stream, by handling lossy-pointer cases a bit more explicitly than we did before.
d4fe61b0
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+11 more
No linked threadAug 01, 2010
CommitterBackportedRewrite the rbtree routines so that an RBNode is the first field of the struct representing a tree entry, rather than being a separately allocated piece of storage. This API is at least as clean as the old one (if not more so --- there were some bizarre choices in there) and it permits a very substantial memory savings, on the order of 2X in ginbulk.c's usage.
0454f131
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+10 more
No linked threadAug 01, 2010
CommitterBackportedTweak tsmatchsel() so that it examines the structure of the tsquery whenever possible (ie, whenever the tsquery is a constant), even when no statistics are available for the tsvector. For example, foo @@ 'a & b'::tsquery can be expected to be more selective than foo @@ 'a'::tsquery, whether or not we know anything about foo. We use DEFAULT_TS_MATCH_SEL as the assumed selectivity of individual query terms when no stats are available, then combine the terms according to the query's AND/OR structure as usual.
b8c798eb
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+11 more
No linked threadJul 31, 2010
CommitterBackportedRewrite the key-combination logic in GIN's keyGetItem() and scanGetItem() routines to make them behave better in the presence of "lossy" index pointers. The previous coding was outright incorrect for some cases, as recently reported by Artur Dabrowski: scanGetItem would fail to return index entries in cases where one index key had multiple exact pointers on the same page as another key had a lossy pointer. Also, keyGetItem was extremely inefficient for cases where a single index key generates multiple "entry" streams, such as an @@ operator with a multiple-clause tsquery. The presence of a lossy page pointer in any one stream defeated its ability to use the opclass consistentFn, resulting in probing many heap pages that didn't really need to be visited. In Artur's example case, a query like WHERE tsvector @@ to_tsquery('a & b') was about 50X slower than the theoretically equivalent WHERE tsvector @@ to_tsquery('a') AND tsvector @@ to_tsquery('b') The way that I chose to fix this was to have GIN call the consistentFn twice with both TRUE and FALSE values for the in-doubt entry stream, returning a hit if either call produces TRUE, but not if they both return FALSE. The code handles this for the case of a single in-doubt entry stream, but punts (falling back to the stupid behavior) if there's more than one lossy reference to the same page. The idea could be scaled up to deal with multiple lossy references, but I think that would probably be wasted complexity. At least to judge by Artur's example, such cases don't occur often enough to be worth trying to optimize.
2ab57e08
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+11 more
No linked threadJul 31, 2010
CommitterBackportedImproved version of patch to protect pg_get_expr() against misuse: look through join alias Vars to avoid breaking join queries, and move the test to someplace where it will catch more possible ways of calling a function. We still ought to throw away the whole thing in favor of a data-type-based solution, but that's not feasible in the back branches.
f223bb7a
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+16 more
No linked threadJul 29, 2010
CommitterBackportedUpdate release notes for 9.0 beta 4. Back-patch some changes that were made only in HEAD.
478a2c12
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+10 more
No linked threadJul 29, 2010
CommitterBackportedClean up some inconsistencies in the volatility marking of various I/O related functions. Per today's discussion, we will henceforth assume that datatype I/O functions are either stable or immutable, never volatile. (This implies in particular that domain CHECK constraint expressions shouldn't be volatile, since domain_in executes them.) In turn, functions that execute the I/O functions of arbitrary datatypes should always be labeled stable. This affects the labeling of array_to_string, which was unsafely marked immutable, and record_in, record_out, record_recv, record_send, domain_in, domain_recv, which were over-conservatively marked volatile. The array I/O functions were already marked stable, which is correct per this policy but would have been wrong if we maintained domain_in as volatile.
aab353a6
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+10 more
No linked threadJul 29, 2010
CommitterBackportedFix another longstanding problem in copy_relation_data: it was blithely assuming that a local char[] array would be aligned on at least a word boundary. There are architectures on which that is pretty much guaranteed to NOT be the case ... and those arches also don't like non-aligned memory accesses, meaning that log_newpage() would crash if it ever got invoked. Even on Intel-ish machines there's a potential for a large performance penalty from doing I/O to an inadequately aligned buffer. So palloc it instead.
984d56b8
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+15 more
No linked threadJul 29, 2010
CommitterBackportedWork around a documentation toolchain problem by replacing the "AIX-fixlevels" table with a <variablelist> carrying the same information. Previously the 9.0 documentation was failing to build as a US-size PDF file. It's quite obscure what the real problem is or why this avoids it, but we need a hack now so we can build docs for beta4.
5b48e2ec
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+10 more
No linked threadJul 29, 2010
CommitterBackportedFix oversight in new EvalPlanQual logic: the second loop over the ExecRowMark list in ExecLockRows() forgot to allow for the possibility that some of the rowmarks are for child tables that aren't relevant to the current row. Per report from Kenichiro Tanaka.
77c75076
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+10 more
No linked threadJul 28, 2010
CommitterBackportedFix potential failure when hashing the output of a subplan that produces a pass-by-reference datatype with a nontrivial projection step. We were using the same memory context for the projection operation as for the temporary context used by the hashtable routines in execGrouping.c. However, the hashtable routines feel free to reset their temp context at any time, which'd lead to destroying input data that was still needed. Report and diagnosis by Tao Ma.
133924e1
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+14 more
No linked threadJul 28, 2010
CommitterBackportedRemove unnecessary "Not safe to send CSV data" complaint from elog.c's fallback path when CSV logging is configured but not yet operational. It's sufficient to send the message to stderr, as we were already doing, and the "Not safe" gripe has already confused at least two core members ...
cf5305f4
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+10 more
No linked threadJul 18, 2010
CommitterBackportedAllow ORDER BY/GROUP BY/etc items to match targetlist items regardless of any implicit casting previously applied to the targetlist item. This is reasonable because the implicit cast, by definition, wasn't written by the user; so we are preserving the expected behavior that ORDER BY items match textually equivalent tlist items. The case never arose before because there couldn't be any implicit casting of a top-level SELECT item before we process ORDER BY etc. But now it can arise in the context of aggregates containing ORDER BY clauses, since the "targetlist" is the already-casted list of arguments for the aggregate. The net effect is that the datatype used for ORDER BY/DISTINCT purposes is the aggregate's declared input type, not that of the original input column; which is a bit debatable but not horrendous, and to do otherwise would require major rework that doesn't seem justified.
fba999cb
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+10 more
No linked threadJul 18, 2010
CommitterFix up poor handling of unsupported-platform case in requirepeer patch.
1b51018a
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+9 more
No linked threadJul 18, 2010
CommitterFix thinko in recent patch: 'sock' should be 'conn->sock'.
25241aee
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+9 more
No linked threadJul 18, 2010
CommitterAdd a log_file_mode GUC that allows control of the file permissions set on log files created by the syslogger process.
3ec694e1
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+9 more
No linked threadJul 16, 2010
CommitterAdd support for dividing money by money (yielding a float8 result) and for casting between money and numeric.
7590ddb3
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+9 more
No linked threadJul 16, 2010
CommitterRemove a sanity check in the exclusion-constraint code that prevented users from defining non-self-conflicting constraints.
e11cfa87
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+9 more
No linked threadJul 16, 2010
CommitterRemove duplicate code in DefineOpFamily().
8514bf45
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+9 more
No linked threadJul 16, 2010
CommitterBackportedUse an <xref> for restore_command reference. Marko Tiikkaja
25be9b1d
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+10 more
No linked threadJul 14, 2010
CommitterBackportedFix several problems in pg_dump's handling of SQL/MED objects, notably failure to dump a PUBLIC user mapping correctly, as per bug #5560 from Shigeru Hanada. Use the pg_user_mappings view rather than trying to access pg_user_mapping directly, so that the code doesn't fail when run by a non-superuser. And clean up some minor carelessness such as unsafe usage of fmtId().
599dba4a
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+11 more
No linked threadJul 14, 2010
CommitterBackportedAllow full SSL certificate verification (wherein libpq checks its host name parameter against server cert's CN field) to succeed in the case where both host and hostaddr are specified. As with the existing precedents for Kerberos, GSSAPI, SSPI, it is the calling application's responsibility that host and hostaddr match up --- we just use the host name as given. Per bug #5559 from Christopher Head.
d494e685
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+11 more
No linked threadJul 14, 2010
CommitterTeach EXPLAIN to print PARAM_EXEC Params as the referenced expressions, rather than just $N. This brings the display of nestloop-inner-indexscan plans back to where it's been, and incidentally improves the display of SubPlan parameters as well. In passing, simplify the EXPLAIN code by having it deal primarily in the PlanState tree rather than separately searching Plan and PlanState trees. This is noticeably cleaner for subplans, and about a wash elsewhere.
1cc29fe7
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+9 more
No linked threadJul 13, 2010
CommitterMake NestLoop plan nodes pass outer-relation variables into their inner relation using the general PARAM_EXEC executor parameter mechanism, rather than the ad-hoc kluge of passing the outer tuple down through ExecReScan. The previous method was hard to understand and could never be extended to handle parameters coming from multiple join levels. This patch doesn't change the set of possible plans nor have any significant performance effect, but it's necessary infrastructure for future generalization of the concept of an inner indexscan plan.
53e75768
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+9 more
No linked threadJul 12, 2010
CommitterAdd a note about preferred window width to the section about code formatting conventions.
4720ad51
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+9 more
No linked threadJul 10, 2010
CommitterBackportedAvoid an Assert failure in deconstruct_array() by making get_attstatsslot() use the actual element type of the array it's disassembling, rather than trusting the type OID passed in by its caller. This is needed because sometimes the planner passes in a type OID that's only binary-compatible with the target column's type, rather than being an exact match. Per an example from Bernd Helmle.
5ce63f48
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+16 more
No linked threadJul 09, 2010
CommitterBackportedFix ruleutils' get_variable() to print something useful for Vars referencing resjunk outputs of subquery tlists, instead of throwing an error. Per bug #5548 from Daniel Grace.
2b8a6245
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+10 more
No linked threadJul 09, 2010
CommitterStamp HEAD as 9.1devel. (And there was much rejoicing.)
b40466c3
master9.1alpha1REL_19_STABLE9.1alpha1REL_18_STABLE9.1alpha1REL_17_STABLE9.1alpha1REL_16_STABLE9.1alpha1REL_15_STABLE9.1alpha1REL_14_STABLE9.1alpha1REL_13_STABLE9.1alpha1+9 more
No linked threadJul 09, 2010
CommitterMinor kibitzing on previous patch: no need to run check more than once. (_PG_init should be called only once anyway, but as long as it's got an internal guard against repeat calls, that should be in front of the version check.)
6d297e05
master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+10 more
No linked threadJul 08, 2010
CommitterAdd a cross-reference to precedence information to CREATE OPERATOR's documentation. Per suggestion from Marc Cousin.
7f882768
master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+10 more
No linked threadJul 08, 2010
CommitterUpdate obsolete comment. Noted by Josh Tolley.
672efc08
master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+10 more
No linked threadJul 08, 2010
CommitterFix variant float8 expected files to have exactly the expected spacing. This wasn't important when we used diff's -w (--ignore-all-space) option to compare regression result files, but it is now. Per buildfarm member canary, which evidently has been offline since we did that in November, but came to life again today.
7b81782b
master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+10 more
No linked threadJul 08, 2010
CommitterBackportedFix "cannot handle unplanned sub-select" error that can occur when a sub-select contains a join alias reference that expands into an expression containing another sub-select. Per yesterday's report from Merlin Moncure and subsequent off-list investigation.
d4d32eef
master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+16 more
No linked threadJul 08, 2010
CommitterAdjust mbutils.c so it won't get broken by future pgindent runs. To do that, replace L'\0' by (WCHAR) 0. Perhaps someday we should teach pgindent about wide-character literals, but so long as this is the only use-case in the entire Postgres sources, a workaround seems easier.
5b1b3ef7
master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+10 more
No linked threadJul 07, 2010
CommitterAccept slightly grotty coding in Makefile.global in order to keep the -L flag for src/port/ in front of any -L flags placed in LDFLAGS by configure. This undoes an L-flag-ordering change that I had thought would be safe, but seems to be making at least one buildfarm member fail --- the only theory for orca's failure that I can think of is that it's got an old copy of libpgport.a in /usr/lib. Also allow for LDFLAGS_SL to be set by contrib makefiles before they invoke Makefile.global.
458474d9
master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+10 more
No linked threadJul 06, 2010
CommitterUndo pgindent breakage (again). Per buildfarm.
3f12653b
master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+10 more
No linked threadJul 06, 2010
CommitterStill more third thoughts: when linking shared libraries, LDFLAGS probably needs to appear before anything placed in SHLIB_LINK. This is because SHLIB_LINK is typically a subset of LIBS, and LIBS has to appear after LDFLAGS on platforms that are sensitive to the relative order of -L and -l switches.
8307b092
master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+10 more
No linked threadJul 06, 2010
CommitterAllow for LDFLAGS_SL already having a value in Makefile.aix. Per buildfarm results.
0a4ecfe7
master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+10 more
No linked threadJul 06, 2010
CommitterDept. of third thoughts: PG_LIBS may contain a -L switch, so it had better stay in front of LDFLAGS.
f6af1435
master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+10 more
No linked threadJul 05, 2010
CommitterMake sure LDFLAGS come before LIBS when linking contrib programs. Solaris, at least, seems to be sensitive to the relative order of -L and -l switches, so this is needed. Per buildfarm results.
bdf00543
master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+10 more
No linked threadJul 05, 2010
CommitterFix a few single-file (MODULES, not MODULE_big) contrib makefiles that were supposing that they should set SHLIB_LINK rather than LDFLAGS_SL. Since these don't go through Makefile.shlib that was a no-op on most platforms. Also regularize the few platform-specific Makefiles that did pay attention to SHLIB_LINK: it seems that the real value of that is to pull in BE_DLLLIBS, so do that instead. Per buildfarm failures on cygwin.
f9e9da66
master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+10 more
No linked threadJul 05, 2010
CommitterSplit the LDFLAGS make variable into two parts: LDFLAGS is now used for linking both executables and shared libraries, and we add on LDFLAGS_EX when linking executables or LDFLAGS_SL when linking shared libraries. This provides a significantly cleaner way of dealing with link-time switches than the former behavior. Also, make sure that the various platform-specific %.so: %.o rules incorporate LDFLAGS and LDFLAGS_SL; most of them missed that before. (I did not add these variables for the platforms that invoke $(LD) directly, however. It's not clear if we can do that safely, since for the most part we assume these variables use CC command-line syntax.)
291a9577
master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+10 more
No linked threadJul 05, 2010
CommitterDon't set recoveryLastXTime when replaying a checkpoint --- that was a bogus idea from the start since the variable is only meant to track commit/abort events. This patch reverts the logic around the variable to what it was in 8.4, except that the value is now kept in shared memory rather than a static variable, so that it can be reported correctly by CreateRestartPoint (which is executed in the bgwriter).
87716346
master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+10 more
No linked threadJul 03, 2010
CommitterMake vacuum_defer_cleanup_age be PGC_SIGHUP level, since it's not sensible to have different values in different processes of the primary server. Also put it into the "Streaming Replication" GUC category; it doesn't belong in "Standby Servers" because you use it on the master not the standby. In passing also correct guc.c's idea of wal_keep_segments' category.
aceedd88
master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+10 more
No linked threadJul 03, 2010
CommitterReplace max_standby_delay with two parameters, max_standby_archive_delay and max_standby_streaming_delay, and revise the implementation to avoid assuming that timestamps found in WAL records can meaningfully be compared to clock time on the standby server. Instead, the delay limits are compared to the elapsed time since we last obtained a new WAL segment from archive or since we were last "caught up" to WAL data arriving via streaming replication. This avoids problems with clock skew between primary and standby, as well as other corner cases that the original coding would misbehave in, such as the primary server having significant idle time between transactions. Per my complaint some time ago and considerable ensuing discussion.
e76c1a0f
master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+10 more
No linked threadJul 03, 2010
CommitterBackportedFix assorted misstatements and poor wording in the descriptions of the I/O formats for geometric types. Per bug #5536 from Jon Strait, and my own testing.
4b200a27
master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+16 more
No linked threadJul 03, 2010
CommitterGet rid of some more stuff that duplicates c.h or port.h.
600fc1dc
master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+10 more
No linked threadJul 01, 2010
CommitterAdd compatibility note warning that plpgsql is now stricter about the column datatypes of composite results, per gripe from Marcel Asio. Some desultory copy-editing of plpgsql-related sections of the release notes.
5dbf4898
master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+10 more
No linked threadJun 29, 2010
CommitterBackportedImprove pg_dump's checkSeek() function to verify the functioning of ftello as well as fseeko, and to not assume that fseeko(fp, 0, SEEK_CUR) proves anything. Also improve some related comments. Per my observation that the SEEK_CUR test didn't actually work on some platforms, and subsequent discussion with Robert Haas.
04d9f4da
master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+11 more
No linked threadJun 28, 2010
CommitterBackportedFix pg_restore so parallel restore doesn't fail when the input file doesn't contain data offsets (which it won't, if pg_dump thought its output wasn't seekable). To do that, remove an unnecessarily aggressive error check, and instead fail if we get to the end of the archive without finding the desired data item. Also improve the error message to be more specific about the cause of the problem. Per discussion of recent report from Igor Neyman.
b779ea8a
master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+11 more
No linked threadJun 27, 2010
CommitterFix thinko in tok_is_keyword(): it was looking at the wrong union variant of YYSTYPE, and hence returning the wrong answer for cases where a plpgsql "unreserved keyword" really does conflict with a variable name. Obviously I didn't test this enough :-(. Per bug #5524 from Peter Gagarinov.
399da7d8
master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+10 more
No linked threadJun 25, 2010
CommitterBackportedFix mishandling of whole-row Vars referencing a view or sub-select. If such a Var appeared within a nested sub-select, we failed to translate it correctly during pullup of the view, because the recursive call to replace_rte_variables_mutator was looking for the wrong sublevels_up value. Bug was introduced during the addition of the PlaceHolderVar mechanism. Per bug #5514 from Marcos Castedo.
f685cbba
master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+11 more
No linked threadJun 21, 2010
CommitterClean up some randomness associated with trace_recovery_messages: don't put the variable declaration in the middle of a bunch of externs, and do use extern where it should be used.
78e8f002
master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+10 more
No linked threadJun 17, 2010
CommitterMake RemoveOldXlogFiles's debug printout match style used elsewhere: log and seg aren't an XLogRecPtr and shouldn't be printed like one. Fujii Masao
09698bb5
master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+10 more
No linked threadJun 17, 2010
CommitterClean up pg_archivecleanup's error and logging output: put newlines in sane places, make messages follow project's message style guidelines.
449c73f4
master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+10 more
No linked threadJun 17, 2010
CommitterAdd missing close brackets in old-style COPY syntax diagram. Spotted by Evan Carroll.
f826f8fc
master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+10 more
No linked threadJun 17, 2010
CommitterDon't allow walsender to send WAL data until it's been safely fsync'd on the master. Otherwise a subsequent crash could cause the master to lose WAL that has already been applied on the slave, resulting in the slave being out of sync and soon corrupt. Per recent discussion and an example from Robert Haas.
07e8b6aa
master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+10 more
No linked threadJun 17, 2010
CommitterBackportedFix typo, init => int, per KOIZUMI Satoru.
8f4e1218
master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+11 more
No linked threadJun 17, 2010
CommitterChange the interpretation of the primary_key_attnums parameter of dblink_build_sql_insert() and related functions. Now the column numbers are treated as logical not physical column numbers. This will provide saner behavior in the presence of dropped columns; furthermore, if we ever get around to allowing rearrangement of logical column ordering, the original definition would become nearly untenable from a usability standpoint. Per recent discussion of dblink's handling of dropped columns. Not back-patched for fear of breaking existing applications.
c0989c67
master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+10 more
No linked threadJun 15, 2010
CommitterBackportedFix dblink_build_sql_insert() and related functions to handle dropped columns correctly. In passing, get rid of some dead logic in the underlying get_sql_insert() etc functions --- there is no caller that will pass null value-arrays to them.
3b3706d2
master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+16 more
No linked threadJun 15, 2010
CommitterBackportedConsolidate and improve checking of key-column-attnum arguments for dblink_build_sql_insert() and related functions. In particular, be sure to reject references to dropped and out-of-range column numbers. The numbers are still interpreted as physical column numbers, though, for backward compatibility.
48a72453
master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+16 more
No linked threadJun 15, 2010
CommitterBackportedRearrange dblink's dblink_build_sql_insert() and related routines to open and lock the target relation just once per SQL function call. The original coding obtained and released lock several times per call. Aside from saving a not-insignificant number of cycles, this eliminates possible race conditions if someone tries to modify the relation's schema concurrently. Also centralize locking and permission-checking logic.
6bbaa314
master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+16 more
No linked threadJun 14, 2010
Committerpostgres.txt should get cleaned by 'make clean'.
a079efa6
master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+10 more
No linked threadJun 12, 2010
CommitterAdd missing 'Z' letter to getopt_long call --- the newly added --analyze-only switch did not work in its short form -Z.
bc325d84
master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+10 more
No linked threadJun 11, 2010
CommitterFix quite-bogus handling of arrays in plpython datum-to-PyObject conversion. Per bug #5497 from David Gardner.
4ddf151c
master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+10 more
No linked threadJun 10, 2010
CommitterAvoid useless snprintf() call when update_process_title is turned off. Fujii Masao
36614006
master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+10 more
No linked threadJun 07, 2010
CommitterImprove our explanation of the OVERLAPS operator. Per gripe from Frank van Vugt.
2944e6ec
master9.0beta3REL_19_STABLE9.0beta3REL_18_STABLE9.0beta3REL_17_STABLE9.0beta3REL_16_STABLE9.0beta3REL_15_STABLE9.0beta3REL_14_STABLE9.0beta3REL_13_STABLE9.0beta3+10 more
No linked threadJun 05, 2010
CommitterAdjust misleading comment in walsender.c. We try to send all WAL data that's been written out from shared memory, but the previous phrasing might be read to say that we send only what's been fsync'd.
3ceb44fa
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more
No linked threadJun 03, 2010
CommitterAdd current WAL end (as seen by walsender, ie, GetWriteRecPtr() result) and current server clock time to SR data messages. These are not currently used on the slave side but seem likely to be useful in future, and it'd be better not to change the SR protocol after release. Per discussion. Also do some minor code review and cleanup on walsender.c, and improve the protocol documentation.
0cc59cc1
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more
No linked threadJun 03, 2010
CommitterRemove link that breaks HISTORY file generation.
572ec5a2
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more
No linked threadJun 03, 2010
CommitterBump PG_CONTROL_VERSION to account for the incompatible change committed earlier.
34e54376
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more
No linked threadJun 03, 2010
CommitterBackportedFix misuse of Lossy Counting (LC) algorithm in compute_tsvector_stats().
bc0f0809
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+11 more
No linked threadMay 30, 2010
CommitterChange the notation for calling functions with named parameters from "val AS name" to "name := val", as per recent discussion.
b12b7a90
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more
No linked threadMay 30, 2010
CommitterAdd text to "Populating a Database" pointing out that bulk data load into a table with foreign key constraints eats memory. Per off-line discussion of bug #5480 with its reporter. Also do some minor wordsmithing elsewhere in the same section.
63f591e9
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more
No linked threadMay 29, 2010
CommitterAbort a FETCH_COUNT-controlled query if we observe any I/O error on the output stream. This typically indicates that the user quit out of $PAGER, or that we are writing to a file and ran out of disk space. In either case we shouldn't bother to continue fetching data.
47d6d448
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more
No linked threadMay 28, 2010
CommitterFix oversight in the previous patch that made LIKE throw error for \ at the end of the pattern: the code path that handles \ just after % should throw error too. As in the previous patch, not back-patching for fear of breaking apps that worked before.
ece869b1
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more
No linked threadMay 28, 2010
CommitterBackportedRewrite LIKE's %-followed-by-_ optimization so it really works (this time for sure ;-)). It now also optimizes more cases, such as %_%_. Improve comments too. Per bug #5478.
dbde97cd
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+12 more
No linked threadMay 28, 2010
CommitterBackportedRejigger mergejoin logic so that a tuple with a null in the first merge column is treated like end-of-input, if nulls sort last in that column and we are not doing outer-join filling for that input. In such a case, the tuple cannot join to anything from the other input (because we assume mergejoinable operators are strict), and neither can any tuple following it in the sort order. If we're not interested in doing outer-join filling we can just pretend the tuple and its successors aren't there at all. This can save a great deal of time in situations where there are many nulls in the join column, as in a recent example from Scott Marlowe. Also, since the planner tends to not count nulls in its mergejoin scan selectivity estimates, this is an important fix to make the runtime behavior more like the estimate.
f39d57b8
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+12 more
No linked threadMay 28, 2010
CommitterBackportedChange ps_status.c to explicitly track the current logical length of ps_buffer. This saves cycles in get_ps_display() on many popular platforms, and more importantly ensures that get_ps_display() will correctly return an empty string if init_ps_display() hasn't been called yet. Per trouble report from Ray Stell, in which log_line_prefix %i produced junk early in backend startup.
ede50726
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+15 more
No linked threadMay 27, 2010
CommitterFix the volatility marking of textanycat() and anytextcat(): they were marked immutable, but that is wrong in general because the cast from the polymorphic argument to text could be stable or even volatile. Mark them volatile for safety. In the typical case where the cast isn't volatile, the planner will deduce the correct expression volatility after inlining the function, so performance is not lost. The just-committed fix in CREATE INDEX also ensures this won't break any indexing cases that ought to be allowed.
c82d931d
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more
No linked threadMay 27, 2010
CommitterBackportedMake CREATE INDEX run expression preprocessing on a proposed index expression before it checks whether the expression is immutable. This covers two cases that were previously handled poorly:
5a86e5e1
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+11 more
No linked threadMay 27, 2010
CommitterImprove SSL-related documentation. Explain how to deal with certificate chains, do assorted wordsmithing.
1e6b654e
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more
No linked threadMay 26, 2010
CommitterRearrange libpq's SSL initialization to simplify it and make it handle some additional cases correctly. The original coding failed to load additional (chain) certificates from the client cert file, meaning that indirectly signed client certificates didn't work unless one hacked the server's root.crt file to include intermediate CAs (not the desired approach). Another problem was that everything got loaded into the shared SSL_context object, which meant that concurrent connections trying to use different sslcert settings could well fail due to conflicting over the single available slot for a keyed certificate.
4ed4b6c5
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more
No linked threadMay 26, 2010
CommitterFix bogus error message for SSL-cert authentication, due to lack of a uaCert entry in auth_failed(). Put the switch entries into a sane order, namely the one the enum is declared in.
0d046a4d
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more
No linked threadMay 26, 2010
CommitterThe message style police pay a visit to hba.c.
af5be8bd
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more
No linked threadMay 26, 2010
CommitterMinor editorialization for be-secure.c: fix comments and some formatting infelicities.
b1993a61
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more
No linked threadMay 26, 2010
CommitterTell openssl to include the names of the root certs the server trusts in requests for client certs. This lets a client with a keystore select the appropriate client certificate to send. In particular, this is necessary to get Java clients to work in all but the most trivial configurations. Per discussion of bug #5468.
c3bf3bf2
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more
No linked threadMay 26, 2010
CommitterAdd missing newlines to some SSL-related error messages. Noted while testing.
20d62932
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more
No linked threadMay 25, 2010
CommitterBackportedFix oversight in construction of sort/unique plans for UniquePaths. If the original IN operator is cross-type, for example int8 = int4, we need to use int4 < int4 to sort the inner data and int4 = int4 to unique-ify it. We got the first part of that right, but tried to use the original IN operator for the equality checks. Per bug #5472 from Vlad Romascanu.
b486e7f3
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+11 more
No linked threadMay 25, 2010
Committerissue_warnings() has no business freeing its parameter, especially not when its sole caller does that too. Jan Matousek, via Pavel Stehule
add80447
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more
No linked threadMay 23, 2010
CommitterFix oversight in join removal patch: we have to delete the removed relation from SpecialJoinInfo relid sets as well. Per example from Vaclav Novotny.
7df4cf7f
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more
No linked threadMay 23, 2010
CommitterFix index entry for lo_compat_privileges, per bug #5467 from KOIZUMI Satoru.
de98ef62
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more
No linked threadMay 20, 2010
CommitterEnsure that pg_restore -l will output DATABASE entries whether or not -C is specified. Per bug report from Russell Smith and ensuing discussion. Since this is a corner case behavioral change, I'm going to be conservative and not back-patch it.
bd823e11
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more
No linked threadMay 15, 2010
CommitterBackportedImprove documentation of pg_restore's -l and -L switches to point out their interactions with filtering switches, such as -n and -t. Per a complaint from Russell Smith.
d7b6c8c0
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+16 more
No linked threadMay 15, 2010
CommitterSpell __NetBSD__ the same way everywhere. Per Giles Lean.
c453569f
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more
No linked threadMay 15, 2010
CommitterFix another obvious bug pointed out by a compiler warning.
88fba708
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more
No linked threadMay 14, 2010
CommitterRemove another unsafe use of random data as a format string.
05469060
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more
No linked threadMay 14, 2010
CommitterGet rid of unsafe sprintf and snprintf usages. Per compiler warnings.
8eac3978
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more
No linked threadMay 14, 2010
CommitterSpell __darwin__ correctly, to suppress compiler warning on OSX.
adf6b8ed
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more
No linked threadMay 14, 2010
CommitterFix up lame idea of not using autoconf to determine if platform has scandir(). Should fix buildfarm failures.
382ff212
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more
No linked threadMay 13, 2010
CommitterBackportedUpdate release notes with security issues.
20db9591
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+16 more
No linked threadMay 13, 2010
CommitterBackportedUse an entity instead of non-ASCII letter. Thom Brown
4b8c969c
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+16 more
No linked threadMay 13, 2010
CommitterBackportedUse "TOAST table" in place of the vague, not-used-elsewhere phrase "supplementary storage table".
a4bbfb1a
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+11 more
No linked threadMay 13, 2010
CommitterBackportedPrevent PL/Tcl from loading the "unknown" module from pltcl_modules unless that is a regular table or view owned by a superuser. This prevents a trojan horse attack whereby any unprivileged SQL user could create such a table and insert code into it that would then get executed in other users' sessions whenever they call pltcl functions.
9ead05b7
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+16 more
No linked threadMay 13, 2010
CommitterFix wrong subdir. Per buildfarm.
c2e7f78a
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more
No linked threadMay 13, 2010
CommitterBackportedPreliminary release notes for releases 8.4.4, 8.3.11, 8.2.17, 8.1.21, 8.0.25, 7.4.29.
8aad7973
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+16 more
No linked threadMay 12, 2010
CommitterHook pg_upgrade into the contrib makefile structure so it gets built on the buildfarm.
44e55690
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more
No linked threadMay 12, 2010
CommitterClean up unnecessary unportability and compiler warnings by removing the cmp parameter for pg_scandir(). The code failed to support this anyway for Sun/Windows, so pretending we could accept a parameter other than NULL was just asking for trouble.
c9c25a98
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more
No linked threadMay 12, 2010
CommitterBackportedUpdate time zone data files to tzdata release 2010j: DST law changes in Argentina, Australian Antarctic, Bangladesh, Mexico, Morocco, Pakistan, Palestine, Russia, Syria, Tunisia. Historical corrections for Taiwan.
28e17422
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+15 more
No linked threadMay 11, 2010
CommitterBackportedAdd PKST to the default set of timezone abbreviations. Per discussion, if we have PKT in there then PKST should be too. Also, fix mistaken claim that these abbrevs are not known to zic.
af9a54b6
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+13 more
No linked threadMay 11, 2010
CommitterBackportedCause the archiver process to adopt new postgresql.conf settings (particularly archive_command) as soon as possible, namely just before issuing a new call of archive_command, even when there is a backlog of files to be archived. The original coding would only absorb new settings after clearing the backlog and returning to the outer loop. Per discussion.
4a69624f
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+12 more
No linked threadMay 11, 2010
CommitterFix incorrect patch that removed permission checks on inheritance child tables --- the parent table no longer got checked, either. Per bug #5458 from Takahiro Itagaki.
b7987f8a
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more
No linked threadMay 11, 2010
CommitterWhen adding a "target IS NOT NULL" indexqual to the plan for an index-optimized MIN or MAX, we must take care to insert the added qual in a legal place among the existing indexquals, if any. The btree index AM requires the quals to appear in index-column order. We didn't have to worry about this before because "target IS NOT NULL" was just treated as a plain scan filter condition; but as of 9.0 it can be an index qual and then it has to follow the rule. Per report from Ian Barwick.
ed83f6e3
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more
No linked threadMay 10, 2010
CommitterBackportedSuppress signed-vs-unsigned-char warning.
7fdbb8e3
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+11 more
No linked threadMay 09, 2010
CommitterFix missing static declaration for XLogRead().
2ea56cbd
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more
No linked threadMay 09, 2010
CommitterFix typo: PGTYPES_NUM_OVERFLOW should be PGTYPES_NUM_UNDERFLOW. Noted by KOIZUMI Satoru.
4768fd3f
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more
No linked threadMay 09, 2010
CommitterAdjust comments about avoiding use of printf's %.*s. My initial impression that glibc was measuring the precision in characters (which is what the Linux man page says it does) was incorrect. It does take the precision to be in bytes, but it also tries to truncate the string at a character boundary. The bottom line remains the same: it will mess up if the string is not in the encoding it expects, so we need to avoid %.*s anytime there's a significant risk of that. Previous code changes are still good, but adjust the comments to reflect this knowledge. Per research by Hernan Gonzalez.
ed437e2b
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more
No linked threadMay 09, 2010
CommitterBackportedWork around a subtle portability problem in use of printf %s format. Depending on which spec you read, field widths and precisions in %s may be counted either in bytes or characters. Our code was assuming bytes, which is wrong at least for glibc's implementation, and in any case libc might have a different idea of the prevailing encoding than we do. Hence, for portable results we must avoid using anything more complex than just "%s" unless the string to be printed is known to be all-ASCII.
54cd4f04
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+16 more
No linked threadMay 08, 2010
CommitterOn Linux, use --enable-new-dtags when specifying -rpath to linker. This should allow LD_LIBRARY_PATH to work as desired. Per trouble report from Andy Colson.
cd86869a
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more
No linked threadMay 06, 2010
CommitterBackportedFix psql to not go into infinite recursion when expanding a variable that refers to itself (directly or indirectly). Instead, print a message when recursion is detected, and don't expand the repeated reference. Per bug #5448 from Francis Markham.
93dc6a1b
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+15 more
No linked threadMay 05, 2010
CommitterBackportedFix backpatching error in recent patch for ALTER USER f RESET ALL behavior. The argument list for array_set() changed in 8.2 (in connection with allowing nulls in arrays) but the newer argument list was used in the patches applied to 8.1 and 8.0 branches. The patch for 7.4 was OK though. Per compiler warnings.
fbd2fbed
REL8_1_STABLE8.1.21REL8_0_STABLE8.0.25
No linked threadMay 05, 2010
CommitterImprove printing of XLOG_HEAP_NEWPAGE records to include the forknum.
609a63fd
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more
No linked threadMay 02, 2010
CommitterBackportedFix replay of XLOG_HEAP_NEWPAGE WAL records to pay attention to the forknum field of the WAL record. The previous coding always wrote to the main fork, resulting in data corruption if the page was meant to go into a non-default fork.
e55e6ecf
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+11 more
No linked threadMay 02, 2010
CommitterClean up some awkward, inaccurate, and inefficient processing around MaxStandbyDelay. Use the GUC units mechanism for the value, and choose more appropriate timestamp functions for performing tests with it. Make the ps_activity manipulation in ResolveRecoveryConflictWithVirtualXIDs have behavior similar to ps_activity code elsewhere, notably not updating the display when update_process_title is off and not truncating the display contents at an arbitrarily-chosen length. Improve the docs to be explicit about what MaxStandbyDelay actually measures, viz the difference between primary and standby servers' clocks, and the possible hazards if their clocks aren't in sync.
f9ed327f
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more
No linked threadMay 02, 2010
CommitterBackportedAdd code to InternalIpcMemoryCreate() to handle the case where shmget() returns EINVAL for an existing shared memory segment. Although it's not terribly sensible, that behavior does meet the POSIX spec because EINVAL is the appropriate error code when the existing segment is smaller than the requested size, and the spec explicitly disclaims any particular ordering of error checks. Moreover, it does in fact happen on OS X and probably other BSD-derived kernels. (We were able to talk NetBSD into changing their code, but purging that behavior from the wild completely seems unlikely to happen.) We need to distinguish collision with a pre-existing segment from invalid size request in order to behave sensibly, so it's worth some extra code here to get it right. Per report from Gavin Kistner and subsequent investigation.
15416323
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+16 more
No linked threadMay 01, 2010
CommitterInstall hack workaround for failure of 'make all' in VPATH builds. It appears that gmake gets confused if postgres.sgml is not present in the working directory, and instantiates some default rule or other that would let postgres.sgml be built from postgres.xml. I haven't been able to track down exactly where that's coming from, but the problem can be dodged by specifying srcdir explicitly in the rule for postgres.xml. Per report from Vladimir Kokovic.
170456c9
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more
No linked threadMay 01, 2010
CommitterAdjust postgres.xml rule so that make will notice a failure exit from osx. The previous coding had it in a pipe, which on most shells won't report the error. Per experimentation with a bug report from Vladimir Kokovic. This doesn't actually fix his problem, but it does explain why make didn't report that there was a problem.
f856fad8
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more
No linked threadMay 01, 2010
CommitterFix leakage of proc-related storage in plpython's inline handler. Per report from Andres Freund.
f5c23ca2
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more
No linked threadMay 01, 2010
CommitterUpdate our information about OS X shared memory configuration: it's now possible to set most of the SHM kernel parameters without a reboot. Also, reorder the paragraph to explain the modern configuration method first. There are probably not too many people who still care about how to do it on OS X 10.3 or older.
05f03083
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more
No linked threadApr 30, 2010
CommitterImprove COPY documentation to clarify that it doesn't copy data to or from child tables. Per gripe from Jaime Casanova.
854b5eb5
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more
No linked threadApr 30, 2010
CommitterBackportedFix multiple memory leaks in PLy_spi_execute_fetch_result: it would leak memory if the result had zero rows, and also if there was any sort of error while converting the result tuples into Python data. Reported and partially fixed by Andres Freund.
b1bc2f04
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+16 more
No linked threadApr 30, 2010
CommitterFix a couple of places where the result of fgets() wasn't checked. This is mostly to suppress compiler warnings, although in principle the cases could result in undesirable behavior.
09543580
master9.0beta2REL_19_STABLE9.0beta2REL_18_STABLE9.0beta2REL_17_STABLE9.0beta2REL_16_STABLE9.0beta2REL_15_STABLE9.0beta2REL_14_STABLE9.0beta2REL_13_STABLE9.0beta2+10 more
No linked threadApr 30, 2010
CommitterAdjust error checks in pg_start_backup and pg_stop_backup to make it possible to perform a backup without archive_mode being enabled. This gives up some user-error protection in order to improve usefulness for streaming-replication scenarios. Per discussion.
69f7a4d8
master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more
No linked threadApr 29, 2010
CommitterRename the parameter recovery_connections to hot_standby, to reduce possible confusion with streaming-replication settings. Also, change its default value to "off", because of concern about executing new and poorly-tested code during ordinary non-replicating operation. Per discussion.
f0488bd5
master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more
No linked threadApr 29, 2010
CommitterInstall a workaround for 'TeX capacity exceeded' problem when building PDF output for recent versions of the documentation. There is probably a better answer out there somewhere, but we need something now so we can build beta releases.
a5ec86a7
master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more
No linked threadApr 29, 2010
CommitterFix typo, per Thom Brown.
fa171dd8
master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more
No linked threadApr 28, 2010
CommitterModify information_schema._pg_keysequal() to avoid search path risk when contrib/intarray is loaded. Per bug #5417 from Kenaniah Cerny.
f4ec2fab
master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more
No linked threadApr 28, 2010
CommitterMinor editorializing on pg_controldata and pg_resetxlog: adjust some message wording, deal explicitly with some fields that were being silently left zero.
c80a85e3
master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more
No linked threadApr 28, 2010
Committerpg_controldata needs #define FRONTEND, same as pg_resetxlog. Per buildfarm results from dawn_bat.
82e38aba
master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more
No linked threadApr 28, 2010
CommitterModify ShmemInitStruct and ShmemInitHash to throw errors internally, rather than returning NULL for some-but-not-all failures as they used to. Remove now-redundant tests for NULL from call sites.
77acab75
master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more
No linked threadApr 28, 2010
CommitterFix contrib/tsearch2 expected results to match recent changes in URL parsing.
a2de4826
master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more
No linked threadApr 28, 2010
CommitterModify the built-in text search parser to handle URLs more nearly according to RFC 3986. In particular, these characters now terminate the path part of a URL: '"', '<', '>', '\', '^', '`', '{', '|', '}'. The previous behavior was inconsistent and depended on whether a "?" was present in the path. Per gripe from Donald Fraser and spec research by Kevin Grittner.
2c265ade
master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more
No linked threadApr 28, 2010
CommitterFix stupid typo in refnameRangeTblEntry() --- mea maxima culpa. Per report from Josh.
d64b110a
master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more
No linked threadApr 28, 2010
CommitterReplace the KnownAssignedXids hash table with a sorted-array data structure, and be more tense about the locking requirements for it, to improve performance in Hot Standby mode. In passing fix a few bugs and improve a number of comments in the existing HS code.
2871b461
master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more
No linked threadApr 28, 2010
CommitterUpdate documentation to match pg_stat_activity changes.
3456cf18
master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more
No linked threadApr 26, 2010
CommitterAdd missing newlines in WPARSER_TRACE output.
8f0ab229
master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more
No linked threadApr 26, 2010
CommitterEnforce superuser permissions checks during ALTER ROLE/DATABASE SET, rather than during define_custom_variable(). This entails rejecting an ALTER command if the target variable doesn't have a known (non-placeholder) definition, unless the calling user is superuser. When the variable *is* known, we can correctly apply the rule that only superusers can issue ALTER for SUSET parameters. This allows define_custom_variable to apply ALTER's values for SUSET parameters at module load time, secure in the knowledge that only a superuser could have set the ALTER value. This change fixes a longstanding gotcha in the usage of SUSET-level custom parameters; which is a good thing to fix now that plpgsql defines such a parameter.
a6dcd19a
master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more
No linked threadApr 21, 2010
CommitterFix pg_hba.conf matching so that replication connections only match records with database = replication. The previous coding would allow them to match ordinary records too, but that seems like a recipe for security breaches. Improve the messages associated with no-such-pg_hba.conf entry to report replication connections as such, since that's now a critical aspect of whether the connection matches. Make some cursory improvements in the related documentation, too.
a2c3931a
master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more
No linked threadApr 21, 2010
CommitterMove the check for whether walreceiver has authenticated as a superuser from walsender.c, where it didn't really belong, to postinit.c where it does belong (and is essentially free, too).
a3c6d105
master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more
No linked threadApr 21, 2010
CommitterArrange for client authentication to occur before we select a specific database to connect to. This is necessary for the walsender code to work properly (it was previously using an untenable assumption that template1 would always be available to connect to). This also gets rid of a small security shortcoming that was introduced in the original patch to eliminate the flat authentication files: before, you could find out whether or not the requested database existed even if you couldn't pass the authentication checks.
ea46000a
master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more
No linked threadApr 20, 2010
CommitterFix code that doesn't work on machines with strict alignment requirements: must use memcpy here rather than struct assignment.
7de2dfcc
master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more
No linked threadApr 20, 2010
CommitterMove the responsibility for calling StartupXLOG into InitPostgres, for those process types that go through InitPostgres; in particular, bootstrap and standalone-backend cases. This ensures that we have set up a PGPROC and done some other basic initialization steps (corresponding to the if (IsUnderPostmaster) block in AuxiliaryProcessMain) before we attempt to run WAL recovery in a standalone backend. As was discovered last September, this is necessary for some corner-case code paths during WAL recovery, particularly end-of-WAL cleanup.
c670410e
master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more
No linked threadApr 20, 2010
CommitterFix uninitialized local variables. Not sure why gcc doesn't complain about these --- maybe because they're effectively unused? MSVC does complain though, per buildfarm.
39bf4638
master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more
No linked threadApr 19, 2010
CommitterFix bogus order of cleanup steps in plperl_inline_handler. Per Alex Hunsaker
9287567e
master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more
No linked threadApr 18, 2010
CommitterBackportedFix psql's \copy to not insert spaces around dots and commas in the text of the SELECT query in \copy (SELECT ...) commands. This is unnecessary and breaks numeric literals, as seen in bug #5411 from Vitalii Tymchyshyn.
9df6127b
REL8_4_STABLE8.4.4REL8_3_STABLE8.3.11REL8_2_STABLE8.2.17
No linked threadApr 15, 2010
CommitterImprove message style for messages associated with not being able to identify the system time zone setting. Per recent discussion.
6ead7828
master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more
No linked threadApr 15, 2010
CommitterBackportedFix plpgsql's exec_eval_expr() to ensure it returns a sane type OID even when the expression is a query that returns no rows.
f7c5ff3d
master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+11 more
No linked threadApr 14, 2010
CommitterBackportedFix a problem introduced by my patch of 2010-01-12 that revised the way relcache reload works. In the patched code, a relcache entry in process of being rebuilt doesn't get unhooked from the relcache hash table; which means that if a cache flush occurs due to sinval queue overrun while we're rebuilding it, the entry could get blown away by RelationCacheInvalidate, resulting in crash or misbehavior. Fix by ensuring that an entry being rebuilt has positive refcount, so it won't be seen as a target for removal if a cache flush occurs. (This will mean that the entry gets rebuilt twice in such a scenario, but that's okay.) It appears that the problem can only arise within a transaction that has previously reassigned the relfilenode of a pre-existing table, via TRUNCATE or a similar operation. Per bug #5412 from Rusty Conover.
73981cb4
master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+13 more
No linked threadApr 14, 2010
CommitterFix to_char YYY, YY, Y format codes so that FM zero-suppression really works, rather than only sort-of working as the previous attempt had left it. Clean up some unnecessary differences between the way these were coded and the way the YYYY case was coded. Update the regression test cases that proved that it wasn't working.
2c0870ff
master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more
No linked threadApr 07, 2010
CommitterClean up description of 9.0's incompatible changes in SIMILAR TO and SQL-style substring().
87d5c229
master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more
No linked threadApr 05, 2010
CommitterArrange to remove pg_default_acl entries completely if their ACL setting is changed to match the hard-wired default. This avoids accumulating useless catalog entries, and also provides a path for dropping the owning role without using DROP OWNED BY. Per yesterday's complaint from Jaime Casanova, the need to use DROP OWNED BY for that is less than obvious, so providing this alternative method might save some user frustration.
60bd2b19
master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more
No linked threadApr 05, 2010
CommitterFix updateAclDependencies() to not assume that ACL role dependencies can only be added during GRANT and can only be removed during REVOKE; and fix its callers to not lie to it about the existing set of dependencies when instantiating a formerly-default ACL. The previous coding accidentally failed to malfunction so long as default ACLs contain only references to the object's owning role, because that role is ignored by updateAclDependencies. However this is obviously pretty fragile, as well as being an undocumented assumption. The new coding is a few lines longer but IMO much clearer.
9029df17
master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more
No linked threadApr 05, 2010
CommitterImprove phrasing of warning message for NOTIFY queue getting too full. Per gripe from Peter.
80390f49
master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more
No linked threadApr 05, 2010
CommitterMinor wording improvement.
87ecae72
master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more
No linked threadApr 03, 2010
Committer\ddp should be recognized as such even if user appends S or + to it. Those options do nothing right now, but might be wanted later, and in any case it's confusing for the command to be interpreted as \dd if anything is appended. Per Jaime Casanova.
b8433283
master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+10 more
No linked threadApr 03, 2010
CommitterBackportedEnsure that contrib/pgstattuple functions respond to cancel interrupts reasonably promptly, by adding CHECK_FOR_INTERRUPTS in the per-page loops.
33065ef8
master9.0beta1REL_19_STABLE9.0beta1REL_18_STABLE9.0beta1REL_17_STABLE9.0beta1REL_16_STABLE9.0beta1REL_15_STABLE9.0beta1REL_14_STABLE9.0beta1REL_13_STABLE9.0beta1+16 more
No linked threadApr 02, 2010
CommitterBackportedFix "constraint_exclusion = partition" logic so that it will also attempt constraint exclusion on an inheritance set that is the target of an UPDATE or DELETE query. Per gripe from Marc Cousin. Back-patch to 8.4 where the feature was introduced.
d174a4ad
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+12 more
No linked threadMar 30, 2010
CommitterRework join-removal logic as per recent discussion. In particular this fixes things so that it works for cases where nested removals are possible. The overhead of the optimization should be significantly less, as well.
b78f6264
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+11 more
No linked threadMar 28, 2010
CommitterBackportedFix ginint4_queryextract() to actually do what it was intended to do for an unsatisfiable query, such as indexcol && empty_array. It should return -1 to tell GIN no scan is required; but silly typo disabled the logic for that, resulting in unnecessary "GIN indexes do not support whole-index scans" error. Per bug report from Jeff Trout.
5ceb13c8
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+13 more
No linked threadMar 25, 2010
CommitterBackportedFix thinko in log message for "sameuser" ident map mismatch: the provided and authenticated usernames were swapped. Reported by Bryan Henderson in bug #5386.
16a4186d
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+12 more
No linked threadMar 24, 2010
CommitterNow that we know last_statrequest > last_statwrite can be observed in the buildfarm, expend a little more effort on the log message for it.
223f82d4
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+11 more
No linked threadMar 24, 2010
CommitterFix regression test breakage from recent change in default name of exclusion-constraint index.
d0049f8e
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+11 more
No linked threadMar 22, 2010
CommitterFix an oversight in join-removal optimization: we have to check not only for plain Vars that are generated in the inner rel and used above the join, but also for PlaceHolderVars. Per report from Oleg K.
8d3c4aa6
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+11 more
No linked threadMar 22, 2010
CommitterBackportedClear error_context_stack and debug_query_string at the beginning of proc_exit, so that we won't try to attach any context printouts to messages that get emitted while exiting. Per report from Dennis Koegel, the context functions won't necessarily work after we've started shutting down the backend, and it seems possible that debug_query_string could be pointing at freed storage as well. The context information doesn't seem particularly relevant to such messages anyway, so there's little lost by suppressing it.
f784f05e
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+17 more
No linked threadMar 20, 2010
CommitterBackportedModify error context callback functions to not assume that they can fetch catalog entries via SearchSysCache and related operations. Although, at the time that these callbacks are called by elog.c, we have not officially aborted the current transaction, it still seems rather risky to initiate any new catalog fetches. In all these cases the needed information is readily available in the caller and so it's just a matter of a bit of extra notation to pass it to the callback.
a836abe9
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+12 more
No linked threadMar 19, 2010
CommitterFix oversight in btpo.xact patch; it was in fact installing garbage in the xact field on replay, due to not writing out all the data in the wal log struct.
865b2954
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+11 more
No linked threadMar 19, 2010
CommitterBackportedFix missing parentheses for current_query(), per bug #5378. Also make a couple other minor editorial improvements.
5f628561
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+12 more
No linked threadMar 18, 2010
CommitterPass incompletely-transformed aggregate argument lists as separate parameters to transformAggregateCall, instead of abusing fields in Aggref to carry them temporarily. No change in functionality but hopefully the code is a bit clearer now. Per gripe from Gokulakannan Somasundaram.
93324355
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+11 more
No linked threadMar 17, 2010
CommitterBackportedFix incorrect example in CREATE INDEX reference page, per Josh Kupershmidt. Also fix and uncomment an old example of creating a GIST index, and make a couple of other minor editorial adjustments.
f248e11f
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+12 more
No linked threadMar 17, 2010
CommitterUpdate oidjoins regression test for 9.0.
324505af
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+11 more
No linked threadMar 14, 2010
CommitterAdd some logging code for unexpected cases in pgstat.c, particularly being unable to read a stats file for reasons other than ENOENT, and having to reset last_statrequest because it's later than current time in the collector. Not clear if this will shed any light on the "pgstat wait timeout" business, but it seems like a good idea in general.
52e2b33a
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+11 more
No linked threadMar 12, 2010
CommitterFix a commented-out block of code that pgindent didn't understand properly; it's been making that comment uglier with each run.
d75f7a01
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+11 more
No linked threadMar 12, 2010
CommitterBackportedAdd missing reset of need_initialization in reloptions code.
1f44a313
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+12 more
No linked threadMar 11, 2010
CommitterModify psql's \d printout to fold exclusion constraints in with regular indexes, rather than printing them twice. Per my gripe when the exclusion constraint feature was committed.
924d6ed4
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+11 more
No linked threadMar 11, 2010
CommitterBackportedSync timezone code with tzcode 2010c from the Olson group. This fixes some corner cases that come up in certain timezones (apparently, only those with lots and lots of distinct TZ transition rules, as far as I can gather from a quick scan of their archives). Per suggestion from Jeevan Chalke.
f4898c94
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+12 more
No linked threadMar 11, 2010
CommitterSimplify a couple of pg_dump and psql \d queries about index constraints by joining to pg_constraint.conindid, instead of the former technique of joining indirectly through pg_depend. This is much more straightforward and probably faster as well. I had originally desisted from changing these queries when conindid was added because I was worried about losing performance, but if we join on conrelid as well as conindid then the index on conrelid can be used when pg_constraint is large.
e6555b43
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+11 more
No linked threadMar 11, 2010
CommitterUpdate comment for pg_constraint.conindid to mention that it's used for exclusion constraints. Not sure how we managed to update the comment for it in catalogs.sgml but miss this one.
4df5c6c7
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+11 more
No linked threadMar 11, 2010
CommitterBackportedPreliminary release notes for releases 8.4.3, 8.3.10, 8.2.16, 8.1.20, 8.0.24, 7.4.28.
8c9a120f
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+17 more
No linked threadMar 10, 2010
CommitterBackportedUse SvROK(sv) rather than directly checking SvTYPE(sv) == SVt_RV in plperl. The latter is considered unwarranted chumminess with the implementation, and can lead to crashes with recent Perl versions.
dac7a37d
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+16 more
No linked threadMar 09, 2010
CommitterBackportedUpdate time zone data files to tzdata release 2010c: DST law changes in Bangladesh, Mexico, Paraguay.
676b26dd
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+16 more
No linked threadMar 08, 2010
CommitterBackportedFix warning messages in restrict_and_check_grant() to include the column name when warning about column-level privileges. This is more useful than before and makes the apparent duplication complained of by Piyush Newe not so duplicate. Also fix lack of quote marks in a related message text.
153012c7
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+12 more
No linked threadMar 06, 2010
CommitterBackportedWhen reading pg_hba.conf and similar files, do not treat @file as an inclusion unless (1) the @ isn't quoted and (2) the filename isn't empty. This guards against unexpectedly treating usernames or other strings in "flat files" as inclusion requests, as seen in a recent trouble report from Ed L. The empty-filename case would be guaranteed to misbehave anyway, because our subsequent path-munging behavior results in trying to read the directory containing the current input file.
b8b34b7b
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+17 more
No linked threadMar 06, 2010
CommitterBackportedFix a couple of places that would loop forever if attempts to read a stdio file set ferror() but never set feof(). This is known to be the case for recent glibc when trying to read a directory as a file, and might be true for other platforms/cases too. Per report from Ed L. (There is more that we ought to do about his report, but this is one easily identifiable issue.)
61d75116
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+17 more
No linked threadMar 03, 2010
CommitterBackportedMake contrib/xml2 use core xml.c's error handler, when available (that is, in versions >= 8.3). The core code is more robust and efficient than what was there before, and this also reduces risks involved in swapping different libxml error handler settings.
5e47403b
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+16 more
No linked threadMar 03, 2010
CommitterBackportedExport xml.c's libxml-error-handling support so that contrib/xml2 can use it too, instead of duplicating the functionality (badly).
8bf14182
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+13 more
No linked threadMar 03, 2010
CommitterInstead of trying (and failing) to allow <<label>> at the end of a DECLARE section, throw an error message saying explicitly that the label must go before DECLARE. Per investigation of a recent pgsql-novice question, this code did not work as intended in any modern PG version, maybe not ever. Allowing such a thing would only create ambiguity anyway, so it seems better to remove it than fix it.
77e0d7b3
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+11 more
No linked threadMar 03, 2010
CommitterCause plpgsql to throw an error if "INTO rowtype_var" is followed by a comma. Per bug #5352, this helps to provide a useful error message if the user tries to do something presently unsupported, namely use a rowtype variable as a member of a multiple-item INTO list.
e664969f
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+11 more
No linked threadMar 02, 2010
CommitterBackportedFix contrib/xml2 so regression test still works when it's built without libxslt.
d6a6f8c6
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+16 more
No linked threadMar 01, 2010
CommitterBuildfarm still unhappy, so I'll bet it's EACCES not EPERM.
1ecafd62
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+11 more
No linked threadMar 01, 2010
CommitterBackportedRemove xmlCleanupParser calls from contrib/xml2.
a1020909
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+16 more
No linked threadMar 01, 2010
CommitterBackportedBack-patch today's memory management fixups in contrib/xml2.
8748dc35
REL8_4_STABLE8.4.3REL8_3_STABLE8.3.10REL8_2_STABLE8.2.16REL8_1_STABLE8.1.20REL8_0_STABLE8.0.24
No linked threadMar 01, 2010
CommitterBack-patch changes of 2009-05-13 in xml.c's memory management.
a8cf68f7
REL8_3_STABLE8.3.10
No linked threadMar 01, 2010
CommitterFix up memory management problems in contrib/xml2.
936c4af1
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+11 more
No linked threadFeb 28, 2010
CommitterAssorted code cleanup for contrib/xml2. No change in functionality, just make it a bit less ugly in places.
a12333ee
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+11 more
No linked threadFeb 28, 2010
CommitterInsert a hack into get_float8_nan (both core and ecpg copies) to deal with the fact that NetBSD/mips is currently broken, as per buildfarm member pika.
4d17a214
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+11 more
No linked threadFeb 27, 2010
CommitterEntity-ify a few new uses of literal <, >, and &.
4ec700a8
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+11 more
No linked threadFeb 27, 2010
CommitterUndo some more pgindent breakage. Per buildfarm.
5667a53b
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+11 more
No linked threadFeb 27, 2010
CommitterBackportedBack-patch addition of ssl_renegotiation_limit into 7.4 through 8.1.
a3609304
REL8_1_STABLE8.1.20REL8_0_STABLE8.0.24REL7_4_STABLE7.4.28
No linked threadFeb 25, 2010
CommitterBackportedAllow predicate_refuted_by() to deduce that NOT A refutes A.
99419d36
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+14 more
No linked threadFeb 25, 2010
CommitterImprove warning about creating nested named subroutines in plperl. Per discussion.
aed0829c
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+11 more
No linked threadFeb 25, 2010
CommitterMake pg_stop_backup's reporting a bit more verbose in hopes of making error cases less intimidating for novices. Per discussion.
a2239b96
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+11 more
No linked threadFeb 25, 2010
CommitterBackportedAllow zero-dimensional (ie, empty) arrays in contrib/ltree operations.
29d2f86a
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+13 more
No linked threadFeb 24, 2010
CommitterFix patch for printing backend and pg_dump versions so that it works in a desirable fashion in archive-dump cases, ie you should get the pg_dump version not the pg_restore version.
6a2e19d9
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+11 more
No linked threadFeb 24, 2010
CommitterUn-break pg_dump for the case of zero-column tables.
354547b0
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+11 more
No linked threadFeb 24, 2010
CommitterUse CREATE OR REPLACE LANGUAGE in pg_dump to avoid the need for a couple of significantly uglier kluges that were working around the change in plpgsql's preinstalled status.
24ac52c3
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+11 more
No linked threadFeb 24, 2010
CommitterMake pg_regress use CREATE OR REPLACE LANGUAGE, so that --load-language will work whether or not the specified language is preinstalled. This responds to some complaints about having to change test scripts because plpgsql is preinstalled as of 9.0.
b951c03f
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+11 more
No linked threadFeb 24, 2010
CommitterAdd an OR REPLACE option to CREATE LANGUAGE.
11b58470
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+11 more
No linked threadFeb 23, 2010
CommitterFix configure's regexp for extracting the Perl version number from perl -v output. Per bug #5339, Perl 5.11 has changed the format of that output enough to break the previous coding.
dc43e2f5
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+11 more
No linked threadFeb 23, 2010
CommitterClarify statements about tar archive format.
1bc8acca
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+11 more
No linked threadFeb 23, 2010
CommitterMinor style policing for error messages in pg_dump tar code. Notably, change "dumping data out of order is not supported" to "restoring data out of order is not supported", because you get that error during pg_restore not pg_dump. Also fix some comments that didn't look so good after being pgindented as perhaps they did originally.
8a12aac3
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+11 more
No linked threadFeb 23, 2010
CommitterSome platforms reject fsync() on files opened O_RDONLY.
c3a24e31
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+11 more
No linked threadFeb 23, 2010
CommitterLet's try forcing errno to zero before issuing fsync. The current buildfarm results claiming EBADF seem improbable enough that I'm not convinced fsync is really returning that --- could it be failing to set errno at all?
9dd6c468
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+11 more
No linked threadFeb 22, 2010
CommitterAdjust pg_fsync_writethrough so that it will set errno when failing on a platform that doesn't support this operation. The former coding would allow an unrelated errno to be reported, which would be quite misleading. Not sure if this has anything to do with the current buildfarm failures, but it's certainly bogus as-is.
e9a38330
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+11 more
No linked threadFeb 22, 2010
CommitterFix multiple copy and paste-o's. No wonder this code didn't work.
9738beb3
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+11 more
No linked threadFeb 22, 2010
CommitterClean up handling of XactReadOnly and RecoveryInProgress checks.
05d8a561
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+11 more
No linked threadFeb 20, 2010
CommitterReduce the rescan cost estimate for Materialize nodes to cpu_operator_cost per tuple, instead of the former cpu_tuple_cost. It is sane to charge less than cpu_tuple_cost because Materialize never does any qual-checking or projection, so it's got less overhead than most plan node types. In particular, we want to have the same charge here as is charged for readout in cost_sort. That avoids the problem recently exhibited by Teodor wherein the planner prefers a useless sort over a materialize step in a context where a lot of rescanning will happen. The rescan costs should be just about the same for both node types, so make their estimates the same.
3f56ca1d
master9.0alpha5REL_19_STABLE9.0alpha5REL_18_STABLE9.0alpha5REL_17_STABLE9.0alpha5REL_16_STABLE9.0alpha5REL_15_STABLE9.0alpha5REL_14_STABLE9.0alpha5REL_13_STABLE9.0alpha5+11 more
No linked threadFeb 19, 2010
CommitterBackportedVolatile-ize all five places where we expect a PG_TRY block to restore old memory context in plpython. Before only one of them was marked volatile, but per report from Zdenek Kotala, some compilers do the wrong thing here.
a232f30f
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+17 more
No linked threadFeb 18, 2010
CommitterBackportedProvide some rather hokey ways for EXPLAIN to print FieldStore and assignment ArrayRef expressions that are not in the immediate context of an INSERT or UPDATE targetlist. Such cases never arise in stored rules, so ruleutils.c hadn't tried to handle them. However, they do occur in the targetlists of plans derived from such statements, and now that EXPLAIN VERBOSE tries to print targetlists, we need some way to deal with the case.
858d1699
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+13 more
No linked threadFeb 18, 2010
CommitterBackportedFix ExecEvalArrayRef to pass down the old value of the array element or slice being assigned to, in case the expression to be assigned is a FieldStore that would need to modify that value. The need for this was foreseen some time ago, but not implemented then because we did not have arrays of composites. Now we do, but the point evidently got overlooked in that patch. Net result is that updating a field of an array element doesn't work right, as illustrated if you try the new regression test on an unpatched backend. Noted while experimenting with EXPLAIN VERBOSE, which has also got some issues in this area.
11d5ba97
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+14 more
No linked threadFeb 18, 2010
CommitterBackportedForce READY portals into FAILED state when a transaction or subtransaction is aborted, if they were created within the failed xact. This prevents ExecutorEnd from being run on them, which is a good idea because they may contain references to tables or other objects that no longer exist. In particular this is hazardous when auto_explain is active, but it's really rather surprising that nobody has seen an issue with this before. I'm back-patching this to 8.4, since that's the first version that contains auto_explain or an ExecutorEnd hook, but I wonder whether we shouldn't back-patch further.
7981c342
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+13 more
No linked threadFeb 18, 2010
CommitterFix up pg_dump's treatment of large object ownership and ACLs. We now emit a separate archive entry for each BLOB, and use pg_dump's standard methods for dealing with its ownership, ACL if any, and comment if any. This means that switches like --no-owner and --no-privileges do what they're supposed to. Preliminary testing says that performance is still reasonable even with many blobs, though we'll have to see how that shakes out in the field.
c0d5be5d
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadFeb 18, 2010
CommitterTake care to reprocess an uncommitted notify message.
2b44d74d
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadFeb 17, 2010
CommitterStamp HEAD as 9.0devel, and update various places that were referring to 8.5 (hope I got 'em all). Per discussion, this release will be 9.0 not 8.5.
50a90fac
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadFeb 17, 2010
CommitterWhen updating ShmemVariableCache from a checkpoint record, be sure to set all the values derived from oldestXid, not just that field. Brain fade in one of my patches associated with flat file removal, exposed by a report from Fujii Masao.
c64339fa
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadFeb 17, 2010
CommitterBackportedPrevent #option dump from crashing on FORI statement with null step. Reported by Pavel.
711804fd
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+14 more
No linked threadFeb 17, 2010
Committerlog_error_verbosity is now LOGGING_WHAT category.
9cbcfca4
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadFeb 17, 2010
CommitterTweak description of payload parameter.
750ff8bd
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadFeb 17, 2010
CommitterMake NOTIFY_PAYLOAD_MAX_LENGTH depend explicitly on BLCKSZ and NAMEDATALEN, so this code doesn't go nuts with smaller than default BLCKSZ or larger than default NAMEDATALEN. The standard value is still exactly 8000.
ee678fe3
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadFeb 17, 2010
CommitterReplace the pg_listener-based LISTEN/NOTIFY mechanism with an in-memory queue. In addition, add support for a "payload" string to be passed along with each notify event.
d1e02722
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadFeb 16, 2010
CommitterBackportedOoops, let's get the non-null vs null bit right ...
c5d644a8
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+13 more
No linked threadFeb 14, 2010
CommitterBackportedDocument the behavior of STRICT VARIADIC functions.
a9aad1b8
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+13 more
No linked threadFeb 14, 2010
CommitterDon't expose the inline definition of MemoryContextSwitchTo when FRONTEND is defined. Its reference to CurrentMemoryContext causes link failures on some platforms, evidently because the inline function gets compiled despite lack of use. Per buildfarm member warthog.
7507b193
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadFeb 13, 2010
CommitterSupport inlining various small performance-critical functions on non-GCC compilers, by applying a configure check to see if the compiler will accept an unreferenced "static inline foo ..." function without warnings. It is believed that such warnings are the only reason not to declare inlined functions in headers, if the compiler understands "inline" at all.
e08ab7c3
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadFeb 13, 2010
CommitterTweak the order of processing of WITH clauses so that they are processed before we start analyzing the parent statement. This is to make it more clear that the WITH isn't affected by anything in the parent. I don't believe there's any actual bug here, because the stuff that was being done before WITH didn't affect subqueries; but it's certainly a potential for error (and apparently misled Marko into committing some real errors...).
4688869f
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadFeb 12, 2010
CommitterBackportedDon't choke when exec_move_row assigns a synthesized null to a column that happens to be composite itself. Per bug #5314 from Oleg Serov.
3ad7dbb1
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+17 more
No linked threadFeb 12, 2010
CommitterExtend the set of frame options supported for window functions.
ec4be2ee
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadFeb 12, 2010
CommitterSuppress uninitialized-variable warning.
14d5a478
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadFeb 11, 2010
CommitterImprove planner's choices about when to use hashing vs sorting for DISTINCT.
76b6ee3f
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadFeb 10, 2010
CommitterFix up rickety handling of relation-truncation interlocks.
cbe9d6be
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadFeb 09, 2010
CommitterAllow free space map vacuuming to be interrupted.
16e5859c
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadFeb 09, 2010
CommitterRearrange lazy-vacuum code a little bit to reduce the window between truncating the table and transaction commit. This isn't really making it safe, but at least there is no good reason to do free space map cleanup within the risk window. Don't lock out cancel interrupts until we have to, either.
95289e4a
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadFeb 09, 2010
CommitterCreate an official API function for C functions to use to check if they are being called as aggregates, and to get the aggregate transition state memory context if needed. Use it instead of poking directly into AggState and WindowAggState in places that shouldn't know so much.
d5768dce
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadFeb 08, 2010
CommitterFix serious performance bug in new implementation of VACUUM FULL: cluster_rel necessarily builds an all-new toast table, so it's useless to then go and VACUUM FULL the toast table.
9184cc7d
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadFeb 08, 2010
CommitterRemove CatalogCacheFlushRelation, and the reloidattr infrastructure that was needed by nothing else.
9a75803b
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadFeb 08, 2010
CommitterRemove some more dead VACUUM-FULL-only code.
68446b2c
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadFeb 08, 2010
CommitterRemove old-style VACUUM FULL (which was known for a little while as VACUUM FULL INPLACE), along with a boatload of subsidiary code and complexity. Per discussion, the use case for this method of vacuuming is no longer large enough to justify maintaining it; not to mention that we don't wish to invest the work that would be needed to make it play nicely with Hot Standby.
0a469c87
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadFeb 08, 2010
CommitterWork around deadlock problems with VACUUM FULL/CLUSTER on system catalogs, as per my recent proposal.
1ddc2703
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadFeb 07, 2010
CommitterLooks like we need #include <sys/stat.h> here on some platforms. Per buildfarm.
1c05b0b4
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadFeb 07, 2010
CommitterCreate a "relation mapping" infrastructure to support changing the relfilenodes of shared or nailed system catalogs. This has two key benefits:
b9b8831a
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadFeb 07, 2010
CommitterAvoid changing the sign of zero. Per buildfarm failures.
7fc30c48
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadFeb 06, 2010
CommitterThree out of four of us like this phrasing better.
c00353aa
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadFeb 04, 2010
CommitterRestructure CLUSTER/newstyle VACUUM FULL/ALTER TABLE support so that swapping of old and new toast tables can be done either at the logical level (by swapping the heaps' reltoastrelid links) or at the physical level (by swapping the relfilenodes of the toast tables and their indexes). This is necessary infrastructure for upcoming changes to support CLUSTER/VAC FULL on shared system catalogs, where we cannot change reltoastrelid. The physical swap saves a few catalog updates too.
9727c583
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadFeb 04, 2010
CommitterForgot to back-patch CLUSTER test fix to 8.4.
4204ff33
REL8_4_STABLE8.4.3
No linked threadFeb 03, 2010
CommitterFix unwarranted assumption that a cached rowtype would stick around for the lifespan of the CreateStmt. Per buildfarm member jaguar.
47c5b8f5
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadFeb 03, 2010
CommitterAdd #include <float.h> --- guessing the lack of this is why Windows machines are all rejecting isinf() calls in this file.
45c88a55
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadFeb 03, 2010
CommitterFix timing-sensitive regression test result I just created :-( --- the DROP USER at the end of the cluster.sql test could fail, if the temp table created in the previous session hadn't finished getting dropped. Unluckily, I didn't see this in several repetitions of the parallel regression tests, but it's popping up on quite a few buildfarm machines.
98e31455
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadFeb 03, 2010
CommitterAssorted cleanups in preparation for using a map file to support altering the relfilenode of currently-not-relocatable system catalogs.
70a2b05a
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadFeb 03, 2010
CommitterFix assorted poorly-thought-out message strings: use %u not %d for printing OIDs, avoid random line breaks in strings somebody might grep for.
ab7c49c9
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadFeb 02, 2010
CommitterBackportedCLUSTER specified the wrong namespace when renaming toast tables of temporary relations (they don't live in pg_toast). This caused an Assert failure in assert-enabled builds. So far as I can see, in a non-assert build it would only have messed up the checks for conflicting names, so a failure would be quite improbable but perhaps not impossible.
c98157d6
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+13 more
No linked threadFeb 02, 2010
CommitterThe particular table names used in the new inheritance regression test are prone to sort differently in different locales, as seen in buildfarm results. Let's cast to name not text to avoid that.
21f862e4
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadFeb 02, 2010
CommitterBackportedChange regexp engine's ccondissect/crevdissect routines to perform DFA matching before recursing instead of after. The DFA match eliminates unworkable midpoint choices a lot faster than the recursive check, in most cases, so doing it first can speed things up; particularly in pathological cases such as recently exhibited by Michael Glaesemann.
ee3a81f0
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+18 more
No linked threadFeb 01, 2010
CommitterFix memory leak created by deferrable-index-constraints patches.
034fffbf
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 31, 2010
CommitterParenthesize this macro, just in case.
0c0203d0
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 31, 2010
CommitterGet rid of unportable use of socklen_t --- we have a configure test for that, so use it.
4913efc6
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 31, 2010
CommitterBackportedAvoid performing encoding conversion on command tag strings during EndCommand.
eb889266
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+17 more
No linked threadJan 30, 2010
CommitterBackportedFix memory leakage introduced into print_aligned_text by 8.4 changes (failure to free col_lineptrs[] array elements) and exacerbated in the current devel cycle (failure to free "wrap"). This resulted in moderate bloat of psql over long script runs. Noted while testing bug #5302, although what the reporter was complaining of was backend-side leakage.
07be293a
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+13 more
No linked threadJan 30, 2010
CommitterFix some comments that got mangled by pgindent.
3e51ae49
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 30, 2010
CommitterRemove the default_do_language parameter, instead making DO use a hardwired default of "plpgsql". This is more reasonable than it was when the DO patch was written, because we have since decided that plpgsql should be installed by default. Per discussion, having a parameter for this doesn't seem useful enough to justify the risk of application breakage if the value is changed unexpectedly.
d879697c
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 26, 2010
CommitterUn-break initdb logic for commenting out IPv6 pg_hba.conf line.
6c0f94fc
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 26, 2010
CommitterAdd get_bit/set_bit functions for bit strings, paralleling those for bytea, and implement OVERLAY() for bit strings and bytea.
9507c8a1
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 25, 2010
CommitterBackportedApply Tcl_Init() to the "hold" interpreter created by pltcl.
e7dcfd05
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+18 more
No linked threadJan 25, 2010
CommitterBackportedFix assorted core dumps and Assert failures that could occur during AbortTransaction or AbortSubTransaction, when trying to clean up after an error that prevented (sub)transaction start from completing: * access to TopTransactionResourceOwner that might not exist * assert failure in AtEOXact_GUC, if AtStart_GUC not called yet * assert failure or core dump in AfterTriggerEndSubXact, if AfterTriggerBeginSubXact not called yet
875353b9
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+17 more
No linked threadJan 24, 2010
CommitterBackportedInsert CHECK_FOR_INTERRUPTS calls into loops in dbsize.c, to ensure that the various disk-size-reporting functions will respond to query cancel reasonably promptly even in very large databases. Per report from Kevin Grittner.
841df96f
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+16 more
No linked threadJan 23, 2010
CommitterBackportedWell, the systemtap guys moved the goalposts again: with the latest version, we *must* generate probes.o or the dtrace probes don't work. Revert our workaround for their previous bug. Details at https://bugzilla.redhat.com/show_bug.cgi?id=557266
a8bf2df8
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+13 more
No linked threadJan 20, 2010
CommitterBackportedWhen doing a parallel restore, we must guard against out-of-range dependency dump IDs, because the array we're using is sized according to the highest dump ID actually defined in the archive file. In a partial dump there could be references to higher dump IDs that weren't dumped. Treat these the same as references to in-range IDs that weren't dumped. (The whole thing is a bit scary because the missing objects might have been part of dependency chains, which we won't know about. Not much we can do though --- throwing an error is probably overreaction.)
16f2eadf
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+13 more
No linked threadJan 19, 2010
CommitterFix thinko in my recent change to put an explicit argisrow field in NullTest: when the planner splits apart a ROW(...) IS NULL test, the argisrow values of the component tests have to be determined from the component field types, not copied from the original NullTest (in which argisrow is surely true).
85b587c2
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 19, 2010
CommitterAdd pg_table_size() and pg_indexes_size() to provide more user-friendly wrappers around the pg_relation_size() function.
4f15699d
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 19, 2010
CommitterAdd "USING expressions" option to plpgsql's OPEN cursor FOR EXECUTE.
309cd7cf
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 19, 2010
CommitterBackportedFix an oversight in convert_EXISTS_sublink_to_join: we can't convert an EXISTS that contains a WITH clause. This would usually lead to a "could not find CTE" error later in planning, because the WITH wouldn't get processed at all. Noted while playing with an example from Ken Marshall.
a49147af
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+13 more
No linked threadJan 18, 2010
CommitterBackportedFix portalmem.c to avoid keeping a dangling pointer to a cached plan list after it's released its reference count for the cached plan. There are code paths that might try to examine the plan list before noticing that the portal is already in aborted state. Report and diagnosis by Tatsuo Ishii, though this isn't exactly his proposed patch.
376c6203
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+14 more
No linked threadJan 18, 2010
CommitterUpdate SET CONSTRAINTS reference page --- it failed to mention EXCLUDE constraints and was lacking a couple of other interesting details.
04ef4040
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 18, 2010
CommitterImprove the handling of SET CONSTRAINTS commands by having them search pg_constraint before searching pg_trigger. This allows saner handling of corner cases; in particular we now say "constraint is not deferrable" rather than "constraint does not exist" when the command is applied to a constraint that's inherently non-deferrable. Per a gripe several months ago from hubert depesz lubaczewski.
9a915e59
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 17, 2010
CommitterRemove unnecessary, inconsistent flag resets in ProcessInterrupts.
0ae19c11
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 17, 2010
CommitterBackportedRe-order configure tests to reflect the fact that the code generated for posix_fadvise and other file-related functions can depend on _LARGEFILE_SOURCE and/or _FILE_OFFSET_BITS. Per report from Robert Treat.
a6c75be2
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+13 more
No linked threadJan 16, 2010
CommitterFix unportable use of isxdigit() with char (rather than unsigned char) argument, per warnings from buildfarm member pika. Also clean up code formatting a trifle.
196a6ca5
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 16, 2010
CommitterFix bogus initialization of KnownAssignedXids shared memory state --- didn't work in EXEC_BACKEND case.
e319e679
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 16, 2010
CommitterHuh, apparently on cygwin we HAVE_SIGPROCMASK, so both variants of the BlockSig/UnBlockSig declaration have to be PGDLLIMPORT'ified. Per buildfarm results.
c9dc53be
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 16, 2010
CommitterPGDLLIMPORT-ize the remaining variables needed by walreceiver.
47a09eda
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 16, 2010
CommitterDo parse analysis of an EXPLAIN's contained statement during the normal parse analysis phase, rather than at execution time. This makes parameter handling work the same as it does in ordinary plannable queries, and in particular fixes the incompatibility that Pavel pointed out with plpgsql's new handling of variable references. plancache.c gets a little bit grottier, but the alternatives seem worse.
08f8d478
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 15, 2010
CommitterSecond try: walreceiver should not be built with -DBUILDING_DLL
00b5cceb
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 15, 2010
CommitterNo, scratch that, it was getting added twice.
cf7af280
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 15, 2010
CommitterActually, I'll bet the mingw problem is lack of $(BE_DLLLIBS) ...
43352816
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 15, 2010
CommitterFix bogus subdir setting ... wonder just what that affects ...
798fe1d5
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 15, 2010
CommitterSimplify validate_exec() by using access(2) to check file permissions, rather than trying to implement the equivalent logic by hand. The motivation for the original coding appears to have been to check with the effective uid's permissions not the real uid's; but there is no longer any difference, because we don't run the postmaster setuid (indeed, main.c enforces that they're the same). Using access() means we will get it right in situations the original coding failed to handle, such as ACL-based permissions. Besides it's a lot shorter, cleaner, and more thread-safe. Per bug #5275 from James Bellinger.
0fba3bef
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 14, 2010
CommitterBackportedWhen loading critical system indexes into the relcache, ensure we lock the underlying catalog not only the index itself. Otherwise, if the cache load process touches the catalog (which will happen for many though not all of these indexes), we are locking index before parent table, which can result in a deadlock against processes that are trying to lock them in the normal order. Per today's failure on buildfarm member gothic_moth; it's surprising the problem hadn't been identified before.
715120e7
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+15 more
No linked threadJan 13, 2010
CommitterBackportedFix bug #5269: ResetPlanCache mustn't invalidate cached utility statements, especially not ROLLBACK. ROLLBACK might need to be executed in an already aborted transaction, when there is no safe way to revalidate the plan. But in general there's no point in marking utility statements invalid, since they have no plans in the normal sense of the word; so we might as well work a bit harder here to avoid future revalidation cycles.
dbba3a14
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+13 more
No linked threadJan 13, 2010
CommitterMake fixed_paramref_hook behave properly when there are 'unused' slots in the parameter array. Noted while experimenting with an example from Pavel. This wouldn't come up in normal use, but it ought to honor the specification that a parameter array can have unused slots.
43a9a2fb
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 13, 2010
CommitterBackportedFix relcache reload mechanism to be more robust in the face of errors occurring during a reload, such as query-cancel. Instead of zeroing out an existing relcache entry and rebuilding it in place, build a new relcache entry, then swap its contents with the old one, then free the new entry. This avoids problems with code believing that a previously obtained pointer to a cache entry must still reference a valid entry, as seen in recent failures on buildfarm member jaguar. (jaguar is using CLOBBER_CACHE_ALWAYS which raises the probability of failure substantially, but the problem could occur in the field without that.) The previous design was okay when it was made, but subtransactions and the ResourceOwner mechanism make it unsafe now.
491dd4a9
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+15 more
No linked threadJan 12, 2010
CommitterFix aclexplode to not explode on a zero-entry ACL array. (An Assert is no substitute for thinking clearly :-()
894fc6b7
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 12, 2010
CommitterAdd some simple support and documentation for using process-specific oom_adj settings to prevent the postmaster from being OOM-killed on Linux systems.
d5e00298
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 11, 2010
CommitterBackportedImprove ExecEvalVar's handling of whole-row variables in cases where the rowtype contains dropped columns. Sometimes the input tuple will be formed from a select targetlist in which dropped columns are filled with a NULL of an arbitrary type (the planner typically uses INT4, since it can't tell what type the dropped column really was). So we need to relax the rowtype compatibility check to not insist on physical compatibility if the actual column value is NULL.
292176a1
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+13 more
No linked threadJan 11, 2010
CommitterSome trivial adjustments in comments for struct RelationData.
6164b4bc
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 10, 2010
CommitterRemove unnecessary use of temp file. Tim Bunce
3f7a5183
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 10, 2010
CommitterImprove plpgsql parsing to report "foo is not a known variable", rather than a generic syntax error, when seeing "foo := something" and foo isn't recognized. This buys back most of the helpfulness discarded in my previous patch by not throwing errors when a qualified name appears to match a row variable but the last component doesn't match any field of the row. It covers other cases where our error messages left something to be desired, too.
2d7f136f
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 10, 2010
CommitterImprove plpgsql's handling of record field references by forcing all potential field references in SQL expressions to have RECFIELD datum-array entries at parse time. If it turns out that the reference is actually to a SQL column, the RECFIELD entry is useless, but it costs little. This allows us to get rid of the previous use of FieldSelect applied to a whole-row Param for the record variable; which was not only slower than a direct RECFIELD reference, but failed for references to system columns of a trigger's NEW or OLD record. Per report and fix suggestion from Dean Rasheed.
01f7d299
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 10, 2010
CommitterMake ExecEvalFieldSelect throw a more intelligible error if it's asked to extract a system column, and remove a couple of lines that are useless in light of the fact that we aren't ever going to support this case. There isn't much point in trying to make this work because a tuple Datum does not carry many of the system columns. Per experimentation with a case reported by Dean Rasheed; we'll have to fix his problem somewhere else.
85113bcf
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 09, 2010
CommitterFix makefile so it works for VPATH case.
c79640ef
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 09, 2010
CommitterFix oversight in EvalPlanQualFetch: after failing to lock a tuple because someone else has just updated it, we have to set priorXmax to that tuple's xmax (ie, the XID of the other xact that updated it) before looping back to examine the next tuple. Obviously, the next tuple in the update chain should have that XID as its xmin, not the same xmin as the preceding tuple that we had been trying to lock. The mismatch would cause the EvalPlanQual logic to decide that the tuple chain ended in a deletion, when actually there was a live tuple that should have been found.
217dc525
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 08, 2010
CommitterFix 3-parameter form of bit substring() to throw error for negative length, as required by SQL standard.
50626efe
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 07, 2010
CommitterBackportedMake bit/varbit substring() treat any negative length as meaning "all the rest of the string". The previous coding treated only -1 that way, and would produce an invalid result value for other negative values.
e4a6ebf7
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+18 more
No linked threadJan 07, 2010
CommitterFix (some of the) breakage introduced into query-cancel processing by HS.
82170c74
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 07, 2010
CommitterRemove all the special-case code for INT64_IS_BUSTED, per decision that we're not going to support that anymore.
901be0fa
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 07, 2010
CommitterFail in a nicer way if we have --with-perl and no Perl.
c7f08913
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 07, 2010
CommitterMake configure check the version of Perl we're building with, and reject versions < 5.8. Also, if there's no Perl, emit a warning informing the user that he won't be able to build from a CVS pull. This is exactly the same treatment we give Bison and Perl, and for the same reasons.
55233c33
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 07, 2010
CommitterBackportedAlter the configure script to fail immediately if the C compiler does not provide a working 64-bit integer datatype. As recently noted, we've been broken on such platforms since early in the 8.4 development cycle. Since it took nearly two years for anyone to even notice, it seems that the rationale for continuing to support such platforms has reached the point of non-existence. Rather than thrashing around to try to make it work again, we'll just admit up front that this no longer works.
d15cb38d
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+13 more
No linked threadJan 07, 2010
CommitterFix spccache.c to not suppose that a cache entry will live across database access, per testing with CLOBBER_CACHE_ALWAYS. Minor other editorialization.
9261b19f
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 06, 2010
CommitterAccess hash entry before freeing it, not after.
64b9c850
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 06, 2010
CommitterMake error messages for bad --set-version argument more useful. Per Stefan.
87ac6e72
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 06, 2010
CommitterMake the makefile pass $MAJORVERSION to genbki.pl, not $VERSION which is overridden in the snapshot build script. $MAJORVERSION is what it really wanted anyway, so we can tighten up the parsing of --set-version's argument.
d7085f24
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 06, 2010
CommitterFix missing <manvolnum> markers in dblink reference entries. Silences complaints from "make man", and allows these man pages to be included in man3/.
f883e200
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 06, 2010
CommitterAdd missing 'static' keywords.
cd958356
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 06, 2010
CommitterBackportedAdd support for doing FULL JOIN ON FALSE. While this is really a rather peculiar variant of UNION ALL, and so wouldn't likely get written directly as-is, it's possible for it to arise as a result of simplification of less-obviously-silly queries. In particular, now that we can do flattening of subqueries that have constant outputs and are underneath an outer join, it's possible for the case to result from simplification of queries of the type exhibited in bug #5263. Back-patch to 8.4 to avoid a functionality regression for this type of query.
90f4c2d9
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+13 more
No linked threadJan 05, 2010
CommitterFix genbki.pl and Gen_fmgrtab.pl to use PID-specific temp file names, so that it's safe if a parallel make chooses to run two concurrent copies. Also, work around a memory leak in some versions of Perl.
72559b49
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 05, 2010
CommitterFurther code review for genbki.pl. Improve comments, fix some rather random code choices, don't slavishly duplicate the original pg_attribute.h's failure to put an OID into Schema_pg_index entries.
5219f803
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 05, 2010
CommitterFix a few places where we needed -I. in CPPFLAGS to work properly in VPATH builds. We had this already in several places, but not all.
daf5b0f2
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 05, 2010
CommitterRemove too-smart-for-its-own-good optimization of not overwriting the output files when they haven't changed. This confuses make because the build fails to update the file timestamps, and so it keeps on doing the action over again.
9d781b55
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 05, 2010
CommitterFix parallel-make timing problem.
54b47c80
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 05, 2010
CommitterGet rid of the need for manual maintenance of the initial contents of pg_attribute, by having genbki.pl derive the information from the various catalog header files. This greatly simplifies modification of the "bootstrapped" catalogs.
64737e93
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 05, 2010
CommitterImprove PGXS makefile system to allow the module's makefile to specify where to install DATA and DOCS files. This is mainly intended to allow versioned installation, eg, install into contrib/fooM.N/ rather than directly into contrib/.
4c5b4c8b
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 04, 2010
CommitterWhen estimating the selectivity of an inequality "column > constant" or "column < constant", and the comparison value is in the first or last histogram bin or outside the histogram entirely, try to fetch the actual column min or max value using an index scan (if there is an index on the column). If successful, replace the lower or upper histogram bound with that value before carrying on with the estimate. This limits the estimation error caused by moving min/max values when the comparison value is close to the min or max. Per a complaint from Josh Berkus.
40608e7f
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 04, 2010
CommitterDept of second thoughts: my first cut at supporting "x IS NOT NULL" btree indexscans would do the wrong thing if index_rescan() was called with a NULL instead of a new set of scankeys and the index was DESC order, because sk_strategy would not get flipped a second time. I think that those provisions for a NULL argument are dead code now as far as the core backend goes, but possibly somebody somewhere is still using it. In any case, this refactoring seems clearer, and it's definitely shorter.
5b76bb18
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 03, 2010
CommitterAdd missing schema-qualification in tab completion query.
96c40c6e
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 02, 2010
CommitterFix similar_escape() to convert parentheses to non-capturing style. This is needed to avoid unwanted interference with SUBSTRING behavior, as per bug #5257 from Roman Kononov. Also, add some basic intelligence about character classes (bracket expressions) since we now have several behaviors that aren't appropriate inside a character class.
e15d53e7
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 02, 2010
Committercheck_exclusion_constraint didn't actually work correctly for index expressions: FormIndexDatum requires the estate's scantuple to already point at the tuple the values are supposedly being extracted from. Adjust test case so that this type of confusion will be exposed. Per report from hubert depesz lubaczewski.
2b59274c
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 02, 2010
CommitterAdd an "argisrow" field to NullTest nodes, following a plan made way back in 8.2beta but never carried out. This avoids repetitive tests of whether the argument is of scalar or composite type. Also, be a bit more paranoid about composite arguments in some places where we previously weren't checking.
7839d359
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 01, 2010
CommitterSupport "x IS NOT NULL" clauses as indexscan conditions. This turns out to be just a minor extension of the previous patch that made "x IS NULL" indexable, because we can treat the IS NOT NULL condition as if it were "x < NULL" or "x > NULL" (depending on the index's NULLS FIRST/LAST option), just like IS NULL is treated like "x = NULL". Aside from any possible usefulness in its own right, this is an important improvement for index-optimized MAX/MIN aggregates: it is now reliably possible to get a column's min or max value cheaply, even when there are a lot of nulls cluttering the interesting end of the index.
29c4ad98
master9.0alpha4REL_19_STABLE9.0alpha4REL_18_STABLE9.0alpha4REL_17_STABLE9.0alpha4REL_16_STABLE9.0alpha4REL_15_STABLE9.0alpha4REL_14_STABLE9.0alpha4REL_13_STABLE9.0alpha4+12 more
No linked threadJan 01, 2010