aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* changes to accomodate updateable resultset mostly just call setSqlQuery on ↵Dave Cramer2002-06-13
| | | | execute
* Implemented updateable result sets based on raghu nidagal implementationDave Cramer2002-06-13
|
* changed some commented out messages to use the Driver.debug and fixed first ↵Dave Cramer2002-06-13
| | | | to read the underlying data into rowbuffer
* added messages for updateable result setsDave Cramer2002-06-13
|
* Add GB18030 support. Contributed by Bill Huang <bill_huanghb@ybb.ne.jp>Tatsuo Ishii2002-06-13
| | | | (ODBC support has not been committed yet. left for Hiroshi...)
* make namein multibyte awareTatsuo Ishii2002-06-13
|
* Further tweaks to support display of sort keys in EXPLAIN --- initialTom Lane2002-06-13
| | | | implementation didn't work for Sort nodes associated with Append plans.
* Repair for bug #691 --- CREATE TABLE AS column aliases fail to beTom Lane2002-06-13
| | | | | | | | | applied when the select is a UNION (or other set-operation). An alternative route to a fix would be to leave analyze.c alone and change plan_set_operations in prepunion.c to take column names from the topmost targetlist. But I am not sure that would work in all cases. This patch seems the minimum-risk fix.
* Applied Lee Kindness' patch to fix one of memory allocation with floating ↵Michael Meskes2002-06-12
| | | | point numbers.
* 1) Fix a bug *double error message*.Hiroshi Inoue2002-06-12
| | | | | 2) Fix a bug *passowrd prompt in case of md5 authentication*. 3) Improve the DSN setup dialog.
* Allow createdb to create comments in current db, not template1.Bruce Momjian2002-06-11
|
* Implement SQL99 OVERLAY(). Allows substitution of a substring in a string.Thomas G. Lockhart2002-06-11
| | | | | | | | | | | Implement SQL99 SIMILAR TO as a synonym for our existing operator "~". Implement SQL99 regular expression SUBSTRING(string FROM pat FOR escape). Extend the definition to make the FOR clause optional. Define textregexsubstr() to actually implement this feature. Update the regression test to include these new string features. All tests pass. Rename the regular expression support routines from "pg95_xxx" to "pg_xxx". Define CREATE CHARACTER SET in the parser per SQL99. No implementation yet.
* Katherine Ward wrote:Jan Wieck2002-06-11
| | | | | | | | | | | | | | > Changes to avoid collisions with WIN32 & MFC names... > 1. Renamed: > a. PROC => PGPROC > b. GetUserName() => GetUserNameFromId() > c. GetCurrentTime() => GetCurrentDateTime() > d. IGNORE => IGNORE_DTF in include/utils/datetime.h & utils/adt/datetim > > 2. Added _P to some lex/yacc tokens: > CONST, CHAR, DELETE, FLOAT, GROUP, IN, OUT Jan
* The patch does the following:Barry Lind2002-06-11
| | | | | | | | | | | | | | | | | | | | Allows you to set the loglevel at runtime by adding ?loglevel=X to the connection URL, where 1 = INFO and 2 = DEBUG. Automatically turns on logging by calling DriverManager.setPrintWriter(new PrintWriter(System.out)) if one is not already set. Adds a Driver.info() message that prints out the version number Adds member variables logDebug and logInfo that can be checked before making logging methods calls Adds a build number to the version number string. This build number will need to be manually incremented when we see fit. ---------------------------------------------------------------------- Modified Files: org/postgresql/Connection.java org/postgresql/Driver.java.in org/postgresql/fastpath/Fastpath.java org/postgresql/jdbc1/DatabaseMetaData.java org/postgresql/jdbc2/Connection.java org/postgresql/jdbc2/DatabaseMetaData.java org/postgresql/largeobject/LargeObjectManager.java org/postgresql/util/PSQLException.java org/postgresql/util/Serialize.java ----------------------------------------------------------------------
* Remove DEBUG_LEVEL from postgresql.conf. Now uses CLIENT/SERVER_MIN_MESSAGES.Bruce Momjian2002-06-08
|
* Improve readability of factorial, from Florian Weimer.Bruce Momjian2002-06-07
|
* Fix for factorial(0::int2) returning 1, from sugita@sra.co.jp.Bruce Momjian2002-06-07
|
* The attached patch fixes a problem with InstallXLogFileSegment()'s useBruce Momjian2002-06-07
| | | | | | | | | | | | | | | | | | | | | | of link() under Cygwin: http://archives.postgresql.org/pgsql-cygwin/2002-04/msg00072.php Note that it appears that BeOS and Netware also have the above or similar problem. I have only verified that PostgreSQL builds under Cygwin with this patch. Since I cannot reproduce the problem, I cannot verify that the proposed patch solves it. Nevertheless, both Barry Pederson and David P. Caldwell attest that this patch solves the problem. See the following for details: http://archives.postgresql.org/pgsql-cygwin/2002-05/msg00043.php http://archives.postgresql.org/pgsql-cygwin/2002-05/msg00040.php Jason Tishler
* Remove int16 from libpgeasy examples. Improve error reporting.Bruce Momjian2002-06-07
|
* fixed bug reported by cc.ais40@wanadoo.fr where getObject was returning an ↵Barry Lind2002-06-07
| | | | Integer for a smallint datatype instead of a Short
* Fix interface example errors causes by backend changes.Bruce Momjian2002-06-07
| | | | Permaine Cheung
* change table name to lower case in getColumnsDave Cramer2002-06-06
|
* Add missing win_setup.h.Hiroshi Inoue2002-06-06
|
* Add *Int8 As* option.Hiroshi Inoue2002-06-06
|
* fixed getImported/ExportedKeys to be simpler, and return the correct number ↵Dave Cramer2002-06-05
| | | | of keys
* Document that SM_* variables should be longer.Bruce Momjian2002-06-03
|
* fixed bug reported by Noel Rappin (nrappin@sockeye.com) java Array type ↵Barry Lind2002-06-03
| | | | handled Timestamps incorrectly
* Small patch to correct the default arraysize associatedBruce Momjian2002-06-03
| | | | | | | | with the Cursor object's fetchmany() method. The API and inline documentation state that the default is 1. It currently defaults to 5. Patrick Macdonald
* Mention SM_USER should be the same size as the others.Bruce Momjian2002-06-03
|
* Add PQescapeString and PQescapeBytea for Win32.Bruce Momjian2002-06-02
|
* Allow pod2man 5.005p3 to work with our current sources.Bruce Momjian2002-06-02
|
* Fix timestamp to date conversion for the case where timestamp uses a doubleThomas G. Lockhart2002-06-01
| | | | | | | precision storage format. Previously applied the same math as used for the 64-bit integer storage format case, which was wrong. Problem introduced recently when the 64-bit storage format was implemented.
* small fix to testExportedKeysDave Cramer2002-05-30
|
* added imported/exported key testDatabaseMetaDataTest.javaDave Cramer2002-05-30
|
* Another place that needs schema qualification.Tom Lane2002-05-29
|
* Fix some more not-schema-aware queries in pg_dump. Also fix some placesTom Lane2002-05-29
| | | | that would do the wrong thing with BLOB OIDs exceeding 2G.
* Rearrange LOG_CONNECTIONS code so that two log messages are made:Tom Lane2002-05-28
| | | | | one immediately upon forking to handle a new connection, and one after the authentication cycle is finished. Per today's pggeneral discussion.
* Rework pg_dump namespace search criteria so that dumping of user objectsTom Lane2002-05-28
| | | | | | | | having names conflicting with system objects will work --- the search path is now user-schema, pg_catalog rather than implicitly the other way around. Note this requires being careful to explicitly qualify references to system names whenever pg_catalog is not first in the search path. Also, add support for dumping ACLs of schemas.
* Queries used by ruleutils were not schema-proof.Tom Lane2002-05-28
|
* In default nextval('foo') expression for a SERIAL column, use doubleTom Lane2002-05-28
| | | | quotes only when necessary.
* Change PL/Perl and Pg interface build to use configured compiler andPeter Eisentraut2002-05-28
| | | | Makefile.shlib system, not MakeMaker.
* Repair error with not adjusting active scans properly after gistSplit.Tom Lane2002-05-28
| | | | Patch from Teodor Sigaev.
* Distinguish between MaxHeapAttributeNumber and MaxTupleAttributeNumber,Tom Lane2002-05-27
| | | | | | | | | | | where the latter is made slightly larger to allow for in-memory tuples containing resjunk attributes. Responds to today's complaint that one cannot UPDATE a table containing the allegedly-legal maximum number of columns. Also, apply Manfred Koizar's recent patch to avoid extra alignment padding when there is a null bitmap. This saves bytes in some cases while not creating any backward-compatibility problem AFAICS.
* Remove AMI_OVERRIDE tests from tqual.c routines; they aren't necessaryTom Lane2002-05-25
| | | | | and just slow down normal operations (only fractionally, but a cycle saved is a cycle earned). Improve documentation of AMI_OVERRIDE behavior.
* AlterDatabaseSet() forgot to update the indexes on pg_database.Tom Lane2002-05-25
|
* Fix coding error in UTF conversion.Tom Lane2002-05-24
|
* Add 'volatile' to suppress gcc warning. Not sure why this warningTom Lane2002-05-24
| | | | wasn't seen before, maybe the Tcl compiler flags were less strict.
* Wups, managed to break ANALYZE with one aspect of that heap_fetch change.Tom Lane2002-05-24
|
* Mark index entries "killed" when they are no longer visible to anyTom Lane2002-05-24
| | | | | | | | | | | | | | | transaction, so as to avoid returning them out of the index AM. Saves repeated heap_fetch operations on frequently-updated rows. Also detect queries on unique keys (equality to all columns of a unique index), and don't bother continuing scan once we have found first match. Killing is implemented in the btree and hash AMs, but not yet in rtree or gist, because there isn't an equally convenient place to do it in those AMs (the outer amgetnext routine can't do it without re-pinning the index page). Did some small cleanup on APIs of HeapTupleSatisfies, heap_fetch, and index_insert to make this a little easier.
* Change PL/Tcl build to use configured compiler and Makefile.shlibPeter Eisentraut2002-05-24
| | | | | | | | | | system, not Tcl-provided one. Make sure export file, if any, is cleaned. Tcl configuration is now read directly in configure and recorded in Makefile.global. This eliminates some duplicate efforts and allows for easier hand-editing of the results, if necessary.