- 18 Oct, 2002 7 commits
-
-
Peter Eisentraut authored
-
Tom Lane authored
been bit by the fact that the locale functions return pointers to modifiable variables. I added some comments that might help us avoid the mistake in future.
-
Tom Lane authored
instead of 'extern int errno'; the latter is unsafe according to the ANSI C standard, as well as in practice on some platforms.
-
Tom Lane authored
-
Bruce Momjian authored
-
Bruce Momjian authored
Create objects in public schema. Make spacing/capitalization consistent. Remove transaction block use for object creation. Remove unneeded function GRANTs.
-
Tom Lane authored
-
- 17 Oct, 2002 6 commits
-
-
Bruce Momjian authored
-
Barry Lind authored
Patch submitted by Kris Jurka (applied with some modifications) Modified Files: jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java
-
Tom Lane authored
-
Tom Lane authored
-
Barry Lind authored
jdbc regression tests pass for both autocommit on and autocommit off Modified Files: jdbc/org/postgresql/jdbc1/AbstractJdbc1Connection.java jdbc/org/postgresql/test/jdbc2/ConnectionTest.java
-
Bruce Momjian authored
> o Allow copy to understand \x as hex
-
- 16 Oct, 2002 6 commits
-
-
Peter Eisentraut authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
the start of the psql commandline. This is better than adding BEGIN/END because it handles multiple queries well, and allows the return code for psql to return the proper value.
-
Bruce Momjian authored
Code cleanup.
-
- 15 Oct, 2002 6 commits
-
-
Bruce Momjian authored
< * Rename oid2name to relfilenode2name and install by default < * Move /contrib/oid2name to /bin, rename to relfilenode2name
-
Bruce Momjian authored
> * Move /contrib/oid2name to /bin, rename to relfilenode2name
-
Tom Lane authored
-
Tom Lane authored
are still in use out there. Per report from Brendan LeFebvre.
-
Tom Lane authored
Behavior of backslash commands (especially for large objects) may still require some thought.
-
Tom Lane authored
In passing, fix breakage for case where PGCLIENTENCODING is set in environment.
-
- 14 Oct, 2002 15 commits
-
-
Tom Lane authored
command status at the interactive level. SPI_processed, etc are set in the same way as the returned command status would have been set if the same querystring were issued interactively. Per gripe from Michael Paesold 25-Sep-02.
-
Bruce Momjian authored
-
Tom Lane authored
as per recent pghackers discussions. initdb forced due to change in fields of stored Query nodes.
-
Tom Lane authored
-
Peter Eisentraut authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
clear on that point.
-
Tom Lane authored
query that uses it. This ensures that triggers will be applied consistently throughout a query even if someone commits changes to the relation's pg_class.reltriggers field meanwhile. Per crash report from Laurette Cisneros. While at it, simplify memory management in relcache.c, which no longer needs the old hack to try to keep trigger info in the same place over a relcache entry rebuild. (Should try to fix rd_att and rewrite-rule access similarly, someday.) And make RelationBuildTriggers simpler and more robust by making it build the trigdesc in working memory and then CopyTriggerDesc() into cache memory.
-
Bruce Momjian authored
- Wrap them in the <database class="table"> tags, since thats what they are (no markup rules for this, so it inherits from parent -- no style change) - Mention that pg_database, pg_shadow, and pg_group are global, and the rest are local to the specific DB. (I believe this is correct). > Works for me, though I suppose we could explain what the exceptions are > like in general terms. Perhaps something like > > 'Most system catalogs are copied from the template database during > database creation, and are thereafter database-specific. A few > catalogs are physically shared across all databases in an installation; > these are marked in the descriptions of the individual catalogs.' Ok, new patch. Rod Taylor
-
Bruce Momjian authored
contrib/dbmirror/README.dbmirror doc file. Neil Conway
-
Bruce Momjian authored
ANALYZE is not quite clear when branches of the query are never executed. So this tiny patch fixes that. The patch is attached and can also be found at: http://svana.org/kleptog/pgsql/pgsql-explain.patch Martijn van Oosterhout
-
Bruce Momjian authored
1) pltcl: Add SPI_freetuptable() calls to avoid memory leaks (Me + Neil Conway) Change sprintf()s to snprintf()s (Neil Conway) Remove header files included elsewhere (Neil Conway) 2)plpython: Add SPI_freetuptable() calls to avoid memory leaks Cosemtic change to remove a compiler warning Notes: I have tested pltcl.c for a) the original leak problem reported for the repeated call of spi_exec in a TCL fragment and b) the subsequent report resulting from the use of spi_exec -array in a TCL fragment. The plpython.c patch is exactly the same as that applied to make revision 1.23, the plpython_schema.sql and feature.expected sections of the patch are also the same as last submited, applied and subsequently reversed out. It remains untested by me (other than via make check). However, this should be safe provided PyString_FromString() _copies_ the given string to make a PyObject. Nigel J. Andrews
-
Bruce Momjian authored
-
Bruce Momjian authored
-