summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2002-04-02Removed obsolete DROP_COLUMN_HACK stuff.Hiroshi Inoue
2002-04-02Tweak SERIAL column creation to emit a fully qualified sequence nameTom Lane
as argument for nextval().
2002-04-02Removed error message that was incorectly being issued. This fixes a ↵Barry Lind
problem reported a few months ago where a select in a rule was causing an insert statement to return a result set which the code was explicitly prohibiting.
2002-04-02Fix CLOG truncation code to not do the Wrong Thing when there are alreadyTom Lane
wrapped-around databases. The unvacuumed databases might be fine, or they might not, but things will definitely not be fine if we remove the wrong CLOG segments. Per trouble report from Gary Wolfe, 1-Apr-2002.
2002-04-02Make VACUUM handle schema-qualified relation names properly.Tom Lane
2002-04-01Add tgconstrrelid to stored Trigger structures, make RI trigger functionsTom Lane
depend on this rather than the trigger argument strings to locate the other relation to test. This makes RI triggers function properly in the presence of schemas and temp tables. Along the way, fix bogus lack of locking in RI triggers, handle quoting of names fully correctly, compute required sizes of query buffers with some semblance of accuracy.
2002-04-01Attached is a patch which adds 2 missing semi-colons toBruce Momjian
bootstrap/bootparse.y, so that recent versions of bison don't emit a warning. Neil Conway
2002-04-01ALTER TABLE SET/DROP NOT NULL, from Christopher Kings-Lynne.Tom Lane
2002-04-01Create a new GUC variable search_path to control the namespace searchTom Lane
path. The default behavior if no per-user schemas are created is that all users share a 'public' namespace, thus providing behavior backwards compatible with 7.2 and earlier releases. Probably the semantics and default setting will need to be fine-tuned, but this is a start.
2002-04-011) Add rollback functionality to updatable cursors.Hiroshi Inoue
2) Implement some options for SQLGetDescField(). 3) Handle *Inifinity* timestamp for SQL_C_CHAR type output. 4) Separate Unicode conversions from common implementations. 5) Improve internal parse_statement() function.
2002-04-01Temporary kluge to let RI triggers work on tables outside the systemTom Lane
catalog namespace. This will not do as a production solution because the interpretation of RI trigger arguments will vary depending on the current namespace search path. I'm just putting it in so that the RI regression tests don't fail while schema development proceeds. We must find a better answer before 7.3 can be released.
2002-03-31Make renamerel take an OID, not a RangeVar, to identify the relationTom Lane
to rename. Avoids some corner-case bugs in cluster.c, improves consistency with renameatt.
2002-03-31Reimplement temp tables using schemas. The temp table map is history;Tom Lane
temp table entries in pg_class have the names the user would expect.
2002-03-30Further cleanups for relations in schemas: teach nextval and otherTom Lane
sequence functions how to cope with qualified names. Same code is also used for int4notin, currtid_byrelname, pgstattuple. Also, move TOAST tables into special pg_toast namespace.
2002-03-29Mop-up some infelicities in new relation lookup handling.Tom Lane
2002-03-29pg_type has a typnamespace column; system now supports creating typesTom Lane
in different namespaces. Also, cleanup work on relation namespace support: drop, alter, rename commands work for tables in non-default namespaces.
2002-03-29Upgrade to Autoconf version 2.53. Replaced many custom macroPeter Eisentraut
calls with new or now-built-in versions. Make sure that all calls to AC_DEFINE have a third argument, for possible use of autoheader in the future.
2002-03-29Fix ODBC warnings about missing parens and pg_ismb not used (addedBruce Momjian
#ifdef NOT_USED).
2002-03-29Fox for old python PyMem_DEL, was PyMem_Del,Bruce Momjian
2002-03-29Fix '#' commant to be proper C comment.Bruce Momjian
2002-03-28[2002-03-28]Hiroshi Inoue
1) Prepare to separate 4 kinds of Descriptor handles. 2) Detect the transaction status more naturally. 3) Improve Parse Statement functionality for the use of updatable cursors. 4) Improve updatable cursors. 5) Implement SQLGetDescField() and improve SQLColAttribute(). 6) etc.
2002-03-27Reset parenthesis level counter upon \r.Peter Eisentraut
2002-03-27applied patch from Liam Stewart fixing a message in the properties fileBarry Lind
also fixed a NPE when calling the next() method on a result set after the connection or resultset has been closed. (bug reported by Hans Deragon)
2002-03-26pg_class has a relnamespace column. You can create and access tablesTom Lane
in schemas other than the system namespace; however, there's no search path yet, and not all operations work yet on tables outside the system namespace.
2002-03-26applied patch submitted by Florian (mailing-list@urbanet.ch) for BigDecimal ↵Barry Lind
support
2002-03-26Changed QueryExecutor.java to correctly read responses from the backend.Barry Lind
Fixed NPE when database name was not passed on the jdbc connection URL Fixed Connection.isClosed() to not hit the DB for every call
2002-03-26Update release list.Bruce Momjian
2002-03-26Update sgml version properly.Bruce Momjian
2002-03-26Further changes following discussion on INTERFACES mailing list:D'Arcy J.M. Cain
- Use PyObject_Del() rather than macro version - Check version and drop back to PyMem_Del() for older systems.
2002-03-25Re-allow CREATE AS (but not SELECT INTO) in EXECUTE.Tom Lane
2002-03-25Fix for ODBC compile warnings.Bruce Momjian
2002-03-24Indenting #if commands is not portable, is it?Tom Lane
2002-03-24Tweak labeling of plan qual conditions for more consistency.Tom Lane
2002-03-24EXPLAIN output now comes out as a query result, not a NOTICE message.Tom Lane
Also, fix debug logging of parse/plan trees so that the messages actually go through elog(), not directly to stdout.
2002-03-22Create the pg_namespace system catalog. Doesn't do much yet, but it'sTom Lane
there and CREATE SCHEMA will make entries in it...
2002-03-22Improve catalog commentary.Tom Lane
2002-03-22A little further progress on schemas: push down RangeVars intoTom Lane
addRangeTableEntry calls. Remove relname field from RTEs, since it will no longer be a useful unique identifier of relations; we want to encourage people to rely on the relation OID instead. Further work on dumping qual expressions in EXPLAIN, too.
2002-03-21Change the aclchk.c routines to uniformly use OIDs to identify theTom Lane
objects to be privilege-checked. Some change in their APIs would be necessary no matter what in the schema environment, and simply getting rid of the name-based interface entirely seems like the best way.
2002-03-21Fix minor syntax error.Tom Lane
2002-03-21First phase of SCHEMA changes, concentrating on fixing the grammar andTom Lane
the parsetree representation. As yet we don't *do* anything with schema names, just drop 'em on the floor; but you can enter schema-compatible command syntax, and there's even a primitive CREATE SCHEMA command. No doc updates yet, except to note that you can now extract a field from a function-returning-row's result with (foo(...)).fieldname.
2002-03-21Remove -mips2 flag, which breaks the build on some MIPS systems.Peter Eisentraut
Report from Ryan Murray via Debian
2002-03-21Added typedef patches and a new option '-c' to automatically create C ↵Michael Meskes
typedefs from SQL ones.
2002-03-21Remove long-dead 'fix for SELECT NULL' to stop current coredump.Tom Lane
2002-03-21Fix pg_dump help option alignment.Bruce Momjian
2002-03-21Two versions of QueryExecutor, currently only version 2 works 100%Dave Cramer
these versions adhere to the backend protocol better than previous version fixes problem when an error occurs on the backend, and the connection is still used previous versions were throwing an exception half way through the protocol, leaving it indeterminate. also removes empty query code, should speed things up a bit
2002-03-21modifications to the way the protocol is handled to be consistent withDave Cramer
QueryExecutor. This includes: 1) only exit after we receive a 'Z' packet 2) append error messages to a buffer and throw the exception at the end
2002-03-21Part of Anders Bengtsson's patch to clean up Connection.javaDave Cramer
2002-03-21Applied Anders patch to move the startup code out of Connection into ↵Dave Cramer
StartupPacket * Introduces a new class, StartupPacket. * Moves a lot of constants from Connection to StartupPacket. * Makes two instance variables in Connection into locals.
2002-03-20Just one more test case.Michael Meskes
2002-03-20Code review for DOMAIN patch.Tom Lane