- 13 Jul, 2010 7 commits
-
-
Tom Lane authored
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. One small difference from previous behavior is that EXPLAIN will no longer qualify local variable references in inner-indexscan plan nodes, since it no longer sees such nodes as possibly referencing multiple tables. Vars referenced through PARAM_EXEC Params are still forcibly qualified, though, so I don't think the display is any more confusing than before. Adjust a couple of examples in the documentation to match this behavior.
-
Bruce Momjian authored
because of file access limitations on that platform.
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
the end.
-
Bruce Momjian authored
-
Heikki Linnakangas authored
loop from being dropped, I missed subtransaction cleanup. Pinned portals must be dropped at subtransaction cleanup just as they are at main transaction cleanup. Per bug #5556 by Robert Walker. Backpatch to 8.0, 7.4 didn't have subtransactions.
-
- 12 Jul, 2010 6 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
Erik Rijkers
-
Bruce Momjian authored
-
Tom Lane authored
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. ExecReScan's second parameter is now unused, so it's removed.
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 10 Jul, 2010 2 commits
-
-
Tom Lane authored
formatting conventions.
-
Robert Haas authored
Tim Landscheidt
-
- 09 Jul, 2010 6 commits
-
-
Tom Lane authored
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. Possibly we should refactor get_attstatsslot/free_attstatsslot to not expect the caller to supply type ID data at all, but for now I'll just do the minimum-change fix. Back-patch to 7.4. Bernd's test case only crashes back to 8.0, but since these subroutines are the same in 7.4, I suspect there may be variant cases that would crash 7.4 as well.
-
Tom Lane authored
resjunk outputs of subquery tlists, instead of throwing an error. Per bug #5548 from Daniel Grace. We might at some point find we ought to back-patch this further than 9.0, but I think that such Vars can only occur as resjunk members of upper-level tlists, in which case the problem can't arise because prior versions didn't print resjunk tlist items in EXPLAIN VERBOSE.
-
Bruce Momjian authored
copy mode, per report from depstein@alliedtesting.com. Patch suggestion from Magnus. Backpatch to 9.0.X.
-
Robert Haas authored
This hook allows a loadable module to gain control when table permissions are checked. It is expected to be used by an eventual SE-PostgreSQL implementation, but there are other possible applications as well. A sample contrib module can be found in the archives at: http://archives.postgresql.org/pgsql-hackers/2010-05/msg01095.php Robert Haas and Stephen Frost
-
Tom Lane authored
(And there was much rejoicing.)
-
Marc G. Fournier authored
tag beta3
-
- 08 Jul, 2010 12 commits
-
-
Bruce Momjian authored
-
Peter Eisentraut authored
- wrapped long code-lines, for pdf - typo Erik Rijkers
-
Peter Eisentraut authored
-
Tom Lane authored
(_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.)
-
Peter Eisentraut authored
-
Bruce Momjian authored
-
Tom Lane authored
documentation. Per suggestion from Marc Cousin.
-
Magnus Hagander authored
SIO_KEEPALIVE_VALS define instead of just WIN32, since MingW doesn't support this API (yet?).
-
Tom Lane authored
-
Tom Lane authored
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.
-
Magnus Hagander authored
libpq support.
-
Tom Lane authored
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. Back-patch to 7.4. Older versions didn't attempt to flatten sub-selects in ways that would trigger this problem.
-
- 07 Jul, 2010 2 commits
-
-
Tom Lane authored
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.
-
Bruce Momjian authored
caches, per June email thread.
-
- 06 Jul, 2010 5 commits
-
-
Robert Haas authored
Per extensive discussion on pgsql-hackers. We are deliberately not back-patching this even though the behavior of 8.3 and 8.4 is unquestionably broken, for fear of breaking existing users of this parameter. This incompatibility should be release-noted.
-
Tom Lane authored
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.
-
Peter Eisentraut authored
-
Robert Haas authored
MacOS X uses TCP_KEEPALIVE rather than TCP_KEEPIDLE for this purpose. Thanks to Fujii Masao for the review.
-
Tom Lane authored
-