aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* pg_class has a relnamespace column. You can create and access tablesTom Lane2002-03-26
| | | | | | 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.
* applied patch submitted by Florian (mailing-list@urbanet.ch) for BigDecimal ↵Barry Lind2002-03-26
| | | | support
* Changed QueryExecutor.java to correctly read responses from the backend.Barry Lind2002-03-26
| | | | | Fixed NPE when database name was not passed on the jdbc connection URL Fixed Connection.isClosed() to not hit the DB for every call
* Update release list.Bruce Momjian2002-03-26
|
* Update sgml version properly.Bruce Momjian2002-03-26
|
* Further changes following discussion on INTERFACES mailing list:D'Arcy J.M. Cain2002-03-26
| | | | | - Use PyObject_Del() rather than macro version - Check version and drop back to PyMem_Del() for older systems.
* Re-allow CREATE AS (but not SELECT INTO) in EXECUTE.Tom Lane2002-03-25
|
* Fix for ODBC compile warnings.Bruce Momjian2002-03-25
|
* Indenting #if commands is not portable, is it?Tom Lane2002-03-24
|
* Tweak labeling of plan qual conditions for more consistency.Tom Lane2002-03-24
|
* EXPLAIN output now comes out as a query result, not a NOTICE message.Tom Lane2002-03-24
| | | | | Also, fix debug logging of parse/plan trees so that the messages actually go through elog(), not directly to stdout.
* Create the pg_namespace system catalog. Doesn't do much yet, but it'sTom Lane2002-03-22
| | | | there and CREATE SCHEMA will make entries in it...
* Improve catalog commentary.Tom Lane2002-03-22
|
* A little further progress on schemas: push down RangeVars intoTom Lane2002-03-22
| | | | | | | 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.
* Change the aclchk.c routines to uniformly use OIDs to identify theTom Lane2002-03-21
| | | | | | 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.
* Fix minor syntax error.Tom Lane2002-03-21
|
* First phase of SCHEMA changes, concentrating on fixing the grammar andTom Lane2002-03-21
| | | | | | | | 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.
* Remove -mips2 flag, which breaks the build on some MIPS systems.Peter Eisentraut2002-03-21
| | | | Report from Ryan Murray via Debian
* Added typedef patches and a new option '-c' to automatically create C ↵Michael Meskes2002-03-21
| | | | typedefs from SQL ones.
* Remove long-dead 'fix for SELECT NULL' to stop current coredump.Tom Lane2002-03-21
|
* Fix pg_dump help option alignment.Bruce Momjian2002-03-21
|
* Two versions of QueryExecutor, currently only version 2 works 100%Dave Cramer2002-03-21
| | | | | | | | 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
* modifications to the way the protocol is handled to be consistent withDave Cramer2002-03-21
| | | | | | 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
* Part of Anders Bengtsson's patch to clean up Connection.javaDave Cramer2002-03-21
|
* Applied Anders patch to move the startup code out of Connection into ↵Dave Cramer2002-03-21
| | | | | | | | StartupPacket * Introduces a new class, StartupPacket. * Moves a lot of constants from Connection to StartupPacket. * Makes two instance variables in Connection into locals.
* Just one more test case.Michael Meskes2002-03-20
|
* Code review for DOMAIN patch.Tom Lane2002-03-20
|
* Tweak behavior of array slicing operations: seems like it ought to beTom Lane2002-03-20
| | | | okay to omit low-order dimensions when accessing an array slice.
* PyGreSQL causes a segfault when used with a Python executable that wasD'Arcy J.M. Cain2002-03-20
| | | | | compiled with --with-pymalloc. This change fixes that. Thanks to Dave Wallace <dwallace@udel.edu>
* Make CREATE DOMAIN emit CREATE DOMAIN on completion, per Peter E.Bruce Momjian2002-03-19
|
* Bump version number to match tree.D'Arcy J.M. Cain2002-03-19
|
* Fix name in comments and add info about this module's place in PyGreSQL.D'Arcy J.M. Cain2002-03-19
|
* Just adds a regressions test suite for the ALTER TABLE/ADD PRIMARY KEYBruce Momjian2002-03-19
| | | | | | | | feature. I'll do ALTER TABLE / DROP CONSTRAINT next... Christopher Kings-Lynne
* Add missing trailing semicolons to ecpg rules.Bruce Momjian2002-03-19
| | | | Neil Conway
* Fix DOMAIN breakage.Bruce Momjian2002-03-19
|
* psql \? cleanups by Ian BarwickBruce Momjian2002-03-19
|
* The attached patch cleans up the implementation of the TRUNCATE command;Bruce Momjian2002-03-19
| | | | | | | | | | | | in the current code, the authentication logic (check user, check the relation we're operating on, etc) is done in tcop/utility.c, whereas the actual TRUNCATE command in done in TruncateRelation() in commands/createinh.c (which is really just a wrapper over heap_truncate() in catalog/heap.c). This patch moves the authentication logic into TruncateRelation(), as well as making some minor code cleanups. Neil Conway
* Fix for trigger handling:Bruce Momjian2002-03-19
| | | | | | | | * We should not even consider checking the row if it is no longer * valid since it was either deleted (doesn't matter) or updated * (in which case it'll be checked with its final values). Stephan Szabo
* >Added ServerEncodingBruce Momjian2002-03-19
| | | | | | | | | | | | | | | | | > Korean (JOHAB), Thai (WIN874), > Vietnamese (TCVN), Arabic (WIN1256) > >Added ClientEncoding > Simplified Chinese (GBK), Korean (UHC) > >Add PsqlODBC and document ...etc patch. "JDBC patch" is delivered, too. :-) Eiji Tokuya
* > I am backing out this patch. Please resubmit with this corrected. Thanks.Bruce Momjian2002-03-19
| | | | | | | | | | | | | | | | | > > I am running Python 1.5. Therein lies the problem... :) Since it appears you have the requirement of supporting old python versions, attached is just the pgdb.py part of the patch (with a fix for DateTime handling). It has the same functionality but certainly won't be quite as fast. Given the absence of _PyString_Join in python1.5, it's a pain to get the C variants working for all versions. The pgdb.py patch does leaves the hooks in, should someone wish to do the optimization at a later point. Elliot Lee
* Add psql \dD listing of domains, from Jonathan Eisler.Bruce Momjian2002-03-19
|
* Add DOMAIN support. Includes manual pages and regression tests, fromBruce Momjian2002-03-19
| | | | Rod Taylor.
* applied patch from Liam StewartDave Cramer2002-03-19
| | | | | | | If one is trying to compile a JDBC 1 driver and junit.jar is in the CLASSPATH, then the build fails as ant tries to build the JDBC 2 test classes. This patch fixes this problem by excluding the jdbc 2 files unless the jdk1.2+ property is set.
* Comment patch:Bruce Momjian2002-03-19
| | | | | | | | | This one better describes the problem. heap.c needs to be updated to include 'Hard coded badness' for that table. -- Rod Taylor
* Update for 7.2.1.Bruce Momjian2002-03-18
|
* Fixes bug where query hangs if there is an error in the query, went back toDave Cramer2002-03-18
| | | | code before QueryExecutor class was created and copied behaviour
* Try to make array_in's behavior a tad less bizarre. Leading whitespaceTom Lane2002-03-16
| | | | | | | | | before a data item is now always skipped, rather than only sometimes. Backslashes not within double-quoted text are treated reasonably, as are multiple sequences of quoted text in a single data item. But it still seems rather prone to misbehavior if the input is not completely syntactically correct --- in particular, garbage following a right brace will be ignored.
* fixed QueryExecuter to deal with multiple errorsDave Cramer2002-03-16
| | | | | | | | previously it was throwing a SQLException as soon as the error message was received from the backend. This did not allow the protocol to finish properly now, simply collects error messages from the backend until the query is done and throws exception at the end Also added setLogLevel to Driver.java, and made the log levels public
* Manually clean up indenting of ecpg lex/yacc files, OK'ed by MichaelBruce Momjian2002-03-15
| | | | | Meskes. These files are not touched by pgindent so this has to be manually done.
* Repair two problems with WAL logging of sequence nextvalI() ops, asTom Lane2002-03-15
| | | | | | per recent pghackers discussion: force a new WAL record at first nextval after a checkpoint, and ensure that xlog is flushed to disk if a nextval record is the only thing emitted by a transaction.