- 06 Oct, 2008 3 commits
-
-
Tom Lane authored
-
Tom Lane authored
well as regular tables. Per discussion, this seems necessary to meet the principle of least astonishment. In passing, simplify the error messages in warnAutoRange(). Now that we have parser error position info for these errors, it doesn't seem very useful to word the error message differently depending on whether we are inside a sub-select or not.
-
Tom Lane authored
-
- 05 Oct, 2008 8 commits
-
-
Tom Lane authored
machine produces zero (rather than the more usual minimum-possible-integer) for the only possible overflow case. This has been seen to occur for at least some word widths on some hardware, and it's cheap enough to check for everywhere. Per Peter's analysis of buildfarm reports. This could be back-patched, but in the absence of any gripes from the field I doubt it's worth the trouble.
-
Tom Lane authored
non-recursive term. Per an example from Dickson S. Guedes.
-
Tom Lane authored
recursive CTE that we're still in progress of analyzing. Add a similar guard to the similar code in expandRecordVariable(), and tweak regression tests to cover this case. Per report from Dickson S. Guedes.
-
Peter Eisentraut authored
-
Peter Eisentraut authored
nullvalue, nonvalue. A long time ago, these were used to implement the SQL constructs IS TRUE, etc.
-
Peter Eisentraut authored
-
Peter Eisentraut authored
int8-exp-three-digits.out update untested, might need refinement.
-
Peter Eisentraut authored
-
- 04 Oct, 2008 3 commits
-
-
Tom Lane authored
There are some unimplemented aspects: recursive queries must use UNION ALL (should allow UNION too), and we don't have SEARCH or CYCLE clauses. These might or might not get done for 8.4, but even without them it's a pretty useful feature. There are also a couple of small loose ends and definitional quibbles, which I'll send a memo about to pgsql-hackers shortly. But let's land the patch now so we can get on with other development. Yoshiyuki Asaba, with lots of help from Tatsuo Ishii and Tom Lane
-
Peter Eisentraut authored
-
Tom Lane authored
knowledge disappears again.
-
- 03 Oct, 2008 4 commits
-
-
Peter Eisentraut authored
input formats.
-
Peter Eisentraut authored
changes. Add some documenting comments.
-
Peter Eisentraut authored
builds. It is too complicated to fix in another way for now.
-
Heikki Linnakangas authored
name of a fork ('main' or 'fsm', at the moment) to pg_relation_size() to get the size of a specific fork. Defaults to 'main', if none given. While we're at it, modify pg_relation_size to take a regclass as argument, instead of separate variants taking oid and name. This change is transparent to typical use where the table name is passed as a string literal, like pg_relation_size('table'), but will break queries like pg_relation_size(namecol), where namecol is of type name. text-type input still works, and using a non-schema-qualified table name is not very reliable anyway, so this is unlikely to break anyone's queries in practice.
-
- 02 Oct, 2008 6 commits
-
-
Bruce Momjian authored
code in 8.4.
-
Tom Lane authored
when using --enable-integer-datetimes and a non-ISO datestyle. Ron Mayer
-
Tom Lane authored
-
Heikki Linnakangas authored
large enough for block numbers higher than 2^31. The old pre-FSM-rewrite pg_freespacemap implementation got this right. While we're at it, remove some unnecessary #includes.
-
Heikki Linnakangas authored
"pg_freespacemap". Reported by hubert depesz lubaczewski.
-
Peter Eisentraut authored
-
- 01 Oct, 2008 5 commits
-
-
Peter Eisentraut authored
in both input and output dir, to handle vpath builds more simply.
-
Tom Lane authored
This facility replaces the former mark/restore support but is otherwise upward-compatible with previous uses. It's expected to be needed for single evaluation of CTEs and also for window functions, so I'm committing it separately instead of waiting for either one of those patches to be finished. Per discussion with Greg Stark and Hitoshi Harada. Note: I removed nodeFunctionscan's mark/restore support, instead of bothering to update it for this change, because it was dead code anyway.
-
Magnus Hagander authored
required by at least NetBSD. Markus Schaaf
-
Tom Lane authored
complain here, but some do)
-
Heikki Linnakangas authored
replay, because it tries to XLogInsert().
-
- 30 Sep, 2008 5 commits
-
-
Tom Lane authored
-
Tom Lane authored
-
Heikki Linnakangas authored
changes from the main FSM commit for some reason.
-
Heikki Linnakangas authored
-
Heikki Linnakangas authored
free space information is stored in a dedicated FSM relation fork, with each relation (except for hash indexes; they don't use FSM). This eliminates the max_fsm_relations and max_fsm_pages GUC options; remove any trace of them from the backend, initdb, and documentation. Rewrite contrib/pg_freespacemap to match the new FSM implementation. Also introduce a new variant of the get_raw_page(regclass, int4, int4) function in contrib/pageinspect that let's you to return pages from any relation fork, and a new fsm_page_contents() function to inspect the new FSM pages.
-
- 28 Sep, 2008 2 commits
-
-
Tom Lane authored
applied to expression indexes, not to plain relations. The original coding in btcostestimate conflated the two cases, but it's not hard to use get_relation_stats_hook instead when we're looking to the underlying relation.
-
Tom Lane authored
Simon Riggs, with some editorialization by me.
-
- 27 Sep, 2008 1 commit
-
-
Andrew Dunstan authored
-
- 26 Sep, 2008 2 commits
-
-
Tom Lane authored
Alex Hunsaker
-
Tom Lane authored
(ie, has nothing to quote), rather than silently ignoring the character as has been our historical behavior. This is required by SQL spec and should help reduce the sort of user confusion seen in bug #4436. Per discussion. This is not so much a bug fix as a definitional change, and it could break existing applications; so not back-patched. It might deserve being mentioned as an incompatibility in the 8.4 release notes.
-
- 25 Sep, 2008 1 commit
-
-
Tom Lane authored
element types. Since the backend doesn't actually pay attention to the array type's delimiter, this has no functional effect, but it seems better for the catalog entries to be consistent. Per gripe from Greg Mullane and subsequent discussion.
-