- 04 Oct, 2003 6 commits
-
-
Bruce Momjian authored
pointed out by Peter.
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Peter Eisentraut authored
-
Peter Eisentraut authored
-
Peter Eisentraut authored
-
- 03 Oct, 2003 7 commits
-
-
Peter Eisentraut authored
-
Tom Lane authored
failures in SQL functions, due to forward references or unqualified references to objects in other schemas. Per recent discussion.
-
Tom Lane authored
of function bodies is done at CREATE FUNCTION time. This is normally true but can be set false to avoid problems with forward references, wrong schema search path, etc. This is just the backend patch, still need to adjust pg_dump to make use of it.
-
Tom Lane authored
than generating an invalid output string. Per observation and patch from Igor Shevchenko. Further code cleanup and documentation by Tom Lane.
-
Tom Lane authored
Also remove -g, which has no business in CPPFLAGS in the first place, let alone being hardwired there by a sub-Makefile.
-
Michael Meskes authored
-
PostgreSQL Daemon authored
brand her beta4
-
- 02 Oct, 2003 9 commits
-
-
Tom Lane authored
to make them comparable to what UpdateStats does in the same situation. I'm not certain two instances of vac_update_relstats could run in parallel for the same relation, but parallel invocations of vac_update_dbstats do seem possible.
-
Tom Lane authored
in the schema search path. Otherwise pg_dump doesn't correctly dump scenarios where a custom opclass is created in 'public' and then used by indexes in other schemas.
-
Tom Lane authored
processing the request; this ensures that the request won't be taken to cancel a subsequently-issued query. Race condition originally noted by Oliver Jowett in the context of JDBC, but libpq has it too.
-
Tom Lane authored
-
Peter Eisentraut authored
from Patrick Welche
-
Peter Eisentraut authored
-
Peter Eisentraut authored
developed on -hackers.
-
Peter Eisentraut authored
longer conveys useful information.
-
Tom Lane authored
Lars Boegild Thomsen (full email below) and also corrects the regression expected output for a recent backend message adjustment. Please apply. Joe Conway
-
- 01 Oct, 2003 2 commits
-
-
Tom Lane authored
and try to coerce the values to boolean if not. Per recent discussions.
-
Tom Lane authored
discussion on pgsql-hackers: in READ COMMITTED mode we just have to force a QuerySnapshot update in the trigger, but in SERIALIZABLE mode we have to run the scan under a current snapshot and then complain if any rows would be updated/deleted that are not visible in the transaction snapshot.
-
- 30 Sep, 2003 4 commits
- 29 Sep, 2003 12 commits
-
-
Tom Lane authored
invalid (has the wrong magic number) until the build is entirely complete. This turns out to cost no additional writes in the normal case, since we were rewriting the metapage at the end of the process anyway. In normal scenarios there's no real gain in security, because a failed index build would roll back the transaction leaving an unused index file, but for rebuilding shared system indexes this seems to add some useful protection.
-
Bruce Momjian authored
-
Tom Lane authored
discussed on pghackers.
-
Bruce Momjian authored
-
Bruce Momjian authored
< o Fixed PL/Tcl's spi_prepare to accept full qualified type names in < the parameter type list
-
Bruce Momjian authored
Neil Conway
-
Bruce Momjian authored
> o Fixed PL/Tcl's spi_prepare to accept full qualified type names in > the parameter type list
-
Jan Wieck authored
type name specification. Jan
-
Bruce Momjian authored
Before patch: test=# select pg_get_constraintdef(oid) from pg_constraint; pg_get_constraintdef ------------------------------------------------------------------------------------------------- CHECK (VALUE >= 0) CHECK ((((a)::text = 'asdf'::text) OR ((a)::text = 'fdsa'::text)) OR ((a)::text = 'dfd'::text)) PRIMARY KEY (b) FOREIGN KEY (a) REFERENCES test2(b) UNIQUE (b) (5 rows) test=# select pg_get_constraintdef(oid, true) from pg_constraint; pg_get_constraintdef ----------------------------------------------------------------------------------- CHECK VALUE >= 0 CHECK a::text = 'asdf'::text OR a::text = 'fdsa'::text OR a::text = 'dfd'::text PRIMARY KEY (b) FOREIGN KEY (a) REFERENCES test2(b) UNIQUE (b) (5 rows) After patch: test=# select pg_get_constraintdef(oid) from pg_constraint; pg_get_constraintdef ------------------------------------------------------------------------------------------------- CHECK (VALUE >= 0) CHECK ((((a)::text = 'asdf'::text) OR ((a)::text = 'fdsa'::text)) OR ((a)::text = 'dfd'::text)) PRIMARY KEY (b) FOREIGN KEY (a) REFERENCES test2(b) UNIQUE (b) (5 rows) test=# select pg_get_constraintdef(oid, true) from pg_constraint; pg_get_constraintdef ----------------------------------------------------------------------------------- CHECK (VALUE >= 0) ` CHECK (a::text = 'asdf'::text OR a::text = 'fdsa'::text OR a::text = 'dfd'::text) PRIMARY KEY (b) FOREIGN KEY (a) REFERENCES test2(b) UNIQUE (b) (5 rows) It's important that those brackets are there to (a) match all other constraints and (b) so that people can just copy and paste them and it will work as SQL. Christopher Kings-Lynne
-
Bruce Momjian authored
areas are for the lifetime of the backend and in the interests of not breaking something that's not broken I left alone. Note for anyone reading this and wanting it for tsearch-v2-stable (i.e. for 7.3 backend) this patch probably will not apply cleanly to that source. It should be simple enough to see what's going on and apply the changes by hand if need be. -- Nigel J. Andrews
-
Bruce Momjian authored
this query?" logic in postgres.c Also, make it print "duration:" like log_duration. Neil Conway
-
Bruce Momjian authored
don't deal well with tuples having dropped columns. The attached fixes the issue. Please apply. Joe Conway
-