- Oct 12, 2011
-
-
Tom Lane authored
We have seen one too many reports of people trying to use 9.1 extension files in the old-fashioned way of sourcing them in psql. Not only does that usually not work (due to failure to substitute for MODULE_PATHNAME and/or @extschema@), but if it did work they'd get a collection of loose objects not an extension. To prevent this, insert an \echo ... \quit line that prints a suitable error message into each extension script file, and teach commands/extension.c to ignore lines starting with \echo. That should not only prevent any adverse consequences of loading a script file the wrong way, but make it crystal clear to users that they need to do it differently now. Tom Lane, following an idea of Andrew Dunstan's. Back-patch into 9.1 ... there is not going to be much value in this if we wait till 9.2.
-
- Sep 01, 2011
-
-
Bruce Momjian authored
-
- Feb 14, 2011
-
-
Tom Lane authored
It was never terribly consistent to use OR REPLACE (because of the lack of comparable functionality for data types, operators, etc), and experimentation shows that it's now positively pernicious in the extension world. We really want a failure to occur if there are any conflicts, else it's unclear what the extension-ownership state of the conflicted object ought to be. Most of the time, CREATE EXTENSION will fail anyway because of conflicts on other object types, but an extension defining only functions can succeed, with bad results.
-
Tom Lane authored
This isn't fully tested as yet, in particular I'm not sure that the "foo--unpackaged--1.0.sql" scripts are OK. But it's time to get some buildfarm cycles on it. sepgsql is not converted to an extension, mainly because it seems to require a very nonstandard installation process. Dimitri Fontaine and Tom Lane
-
- Nov 23, 2010
-
-
Peter Eisentraut authored
-
- Sep 22, 2010
-
-
Magnus Hagander authored
-
- Sep 20, 2010
-
-
Magnus Hagander authored
-
- Jun 11, 2009
-
-
Bruce Momjian authored
provided by Andrew.
-
- Aug 14, 2008
-
-
Heikki Linnakangas authored
pointed out.
-
- Nov 15, 2007
-
-
Bruce Momjian authored
-
- Nov 13, 2007
-
-
Bruce Momjian authored
-
- Nov 11, 2007
-
-
Bruce Momjian authored
remove transactions use create or replace function make formatting consistent set search patch on first line Add documentation on modifying *.sql to set the search patch, and mention that major upgrades should still run the installation scripts. Some of these issues were spotted by Tom today.
-
Bruce Momjian authored
-
Bruce Momjian authored
or will never be converted.
-
- Jul 16, 2007
-
-
Tom Lane authored
and add a note about why. This is not tremendously important right now, probably, but it will get more urgent if NUM_BUFFER_PARTITIONS is increased as much as proposed.
-
- Jun 27, 2007
-
-
Tom Lane authored
installations whose pg_config program does not appear first in the PATH. Per gripe from Eddie Stanley and subsequent discussions with Fabien Coelho and others.
-
- Apr 07, 2007
-
-
Bruce Momjian authored
contrib/pgbuffercache. Greg Smith
-
- Oct 22, 2006
-
-
Tom Lane authored
-
- Oct 19, 2006
-
-
Tom Lane authored
from Magnus that MSVC complains about this.
-
- Oct 04, 2006
-
-
Bruce Momjian authored
-
- Jul 23, 2006
-
-
Tom Lane authored
partitions, as per discussion. Passes functionality checks, but I don't have any performance data yet.
-
- May 31, 2006
-
-
Tom Lane authored
in every shared library.
-
- Apr 27, 2006
-
-
Bruce Momjian authored
improve examples. Mark Kirkwood
-
- Feb 27, 2006
-
-
Peter Eisentraut authored
particular get rid of single quotes around language names and old WITH () construct.
-
Peter Eisentraut authored
by David Fetter
-
- Oct 15, 2005
-
-
Bruce Momjian authored
-
- Oct 12, 2005
-
-
Tom Lane authored
pointers, to ensure that compilers won't rearrange accesses to occur while we're not holding the buffer header spinlock. It's probably not necessary to mark volatile in every single place in bufmgr.c, but better safe than sorry. Per trouble report from Kevin Grittner.
-
- Sep 27, 2005
-
-
Tom Lane authored
to avoid useless multiple executions of pg_config.
-
- May 31, 2005
-
-
Tom Lane authored
for efficiency's sake. Mark Kirkwood.
-
- Apr 01, 2005
-
-
Neil Conway authored
-
- Mar 31, 2005
-
-
Neil Conway authored
Mark Kirkwood.
-
- Mar 12, 2005
-
-
Neil Conway authored
-