summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2002-06-13changes to accomodate updateable resultset mostly just call setSqlQuery on ↵Dave Cramer
execute
2002-06-13Implemented updateable result sets based on raghu nidagal implementationDave Cramer
2002-06-13changed some commented out messages to use the Driver.debug and fixed first ↵Dave Cramer
to read the underlying data into rowbuffer
2002-06-13added messages for updateable result setsDave Cramer
2002-06-13Add GB18030 support. Contributed by Bill Huang <bill_huanghb@ybb.ne.jp>Tatsuo Ishii
(ODBC support has not been committed yet. left for Hiroshi...)
2002-06-13make namein multibyte awareTatsuo Ishii
2002-06-13Further tweaks to support display of sort keys in EXPLAIN --- initialTom Lane
implementation didn't work for Sort nodes associated with Append plans.
2002-06-13Repair for bug #691 --- CREATE TABLE AS column aliases fail to beTom Lane
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.
2002-06-12Applied Lee Kindness' patch to fix one of memory allocation with floating ↵Michael Meskes
point numbers.
2002-06-121) Fix a bug *double error message*.Hiroshi Inoue
2) Fix a bug *passowrd prompt in case of md5 authentication*. 3) Improve the DSN setup dialog.
2002-06-11Allow createdb to create comments in current db, not template1.Bruce Momjian
2002-06-11Implement SQL99 OVERLAY(). Allows substitution of a substring in a string.Thomas G. Lockhart
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.
2002-06-11Katherine Ward wrote:Jan Wieck
> 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
2002-06-11The patch does the following:Barry Lind
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 ----------------------------------------------------------------------
2002-06-08Remove DEBUG_LEVEL from postgresql.conf. Now uses CLIENT/SERVER_MIN_MESSAGES.Bruce Momjian
2002-06-07Improve readability of factorial, from Florian Weimer.Bruce Momjian
2002-06-07Fix for factorial(0::int2) returning 1, from sugita@sra.co.jp.Bruce Momjian
2002-06-07The attached patch fixes a problem with InstallXLogFileSegment()'s useBruce Momjian
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
2002-06-07Remove int16 from libpgeasy examples. Improve error reporting.Bruce Momjian
2002-06-07fixed bug reported by cc.ais40@wanadoo.fr where getObject was returning an ↵Barry Lind
Integer for a smallint datatype instead of a Short
2002-06-07Fix interface example errors causes by backend changes.Bruce Momjian
Permaine Cheung
2002-06-06change table name to lower case in getColumnsDave Cramer
2002-06-06Add missing win_setup.h.Hiroshi Inoue
2002-06-06Add *Int8 As* option.Hiroshi Inoue
2002-06-05fixed getImported/ExportedKeys to be simpler, and return the correct number ↵Dave Cramer
of keys
2002-06-03Document that SM_* variables should be longer.Bruce Momjian
2002-06-03fixed bug reported by Noel Rappin (nrappin@sockeye.com) java Array type ↵Barry Lind
handled Timestamps incorrectly
2002-06-03Small patch to correct the default arraysize associatedBruce Momjian
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
2002-06-03Mention SM_USER should be the same size as the others.Bruce Momjian
2002-06-02Add PQescapeString and PQescapeBytea for Win32.Bruce Momjian
2002-06-02Allow pod2man 5.005p3 to work with our current sources.Bruce Momjian
2002-06-01Fix timestamp to date conversion for the case where timestamp uses a doubleThomas G. Lockhart
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.
2002-05-30small fix to testExportedKeysDave Cramer
2002-05-30added imported/exported key testDatabaseMetaDataTest.javaDave Cramer
2002-05-29Another place that needs schema qualification.Tom Lane
2002-05-29Fix some more not-schema-aware queries in pg_dump. Also fix some placesTom Lane
that would do the wrong thing with BLOB OIDs exceeding 2G.
2002-05-28Rearrange LOG_CONNECTIONS code so that two log messages are made:Tom Lane
one immediately upon forking to handle a new connection, and one after the authentication cycle is finished. Per today's pggeneral discussion.
2002-05-28Rework pg_dump namespace search criteria so that dumping of user objectsTom Lane
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.
2002-05-28Queries used by ruleutils were not schema-proof.Tom Lane
2002-05-28In default nextval('foo') expression for a SERIAL column, use doubleTom Lane
quotes only when necessary.
2002-05-28Change PL/Perl and Pg interface build to use configured compiler andPeter Eisentraut
Makefile.shlib system, not MakeMaker.
2002-05-28Repair error with not adjusting active scans properly after gistSplit.Tom Lane
Patch from Teodor Sigaev.
2002-05-27Distinguish between MaxHeapAttributeNumber and MaxTupleAttributeNumber,Tom Lane
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.
2002-05-25Remove AMI_OVERRIDE tests from tqual.c routines; they aren't necessaryTom Lane
and just slow down normal operations (only fractionally, but a cycle saved is a cycle earned). Improve documentation of AMI_OVERRIDE behavior.
2002-05-25AlterDatabaseSet() forgot to update the indexes on pg_database.Tom Lane
2002-05-24Fix coding error in UTF conversion.Tom Lane
2002-05-24Add 'volatile' to suppress gcc warning. Not sure why this warningTom Lane
wasn't seen before, maybe the Tcl compiler flags were less strict.
2002-05-24Wups, managed to break ANALYZE with one aspect of that heap_fetch change.Tom Lane
2002-05-24Mark index entries "killed" when they are no longer visible to anyTom Lane
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.
2002-05-24Change PL/Tcl build to use configured compiler and Makefile.shlibPeter Eisentraut
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.