- 25 Nov, 2002 2 commits
-
-
D'Arcy J.M. Cain authored
used for the primary key lookup. This will prevent a database lookup for each connection object that gets created. This could be a significant optimization on a busy system. Similarly, the get_attnames method allows for the attributes dictionary to be installed directly.
-
D'Arcy J.M. Cain authored
debug output is managed. The user can continue to use the current method of passing a formatting string to have a replacement done and output will be sent to the standard output exactly as it did before. In addition they can set it to a file object, sys.stderr for example, and the query string will be printed to it. Thay can also set it to a method (function) and the query string will be passed to that method giving them the maximum flexibility to do whatever they want with the query string. I will be working with the PyGreSQL documentation shortly and at that time will properly document this feature.
-
- 24 Nov, 2002 3 commits
-
-
Tom Lane authored
joinclauses is determined accurately for each join. Formerly, the code only considered joinclauses that used all of the rels from the outer side of the join; thus for example FROM (a CROSS JOIN b) JOIN c ON (c.f1 = a.x AND c.f2 = b.y) could not exploit a two-column index on c(f1,f2), since neither of the qual clauses would be in the joininfo list it looked in. The new code does this correctly, and also is able to eliminate redundant clauses, thus fixing the problem noted 24-Oct-02 by Hans-Jürgen Schönig.
-
Bruce Momjian authored
is just FOR EACH STATEMENT triggers, AFAICS); this patch updates the SQL conformance docs to note that. Neil Conway
-
Bruce Momjian authored
> * -Support statement-level triggers (Neil) > * Support triggers on columns (Neil)
-
- 23 Nov, 2002 14 commits
-
-
Tom Lane authored
-
Tom Lane authored
-
Tom Lane authored
-
Bruce Momjian authored
-
Bruce Momjian authored
doesn't already exist using an installed copy of perl. I've tested it using perl v5.6.1 from ActiveState and all appears to work. Al Sutton
-
Bruce Momjian authored
Rod Taylor
-
Bruce Momjian authored
"version()", not "version". Neil Conway
-
Bruce Momjian authored
-hackers a couple days ago. Notes/caveats: - added regression tests for the new functionality, all regression tests pass on my machine - added pg_dump support - updated PL/PgSQL to support per-statement triggers; didn't look at the other procedural languages. - there's (even) more code duplication in trigger.c than there was previously. Any suggestions on how to refactor the ExecXXXTriggers() functions to reuse more code would be welcome -- I took a brief look at it, but couldn't see an easy way to do it (there are several subtly-different versions of the code in question) - updated the documentation. I also took the liberty of removing a big chunk of duplicated syntax documentation in the Programmer's Guide on triggers, and moving that information to the CREATE TRIGGER reference page. - I also included some spelling fixes and similar small cleanups I noticed while making the changes. If you'd like me to split those into a separate patch, let me know. Neil Conway
-
Bruce Momjian authored
> * -Support statement-level triggers and triggers on columns (Neil)
-
Bruce Momjian authored
matching create cast command. The attached diff adds a create cast as assignment to cube.sql.in . Bruno Wolff III
-
Tom Lane authored
-
Bruce Momjian authored
with regard to the extra_float_digits setting. Since builtins.h was already included, I just deleted the extern statement (and accompaning comments). Bruno Wolff III
-
Tom Lane authored
-
Tom Lane authored
regression test to avoid using VALUE as a name. From Joe Conway.
-
- 22 Nov, 2002 5 commits
-
-
Tom Lane authored
one more row from the subplan than the COUNT would appear to require. This costs a little more logic but a number of people have complained about the old implementation.
-
Tom Lane authored
as elog format strings. Hai-Chen Tu pointed out the problem in contrib/dbmirror, but it wasn't the only such error.
-
Bruce Momjian authored
Hai-Chen Tu
-
Tom Lane authored
Christopher Kings-Lynne.
-
Tom Lane authored
(64-bit). Fix it. Per report from Permaine Cheung.
-
- 21 Nov, 2002 10 commits
-
-
Peter Eisentraut authored
-
Peter Eisentraut authored
-
Tom Lane authored
results due to doing arithmetic on uninitialized values. Add some documentation about the AT TIME ZONE construct. Update some other date/time documentation that seemed out of date for 7.3.
-
Tom Lane authored
ordering of GROUP BY output due to hash-based aggregation.
-
Bruce Momjian authored
> * Have sequence dependency track use of DEFAULT sequences, seqname.nextval
-
Bruce Momjian authored
-
Tom Lane authored
database access outside a transaction; revert bogus performance improvement in SIBackendInit(); improve comments; add documentation (this part courtesy Neil Conway).
-
Tom Lane authored
comparison file, instead of geometry-positive-zeros. Per report from Patrick Welche.
-
Bruce Momjian authored
> * -Add hash for evaluating GROUP BY aggregates (Tom)
-
Tom Lane authored
parameter to allow it to be forced off for comparison purposes. Add ORDER BY clauses to a bunch of regression test queries that will otherwise produce randomly-ordered output in the new regime.
-
- 20 Nov, 2002 3 commits
-
-
Bruce Momjian authored
-
Barry Lind authored
jdbc3 metadata responses Modified Files: jdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java jdbc/org/postgresql/jdbc3/AbstractJdbc3DatabaseMetaData.java
-
Barry Lind authored
on a preparedStatement would reset the prepared statment causing subsequent uses of the preparedStatement to fail (i.e. the following series of calls would fail: addBatch() executeBatch() addBatch() executBatch()). This is a regression from 7.2 where this worked correctly. The regression test has also been modified to explicitly test for this case. Modified Files: jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java jdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java jdbc/org/postgresql/test/jdbc2/BatchExecuteTest.java
-
- 19 Nov, 2002 3 commits
-
-
Tom Lane authored
of groups produced by GROUP BY. This improves the accuracy of planning estimates for grouped subselects, and is needed to check whether a hashed aggregation plan risks memory overflow.
-
Bruce Momjian authored
> * Allow savepoints / nested transactions [transactions] (Bruce)
-
Bruce Momjian authored
-