- 23 Sep, 2003 7 commits
-
-
Tom Lane authored
-
Tom Lane authored
since 7.3: 'select array_dims(histogram_bounds) from pg_stats' used to work and still should. Problem was that code wouldn't take input of declared type anyarray as matching an anyarray argument. Allow this case as long as we don't need to determine an element type (which in practice means as long as anyelement isn't used in the function signature).
-
Tom Lane authored
_SPI_begin_call. Per gripe from Tomasz Myrta.
-
Michael Meskes authored
-
Barry Lind authored
was a partial hour and less than gmt (i.e. -02:30) the code would corrupt the minutes part. Modified Files: jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java
-
Barry Lind authored
Modified Files: ResultSetTest.java
-
Hiroshi Inoue authored
ALso put back a #ifndef ENABLE_REINDEX_NAILED_RELATIONS which was removed about a year ago.
-
- 22 Sep, 2003 8 commits
-
-
Teodor Sigaev authored
The 'word' variable there is initialised from the prs->words array, but immediately after, that array may be reallocated, thus leaving word pointing to unallocated memory.
-
Michael Meskes authored
- Fixed some minor things in test cases. - Use defines for Informix error codes.
-
Barry Lind authored
currently commented out, pending fixes for the bugs these tests uncovered. Modified Files: jdbc/org/postgresql/test/jdbc2/Jdbc2TestSuite.java jdbc/org/postgresql/test/jdbc2/ServerPreparedStmtTest.java Added Files: jdbc/org/postgresql/test/jdbc2/CursorFetchTest.java
-
Barry Lind authored
as some additional regression tests for this an other recent changes. Modified Files: jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java jdbc/org/postgresql/test/jdbc2/DateTest.java jdbc/org/postgresql/test/jdbc2/ResultSetTest.java jdbc/org/postgresql/test/jdbc2/TimeTest.java jdbc/org/postgresql/test/jdbc2/TimestampTest.java
-
Tom Lane authored
difference between INSERT_IN_PROGRESS and DELETE_IN_PROGRESS for tuples inserted and then deleted by a concurrent transaction. Example of bug: regression=# create table foo (f1 int); CREATE TABLE regression=# begin; BEGIN regression=# insert into foo values(1); INSERT 195531 1 regression=# delete from foo; DELETE 1 regression=# insert into foo values(1); INSERT 195532 1 regression=# create unique index fooi on foo(f1); ERROR: could not create unique index DETAIL: Table contains duplicated values.
-
Peter Eisentraut authored
-
Peter Eisentraut authored
-
Peter Eisentraut authored
-
- 21 Sep, 2003 2 commits
-
-
Tom Lane authored
not just MAXALIGN boundaries. This makes a noticeable difference in the speed of transfers to and from kernel space, at least on recent Pentiums, and might help other CPUs too. We should look at making this happen for local buffers and buffile.c too. Patch from Manfred Spraul.
-
Tom Lane authored
-
- 20 Sep, 2003 5 commits
-
-
Tom Lane authored
Per past complaints --- verified to still be a problem on OS X 10.2.6.
-
Tom Lane authored
puts that before the .c file name.
-
Tom Lane authored
-
Michael Meskes authored
-
Michael Meskes authored
- Added protecting defines to include files.
-
- 19 Sep, 2003 7 commits
-
-
Tom Lane authored
(as distinct from their underlying indexes). Per bug report from Hiroshi Saito.
-
Tom Lane authored
-
Tom Lane authored
Per recent discussion, this does not work because other backends can't reliably see tuples in a temp table and so cannot run the RI checks correctly. Seems better to disallow this case than go back to accessing temp tables through shared buffers. Also, disallow FK references to ON COMMIT DELETE ROWS tables. We already caught this problem for normal TRUNCATE, but the path used by ON COMMIT didn't check.
-
Tom Lane authored
(it rejects some system header files...). Use -no-cpp-precomp instead. I think it is okay to change this unconditionally, but if we hear complaints from people still using very old compilers on Darwin, we could put in a test to see which switch the compiler likes.
-
Tom Lane authored
reindexing system tables without ignoring system indexes, when the other two varieties of REINDEX disallow it. Make all three act the same, and simplify downstream code accordingly.
-
Michael Meskes authored
-
Michael Meskes authored
-
- 18 Sep, 2003 5 commits
-
-
Tom Lane authored
signal handling.
-
Michael Meskes authored
- Synced parser. - Allowed C variables to carry the name of prepared statements. - Added Informix handling of datatype converion errors.
-
Barry Lind authored
type was being reported for PREPAREs. Modified Files: jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java jdbc/org/postgresql/test/jdbc2/ServerPreparedStmtTest.java
-
Barry Lind authored
Modified Files: jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java
-
Barry Lind authored
Modified Files: jdbc/org/postgresql/test/jdbc2/DatabaseMetaDataPropertiesTest.java
-
- 17 Sep, 2003 6 commits
-
-
Tom Lane authored
child tables --- all cases that will trip various sanity checks elsewhere in the system, as well as cases that should not occur in the only intended use of this feature, namely coping with ancient pg_dump representation of views. Per bug report from Chris Pizzi.
-
Barry Lind authored
Applied patch to jdbc from Kim Ho at RedHat, fixing improper handling of empty queries under the V3 protocol Modified Files: jdbc/org/postgresql/core/QueryExecutor.java
-
Barry Lind authored
Modified Files: jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java
-
Barry Lind authored
Modified Files: jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java
-
Barry Lind authored
that would not get correctly looked up in the translation files for jdbc Modified Files: jdbc/org/postgresql/errors.properties jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java
-
Barry Lind authored
in the jdbc driver Modified Files: jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java jdbc/org/postgresql/jdbc3/AbstractJdbc3Statement.java
-