Commits

Show all
Author Commit Message Labels Comments Date
Andrew Dunstan
Initial working version
Branches
psql-binout
Heikki Linnakangas
Don't get confused if a WAL partial record header has xl_tot_len == 0. If a WAL record header was split across pages, but xl_tot_len was 0, we would get confused and conclude that we had already read the whole record, and proceed to CRC check it. That can lead to a crash in RecordIsValid(), which isn't careful to not read beyond end-of-record, as defined by xl_tot_len. Add an explicit sanity check for xl_tot_len <= SizeOfXlogRecord. Also, make RecordIsValid() more r…
Tom Lane
Fix typo in comment.
Tom Lane
Remove obsolete comment.
Tom Lane
Allow OLD and NEW in multi-row VALUES within rules. Now that we have LATERAL, it's fairly painless to allow this case, which was left as a TODO in the original multi-row VALUES implementation.
Tom Lane
Make use of LATERAL in information_schema.sequences view. It said "XXX: The following could be improved if we had LATERAL" ... so let's do that. No catversion bump since either version of the view works fine.
Tom Lane
Another round of planner fixes for LATERAL. Formerly, subquery pullup had no need to examine other entries in the range table, since they could not contain any references to the subquery being pulled up. That's no longer true with LATERAL, so now we need to be able to visit rangetable subexpressions to replace Vars referencing the pulled-up subquery. Also, this means that extract_lateral_references must be unsurprised at encountering late…
Tom Lane
Copy-editing for recent window-functions documentation rewrite. Fix grammar, put back some removed information, rearrange for clarity.
Tom Lane
Check LIBXML_VERSION instead of testing in configure script. We had put a test for libxml2's xmlStructuredErrorContext variable in configure, but of course that doesn't work on Windows builds. The next best alternative seems to be to test the LIBXML_VERSION symbol provided by xmlversion.h. Per report from Talha Bin Rizwan, though this fixes it in a different way than his proposed patch.
Bruce Momjian
Update 'int' protocol documentation mention to be "signed", per request from Dmitriy Igrishin
Bruce Momjian
Delete inaccurate C comment about FSM and adding pages, per Robert Haas.
Bruce Momjian
Add URL for include file visualization tool.
Bruce Momjian
Document that tab completation can interfere with some SQL commands.
Bruce Momjian
Add warning about pg_ctl restart and the use of relative paths on the command-line.
Tom Lane
Allow create_index_paths() to consider multiple join bitmapscan paths. In the initial cut at the "parameterized paths" feature, I'd simplified create_index_paths() to the point where it would only generate a single parameterized bitmap path per relation. Experimentation with an example supplied by Josh Berkus convinces me that that's not good enough: we really need to consider a bitmap path for each possible outer relation. Otherwise we have regressions relative to…
Tom Lane
Suppress possibly-uninitialized-variable warning.
Bruce Momjian
Add possible alternate tool for pgrminclude, from Peter Geoghegan
Bruce Momjian
In docs, clarify that, without ORDER BY, the window frame is all rows in the partition.
Bruce Momjian
Revert: In docs, change a few cases of "not important" to "unimportant". Per request from Heikki
Bruce Momjian
Rewrite window function reference section to more clearly explain keywords and concepts, based on suggestions by Florian Pflug.
Bruce Momjian
In docs, change a few cases of "not important" to "unimportant".
Heikki Linnakangas
Add SP-GiST support for range types. The implementation is a quad-tree, largely copied from the quad-tree implementation for points. The lower and upper bound of ranges are the 2d coordinates, with some extra code to handle empty ranges. I left out the support for adjacent operator, -|-, from the original patch. Not because there was necessarily anything wrong with it, but it was more complicated than the other operators, and I only…
Heikki Linnakangas
Fix GiST buffering build bug, which caused "failed to re-find parent" errors. We use a hash table to track the parents of inner pages, but when inserting to a leaf page, the caller of gistbufferinginserttuples() must pass a correct block number of the leaf's parent page. Before gistProcessItup() descends to a child page, it checks if the downlink needs to be adjusted to accommodate the new tuple, and updates the downlink if necessary. However, updating the downlink might re…
Bruce Momjian
Fix SGML markup; missing tag.
Bruce Momjian
Document that PGDATA has to point to the configuration files, rather than the actual data storage directory. Per suggestion from Thom Brown
Bruce Momjian
Document that pg_ctl -w allows for the entry of an SSL passphase on startup. Per report from Thom Brown
Bruce Momjian
Add CREATE FOREIGN TABLE doc reference to CREATE SERVER. Per suggestion from Ray Stell
Bruce Momjian
Properly document that NEW is unassigned in plpgsql for DELETE (not NULL), and OLD is unassigned for INSERT, and NEW/OLD are unassigned (not NULL) for statement-level triggers. Per report from Pavel Stehule
Bruce Momjian
Add C comment about new \c parameter requirement for crashed connections.
Bruce Momjian
Update C comment to NOTICE to reflect previous commit changing the error level, per report from Tom.
  1. Prev
  2. Next