Filter:

Commits in week 32 (Aug 02 - Aug 08, 2010)

Commits22 commits of which 8 backported
0Author
22Committer
0Reviewer
0Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
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