- Mar 20, 2012
-
-
Peter Eisentraut authored
-
- Mar 19, 2012
-
-
Bruce Momjian authored
the non-development install. Instead, use the LOAD mechanism to check for the pg_upgrade_support shared object, like we do for other shared object checks. Backpatch to 9.1. Report from Àlvaro
-
- Mar 17, 2012
-
-
Bruce Momjian authored
-
- Mar 16, 2012
-
-
Bruce Momjian authored
optimizer statistics so the cluster can be made available sooner.
-
- Mar 15, 2012
-
-
Robert Haas authored
This is intended as infrastructure to allow sepgsql to cooperate with connection pooling software, by allowing the effective security label to be set for each new connection. KaiGai Kohei, reviewed by Yeb Havinga.
-
Bruce Momjian authored
-
- Mar 13, 2012
-
-
Robert Haas authored
Jaime Casanova, reviewed by Noah Misch, slightly modified by me.
-
Robert Haas authored
Extracted from a larger patch by Jaime Casanova, reviewed by Noah Misch. I think this error message could use some more extensive revision, but this at least makes the handling of spgist consistent with what we do for other types of indexes that this code doesn't know how to handle.
-
Bruce Momjian authored
add ability to control permissions of created files have psql echo its queries for easier debugging output four separate log files, and delete them on success add -r/--retain option to keep log files after success make logs file append-only remove -g/-G/-l logging options sugggest tailing appropriate log file on failure enhance -v/--verbose behavior
-
- Mar 09, 2012
-
-
Robert Haas authored
KaiGai Kohei
-
Tom Lane authored
Further reflection shows that a single callback isn't very workable if we desire to let FDWs generate multiple Paths, because that forces the FDW to do all work necessary to generate a valid Plan node for each Path. Instead split the former PlanForeignScan API into three steps: GetForeignRelSize, GetForeignPaths, GetForeignPlan. We had already bit the bullet of breaking the 9.1 FDW API for 9.2, so this shouldn't cause very much additional pain, and it's substantially more flexible for complex FDWs. Add an fdw_private field to RelOptInfo so that the new functions can save state there rather than possibly having to recalculate information two or three times. In addition, we'd not thought through what would be needed to allow an FDW to set up subexpressions of its choice for runtime execution. We could treat ForeignScan.fdw_private as an executable expression but that seems likely to break existing FDWs unnecessarily (in particular, it would restrict the set of node types allowable in fdw_private to those supported by expression_tree_walker). Instead, invent a separate field fdw_exprs which will receive the postprocessing appropriate for expression trees. (One field is enough since it can be a list of expressions; also, we assume the corresponding expression state tree(s) will be held within fdw_state, so we don't need to add anything to ForeignScanState.) Per review of Hanada Shigeru's pgsql_fdw patch. We may need to tweak this further as we continue to work on that patch, but to me it feels a lot closer to being right now.
-
- Mar 08, 2012
-
-
Tom Lane authored
GetForeignColumnOptions provides some abstraction for accessing column-specific FDW options, on a par with the access functions that were already provided here for other FDW-related information. Adjust file_fdw.c to use GetForeignColumnOptions instead of equivalent hand-rolled code. In addition, add some SGML documentation for the functions exported by foreign.c that are meant for use by FDW authors. (This is the fdw_helper portion of the proposed pgsql_fdw patch.) Hanada Shigeru, reviewed by KaiGai Kohei
-
- Mar 06, 2012
-
-
Bruce Momjian authored
right after we restore the schema (a common failure point), and right before we do the link operation. Per suggesgtions from Robert and ^!C^!^@lvaro
-
- Mar 05, 2012
-
-
Tom Lane authored
The original API specification only allowed an FDW to create a single access path, which doesn't seem like a terribly good idea in hindsight. Instead, move the responsibility for building the Path node and calling add_path() into the FDW's PlanForeignScan function. Now, it can do that more than once if appropriate. There is no longer any need for the transient FdwPlan struct, so get rid of that. Etsuro Fujita, Shigeru Hanada, Tom Lane
-
- Feb 28, 2012
-
-
Peter Eisentraut authored
This only produces warnings under -Wcast-qual, but it's more correct and consistent in any case.
-
- Feb 23, 2012
-
-
Robert Haas authored
Since the current version is 1.1, the 1.0 file isn't really needed. We do need the 1.0--1.1 upgrade file, so people on 1.0 can upgrade. Per recent discussion on pgsql-hackers.
-
Robert Haas authored
Also expose the new counters through pg_stat_statements. Patch by me. Review by Fujii Masao and Greg Smith.
-
Bruce Momjian authored
-l, --logfile=FILENAME log internal activity to file\n\
-
- Feb 17, 2012
-
-
Tom Lane authored
The array intersection code would give wrong results if the first entry of the correct output array would be "1". (I think only this value could be at risk, since the previous word would always be a lower-bound entry with that fixed value.) Problem spotted by Julien Rouhaud, initial patch by Guillaume Lelarge, cosmetic improvements by me.
-
- Feb 15, 2012
-
-
Bruce Momjian authored
Idea from Peter.
-
Robert Haas authored
This is some preliminary refactoring related to a pending patch to allow sepgsql-enable sessions to make dynamic label transitions. But this commit doesn't involve any functional change: it just puts some bits of code in more logical places. KaiGai Kohei
-
Bruce Momjian authored
comments about the alarm method used on Win32.
-
Bruce Momjian authored
thread.
-
- Feb 14, 2012
-
-
Tom Lane authored
The hstore and json datatypes both have record-conversion functions that pay attention to column names in the composite values they're handed. We used to not worry about inserting correct field names into tuple descriptors generated at runtime, but given these examples it seems useful to do so. Observe the nicer-looking results in the regression tests whose results changed. catversion bump because there is a subtle change in requirements for stored rule parsetrees: RowExprs from ROW() constructs now have to include field names. Andrew Dunstan and Tom Lane
-
Bruce Momjian authored
test, rather than a number of test cycles. Changes -o/cycles option to -s/seconds.
-
Bruce Momjian authored
-
- Feb 13, 2012
-
-
Andrew Dunstan authored
Problem reported by Peter Eisentraut. Backpatched to release 9.0.
-
- Feb 07, 2012
-
-
Robert Haas authored
Sometimes it may be useful to get actual row counts out of EXPLAIN (ANALYZE) without paying the cost of timing every node entry/exit. With this patch, you can say EXPLAIN (ANALYZE, TIMING OFF) to get that. Tomas Vondra, reviewed by Eric Theise, with minor doc changes by me.
-
- Feb 01, 2012
-
-
Alvaro Herrera authored
In dry-run mode, just the name of the file to be removed is printed to stdout; this is so the user can easily plug it into another program through a pipe. If debug mode is also specified, a more verbose message is printed to stderr. Author: Gabriele Bartolini Reviewer: Josh Kupershmidt
-
- Jan 28, 2012
-
-
Tom Lane authored
Due to oversights, the encrypt_iv() and decrypt_iv() functions failed to report certain types of invalid-input errors, and would instead return random garbage values. Marko Kreen, per report from Stefan Kaltenbrunner
-
- Jan 27, 2012
-
-
Bruce Momjian authored
-
- Jan 25, 2012
-
-
Bruce Momjian authored
have pg_upgrade allocate a maximum fixed size buffer for testing the library file name, rather than base the allocation on the library name. Backpatch to 9.1.
-
Bruce Momjian authored
-
Bruce Momjian authored
"plpython2" when upgrading from pre-PG 9.1. Patch to head and 9.1. Per report from Peter.
-
Bruce Momjian authored
check cluster version numbers, and fix missing table alias.
-
- Jan 20, 2012
-
-
Robert Haas authored
Kevin Grittner, reviewed (in earlier versions) by Álvaro Herrera
-
- Jan 19, 2012
-
-
Bruce Momjian authored
-
- Jan 15, 2012
-
-
Peter Eisentraut authored
The function in question does not in fact ensure that the passed argument is not changed, and the callers don't care much either.
-
- Jan 10, 2012
-
-
Tom Lane authored
The original coding examined the next character before verifying that there *is* a next character. In the worst case with the input buffer right up against the end of memory, this would result in a segfault. Problem spotted by Paul Guyot; this commit extends his patch to fix an additional case. In addition, make the code a tad more readable by not overloading the usage of *tlen.
-
- Jan 02, 2012
-
-
Bruce Momjian authored
-