summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2002-02-18Add code to preserve paren level display after \g, as submitted months ago.Bruce Momjian
2002-02-18Remove compile warnings in multibute mode.Hiroshi Inoue
2002-02-18Fix param handling of create* admin scripts as described months ago.Bruce Momjian
Properly handles default values.
2002-02-18Add better error text:Bruce Momjian
elog(LOG, "XLogWrite: new log file created - " "consider increasing 'wal_files' in postgresql.conf.");
2002-02-18Add HTML output option to pgcvslog.Bruce Momjian
2002-02-18Fix kanji-coversion key binding. This has been broken since 7.1Tatsuo Ishii
Per Yoshinori Ariie's report.
2002-02-18The version is now 7.01.0010.Hiroshi Inoue
1) Handle parameter array. 2) Allow re-use of the connection handle after SQLDisconnect. 3) Reject NULL if no indicator specified. 4) Improve the handling of '_' in table name. 5) Unify internal begin/commit/abort operations. 6) Change SQLTables() to return null not "" for the table_owner. 7) Fix a bug about parameter handling reported by Benoit Menendez. 8) Add cast in handling ODBC date/time escape sequences. 9) Fix a bug about cache_size handing in declare/fetch mode. [ODBC3.0 related] 10) Improve the handling of descriptor handles(ODBC3.0). 11) Improve the type handling of some types for ODBC3.0. [Thanks to Marcelo Aceto for his useful patches] 12) Allow nested ODBC escape. 13) Allow changing autocommit on/off inside the transaction block. 14) Improve the handling of ODBC scalar functions.
2002-02-18Separate info30.c from info.c.Hiroshi Inoue
2002-02-18Add files for ODBC3.0 support.Hiroshi Inoue
2002-02-18Remove ODBC todo, add to main TODO.Bruce Momjian
2002-02-15Remove warning about automatic inclusion of sqlca.Peter Eisentraut
2002-02-14Ensure that a cursor is scanned under the same scanCommandId it wasTom Lane
originally created with, so that the set of visible tuples does not change as a result of other activity. This essentially makes PG cursors INSENSITIVE per the SQL92 definition. See bug report of 13-Feb-02.
2002-02-12Use RTLD_NOW, not RTLD_LAZY, as binding mode for dlopen() on all platforms.Tom Lane
This restores the Linux behavior to what it was in PG 7.0 and 7.1, and causes other platforms to agree. (Other well-tested platforms like HPUX were doing it this way already.) Per pghackers discussion over the past month or so.
2002-02-12Modify COPY TO to emit carriage returns and newlines as backslash escapesTom Lane
(backslash-r, backslash-n) for protection against newline-conversion munging. In future we will also tweak COPY FROM, but this part of the change should be backwards-compatible. Per pghackers discussion. Also, update COPY reference page to describe the backslash conversions more completely and accurately.
2002-02-11Tweak GiST code to work correctly on machines where 8-byte alignmentTom Lane
of pointers is required. Patch from Teodor Sigaev per pghackers discussion. It's an ugly kluge but avoids forcing initdb; we'll put a better fix into 7.3 or later.
2002-02-11Fix for old FreeBSD versions that don't have RTLD_GLOBALPeter Eisentraut
2002-02-11Repair problems with EvalPlanQual where target table is scanned asTom Lane
inner indexscan (ie, one with runtime keys). ExecIndexReScan must compute or recompute runtime keys even if we are rescanning in the EPQ case. TidScan seems to have comparable problems. Per bug noted by Barry Lind 11-Feb-02.
2002-02-11Be more wary about mixed-case database names and user names. GetTom Lane
the CREATE DATABASE command right in pg_dump -C case.
2002-02-10Don't Assert() that fsync() and close() never fail; I have seen thisTom Lane
crash on Solaris when over disk quota. Instead, report such failures via elog(DEBUG).
2002-02-08Move sys/types.h to top, for hiroyuki hanai/ FreeBSD.Bruce Momjian
2002-02-07pgstat's truncation of query string needs to be multibyte-aware.Tom Lane
Patch from sugita@sra.co.jp.
2002-02-07Removed a check for REINDEX TABLE.Hiroshi Inoue
2002-02-06Fix failure to reconnect as sequence's owner before issuing setval().Tom Lane
2002-01-30Update Win32-world version number of libpq++.Peter Eisentraut
2002-01-30Add cast to suppress gcc warning on Darwin platform.Tom Lane
2002-01-29updatePeter Eisentraut
2002-01-29Make S/390 TAS spell __inline__ the same way as the other eight GCCTom Lane
inline routines do.
2002-01-26Updates from Serguei MokhovPeter Eisentraut
2002-01-25Tweak pg_dump to say GRANT ALL when appropriate, rather than enumeratingTom Lane
the individual privilege bits. I regard this as an important change for cross-version compatibility: without this, a 7.1 dump loaded into 7.2 is likely to be short a few privileges.
2002-01-24Tweak plperl.c to compile against threaded Perls, per report fromTom Lane
cturner@redhat.com.
2002-01-24pltcl's spi_execp didn't handle NULL arguments quite correctly.Tom Lane
It would try to call the input conversion routines for them anyway. So, a valid input string for the datatype had to be supplied.
2002-01-24Fix incorrect test for whether Perl code is returning undef. ThisTom Lane
allows plperl routines to return NULL as intended.
2002-01-24Fix logic error in insert_fsm_page_entry: because compact_fsm_page_listTom Lane
removes any empty chunks, the chunk previously added won't be there anymore, so it's possible there is zero free space in the rel's page list afterwards. Must loop back and rerun the part that adds a chunk to the list.
2002-01-23Remove long-obsolete version of pltcl documentation.Tom Lane
2002-01-23Clean up Red Hat Tcl RPM brain-damage in a more reliable way: fix theTom Lane
value of TCL_SHLIB_LD in the shell script that creates Makefile.tcldefs, rather than trying to persude gmake to do it.
2002-01-23Added patch to temporarily disable locale for descriptors too (Christof)Michael Meskes
2002-01-22libpq++/pgconnection.h must not include postgres_fe.h, else it fails toTom Lane
compile in client apps that use the standard installed header set. To allow removing that include, move DLLIMPORT definitions out of c.h and into the appropriate port-specific header files.
2002-01-21Suppress bogus soname switch that RedHat RPMs put into tclConfig.sh.Tom Lane
2002-01-20Add IN/EXISTS file.Bruce Momjian
2002-01-18Update from Kova'cs Zolta'nPeter Eisentraut
2002-01-18You might want to run pg_indent on pg_backup_db.c however ...Bruce Momjian
tom lane
2002-01-18Fixes to getImportedKeys/getExportedKeys from Jason DaviesDave Cramer
Previous versions did not correctly identify primary/foreign keys
2002-01-18Fix pg_restore to handle the 'set max oid' entry correctly in archivesTom Lane
dumped by pg_dump -o. Per bug report posted by Bruce; fix is from Philip Warner, reviewed by Tom Lane.
2002-01-18Add missing 'else', per report from sugita@sra.co.jp.Tom Lane
2002-01-18Accept subsequent commits. This should have been just a warning anyway. IMichael Meskes
cannot see a reason why it should be an error.
2002-01-16Fix misstatements added by Bruce.Tom Lane
2002-01-16Add more comments to tqual.c for visibility functions.Bruce Momjian
2002-01-16TOAST needs to do at least minimal time-qual checking in order not toTom Lane
mess up after an aborted VACUUM FULL, per today's pghackers discussion. Add a suitable HeapTupleSatisfiesToast routine. Remove useless special- case test in HeapTupleSatisfiesVisibility macro for xmax = BootstrapTransactionId; perhaps that was needed at one time, but it's a waste of cycles now, not to mention actively wrong for SnapshotAny. Along the way, add some much-needed comments to tqual.c, and simplify toast_fetch_datum, which no longer needs to assume it may see chunks out-of-order.
2002-01-16Fix init_irels to close the pg_internal.init file before returning.Tom Lane
This saves one open file descriptor per backend, and avoids an annoying NOTICE on Cygwin (which has trouble deleting open files). Bug appears to date back to original coding of init_irels, circa 1992.
2002-01-15If we fail to rename pg_internal.init into place, delete the uselessTom Lane
temporary file. This seems to be a known failure mode under Cygwin, so we might as well expend the extra line of code to be tidy.