- 26 Aug, 2002 2 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 25 Aug, 2002 6 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
> * Make error messages more consistent [error]
-
Tom Lane authored
width types and varlena types, since with the introduction of CSTRING as a more-or-less-real type, these concepts aren't identical. I've tried to use varlena consistently to denote datatypes with typlen = -1, ie, they have a length word and are potentially TOASTable; while the term variable width covers both varlena and cstring (and, perhaps, someday other types with other rules for computing the actual width). No code changes in this commit except for renaming a couple macros.
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 24 Aug, 2002 2 commits
-
-
Tom Lane authored
value '-2' is used to indicate a variable-width type whose width is computed as strlen(datum)+1. Everything that looks at typlen is updated except for array support, which Joe Conway is working on; at the moment it wouldn't work to try to create an array of cstring.
-
Bruce Momjian authored
> * -SELECT cash_out(2) crashes because of opaque
-
- 23 Aug, 2002 14 commits
-
-
Barry Lind authored
the server. Previously we allocated a new String object for the entire final query we were sending to the database. If you had a big query, or especially if you had large bind values you ended up with essentially two copies in memory. This change will reuse the existing objects and therefore should take 1/2 the memory it does today for a given query. This restructuring will also allow in the future the ability to stream bytea data to the server instead of the current approach of pulling it all into memory. I also fixed a test that was failing on a 7.2 database. Also renamed some internal variables and some minor cleanup. Modified Files: jdbc/org/postgresql/core/QueryExecutor.java jdbc/org/postgresql/jdbc1/AbstractJdbc1Connection.java jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java jdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java jdbc/org/postgresql/test/jdbc2/DatabaseMetaDataTest.java
-
Tom Lane authored
the declarations of some index access method support functions. Support SQL functions returning VOID.
-
Tatsuo Ishii authored
-
Bruce Momjian authored
instance in which the docs mention that 'NAMEDATALEN == 32". Neil Conway
-
Bruce Momjian authored
-
Bruce Momjian authored
> * Allow xlog directory location to be specified during initdb, perhaps > using symlinks
-
Bruce Momjian authored
Teodor Sigaev
-
Bruce Momjian authored
settings of NAMEDATALEN. I looked through the docs for other references to NAMEDATALEN, but this is the only one I could find. Neil Conway
-
Bruce Momjian authored
-
Bruce Momjian authored
> * Add GUC parameter to print queries that generate errors
-
Tom Lane authored
-
Tom Lane authored
-
Tom Lane authored
docs and find the other obsolete statements that no doubt lurk.
-
Tom Lane authored
-
- 22 Aug, 2002 16 commits
-
-
Tom Lane authored
for a good long while, I see no reason to maintain this original copy.
-
Tom Lane authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Marc G. Fournier authored
Remove all traces of the ODBC driver, which is now on GBorg as the psqlodbc project ...
-
Tom Lane authored
-
Tom Lane authored
addition of a column list clause to the COPY command. Spotted by Martin Renters.
-
Bruce Momjian authored
-
Tom Lane authored
tighten foreign-key check (a self-reference should not prevent TRUNCATE), improve error message, cause a relation's TOAST table to be truncated along with the relation.
-
Bruce Momjian authored
-
Bruce Momjian authored
>>" It's also possible to select no escape character by writing ESCAPE ''. >>In this case there is no way to turn off the special meaning of >>underscore and percent signs in the pattern." Joe Conway
-
Bruce Momjian authored
for repeat(). Again, somewhat off-the-cuff, so I might have missed something... test=# select lpad('xxxxx',1431655765,'yyyyyyyyyyyyyyyy'); ERROR: Requested length too large test=# select rpad('xxxxx',1431655765,'yyyyyyyyyyyyyyyy'); ERROR: Requested length too large (That's on a Unicode DB, haven't tested other encodings but AFAICT this fix should still work.) Neil Conway
-
Bruce Momjian authored
> Neil Conway <neilc@samurai.com> writes: > > + /* Check for integer overflow */ > > + if (tlen / slen != count) > > + elog(ERROR, "Requested buffer is too large."); > > What about slen == 0? Good point -- that wouldn't cause incorrect results or a security problem, but it would reject input that we should really accept. Revised patch is attached. Neil Conway
-
Bruce Momjian authored
> > is a patch to add some cross-referencing. Oliver Elphick
-
Bruce Momjian authored
constraints The issue with finding and removing foreign key constraints is no longer an issue, so please apply the attached. It does NOT check for rules or on delete triggers (old style foreign keys) as those are difficult to deal with (remove, truncate, re-add). Rod Taylor
-
Bruce Momjian authored
> * Allow bytea to handle LIKE with non-TEXT patterns
-