- 20 Apr, 2013 4 commits
-
-
Bruce Momjian authored
Forgotten in previous commit.
-
Bruce Momjian authored
No links added yet.
-
Peter Eisentraut authored
suggested by Jov
-
Peter Eisentraut authored
In most cases, these were just references to the SQL standard in general. In a few cases, a contrast was made between SQL92 and later standards -- those have been kept unchanged.
-
- 19 Apr, 2013 4 commits
-
-
Tom Lane authored
If an FDW fails to take special measures with a CurrentOfExpr, we will end up trying to execute it as an ordinary qual, which was being treated as a purely internal failure condition. Provide a more user-oriented error message for such cases.
-
Robert Haas authored
Fabrízio de Royes Mello
-
Peter Eisentraut authored
Only adjusted the user-exposed messages and documentation, not all source code comments.
-
- 17 Apr, 2013 4 commits
-
-
Bruce Momjian authored
We might eventually allow checksum to no-checksum upgrades.
-
Robert Haas authored
KaiGai Kohei
-
Robert Haas authored
KaiGai Kohei, based on a suggestion from Álvaro Herrera
-
Peter Eisentraut authored
The return type of PQgetssl() was changed from SSL* to void* a long time ago, but the documentation was not updated.
-
- 16 Apr, 2013 4 commits
-
-
Bruce Momjian authored
-
Heikki Linnakangas authored
This saves some memory from each index relcache entry. At least on a 64-bit machine, it saves just enough to shrink a typical relcache entry's memory usage from 2k to 1k. That's nice if you have a lot of backends and a lot of indexes.
-
Peter Eisentraut authored
When parse_hba_line's return type was changed from bool to a pointer, the MANDATORY_AUTH_ARG macro wasn't adjusted.
-
Andrew Dunstan authored
Per complaint from Hubert Depesz Lubaczewski. Catalog version bumped.
-
- 15 Apr, 2013 2 commits
-
-
Andrew Dunstan authored
Per gripe from Tom Lane.
-
Tom Lane authored
The initial coding just descended the index if any of the target trigrams were possibly present at the next level down. But actually we can apply trigramsMatchGraph() so as to take advantage of AND requirements when there are some. The input data might contain false positive matches, but that can only result in a false positive result, not false negative, so it's safe to do it this way. Alexander Korotkov
-
- 14 Apr, 2013 2 commits
-
-
Peter Eisentraut authored
-
Peter Eisentraut authored
This changes the behavior of the start and stop actions to exit successfully if the server was already started or stopped. This changes the default behavior of the start action: Before, if the server was already running, it would print a message and succeed. Now, that situation will result in an error. When running in idempotent mode, no message is printed and pg_ctl exits successfully. It was considered to just make the idempotent behavior the default and only option, but pg_upgrade needs the old behavior.
-
- 13 Apr, 2013 1 commit
-
-
Peter Eisentraut authored
The build of .pc (pkg-config) files depends on all makefiles in use, and in dependency tracking mode, the previous coding ended up including /dev/null as a makefile. Apparently, on some platforms the modification time of /dev/null changes sporadically, and so the .pc files would end up being rebuilt every so often. Fix that by changing the makefile code to do without using /dev/null.
-
- 12 Apr, 2013 6 commits
-
-
Tom Lane authored
Revert the matview-related changes in explain.c's API, as per recent complaint from Robert Haas. The reason for these appears to have been principally some ill-considered choices around having intorel_startup do what ought to be parse-time checking, plus a poor arrangement for passing it the view parsetree it needs to store into pg_rewrite when creating a materialized view. Do the latter by having parse analysis stick a copy into the IntoClause, instead of doing it at runtime. (On the whole, I seriously question the choice to represent CREATE MATERIALIZED VIEW as a variant of SELECT INTO/CREATE TABLE AS, because that means injecting even more complexity into what was already a horrid legacy kluge. However, I didn't go so far as to rethink that choice ... yet.) I also moved several error checks into matview parse analysis, and made the check for external Params in a matview more accurate. In passing, clean things up a bit more around interpretOidsOption(), and fix things so that we can use that to force no-oids for views, sequences, etc, thereby eliminating the need to cons up "oids = false" options when creating them. catversion bump due to change in IntoClause. (I wonder though if we really need readfuncs/outfuncs support for IntoClause anymore.)
-
Bruce Momjian authored
per suggestion from Gurjeet Singh
-
Bruce Momjian authored
Also fix accessing pgentab binary and tar. Gurjeet Singh
-
Robert Haas authored
To do this, we add an additional object access hook type, OAT_FUNCTION_EXECUTE. KaiGai Kohei
-
Robert Haas authored
KaiGai Kohei
-
Robert Haas authored
KaiGai Kohei, based on a suggestion from Álvaro Herrera
-
- 11 Apr, 2013 4 commits
-
-
Bruce Momjian authored
-
Alvaro Herrera authored
-
Alvaro Herrera authored
Per report by Will Leinweber and Peter Eisentraut
-
Peter Eisentraut authored
The old web site link no longer worked, and some information was outdated.
-
- 10 Apr, 2013 7 commits
-
-
Magnus Hagander authored
Remove references to "one click", as we're not supposed to call them that anymore.
-
Alvaro Herrera authored
Latch activity was not being detected by non-database-connected workers; the SIGUSR1 signal handler which is normally in charge of that was set to SIG_IGN. Create a simple handler to call latch_sigusr1_handler instead. Robert Haas (bug report and suggested fix)
-
Alvaro Herrera authored
Add a SignalUnconnectedWorkers() call so that non-database-connected background workers are also notified when postmaster is SIGHUPped. Previously, only database-connected workers were. Michael Paquier (bug report and fix)
-
Tom Lane authored
This wasn't addressed in the original patch, but it doesn't take very much additional code to cover the case, so let's get it done. Since pg_trgm 1.1 hasn't been released yet, I just changed the definition of what's in it, rather than inventing a 1.2.
-
Alvaro Herrera authored
Make use of some GUC variables, and add SIGHUP handling to reload the config file. Patch submitted by Guillaume Lelarge. Also, report to pg_stat_activity. Per report from Marc Cousin, add setting of statement start time.
-
Andrew Dunstan authored
Marti Raudsepp.
-
Robert Haas authored
Per a note from Dickson S. Guedes.
-
- 09 Apr, 2013 2 commits
-
-
Kevin Grittner authored
The intent was that being populated would, long term, be just one of the conditions which could affect whether a matview was scannable; being populated should be necessary but not always sufficient to scan the relation. Since only CREATE and REFRESH currently determine the scannability, names and comments accidentally conflated these concepts, leading to confusion. Also add missing locking for the SQL function which allows a test for scannability, and fix a modularity violatiion. Per complaints from Tom Lane, although its not clear that these will satisfy his concerns. Hopefully this will at least better frame the discussion.
-
Robert Haas authored
The materialized views patch adjusted ExplainOneQuery to take an additional DestReceiver argument, but failed to add a matching argument to the definition of ExplainOneQuery_hook. This is a problem for users of the hook that want to call ExplainOnePlan. Fix by adding the missing argument.
-