summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Improve readability of script.Bruce Momjian2001-11-051-2/+2
|
* CREATE TABLE foo (x,y,z) AS SELECT ... can't apply target column namesTom Lane2001-11-055-32/+45
| | | | | | | | | to the target list in gram.y; it must wait till after expansion of the target list in analyze.c. Per bug report 4-Nov: lx=# CREATE TABLE abc (a char, b char, c char); CREATE lx=# CREATE TABLE xyz (x, y, z) AS SELECT * FROM abc; ERROR: CREATE TABLE/AS SELECT has mismatched column count
* Remove ill-considered Assert.Tom Lane2001-11-051-4/+1
|
* Pull in variables defined in structs; had too many tabs.Bruce Momjian2001-11-041-1/+1
|
* Fix now-obsolete comment.Tom Lane2001-11-041-3/+2
|
* Version was 3.3 but last released version was 3.1. Setting to match restD'Arcy J.M. Cain2001-11-041-1/+1
| | | | of the documentation in preparation for upcoming release.
* Merge three existing ways of signaling postmaster from child processes,Tom Lane2001-11-048-121/+254
| | | | | | | | | | | so that only one signal number is used not three. Flags in shared memory tell the reason(s) for the current signal. This method is extensible to handle more signal reasons without chewing up even more signal numbers, but the immediate reason is to keep pg_pwd reloads separate from SIGHUP processing in the postmaster. Also clean up some problems in the postmaster with delayed response to checkpoint status changes --- basically, it wouldn't schedule a checkpoint if it wasn't getting connection requests on a regular basis.
* Note that PyGreSQL has been checked against Python 2.1 now.D'Arcy J.M. Cain2001-11-041-1/+1
|
* The "%d", while syntactically correct, was confusing. Added a space toD'Arcy J.M. Cain2001-11-041-1/+1
| | | | make it clearer that d was the argument to the format operator.
* - Fix compiler warning in pg_restorePhilip Warner2001-11-043-20/+40
| | | | | | - Fix handling of {data/schema}-only restores when using a full backup file; prior version was restoring schema in data-only restores. Added enum to make code easier to understand.
* Got "ADD" to appear only in ALTER TABLE and not CREATE TABLEBruce Momjian2001-11-042-8/+10
| | | | | UNIQUE-PRIMARY KEY notice message. This is what Christopher wanted from his patch.
* Remove "ADD" from TABLE / ADD UNIQUE-PRIMARY error message because theBruce Momjian2001-11-045-42/+42
| | | | | same code is called for both creation and alter. Not worth worrying about.
* Require closing paren on line above brace to identify functionBruce Momjian2001-11-031-2/+3
| | | | difinition, just for formatting workaround, per Tom's discovery.
* More updates for GNU indent.Bruce Momjian2001-11-032-3/+3
|
* 1) Improve literal handling in parse_statement().Hiroshi Inoue2001-11-037-37/+45
| | | | | | 2) Remove some no longer valid comments. 3) Fix an option dialog setting bug. 4) Fix ODBCVER handling errors.
* Make pgindent use GNU Indent version 2.X better.Bruce Momjian2001-11-031-5/+5
|
* proper select for Jason Davies patch to getImportedKeysDave Cramer2001-11-021-11/+9
|
* proper select for Jason Davies patch to getImportedKeysDave Cramer2001-11-021-113/+150
| | | | fixes for compiling Jason's getImportedKeys, getExportedKeys
* Add check for 'extern "C"' for pgindent.Bruce Momjian2001-11-021-0/+1
|
* Windows portability macros SOCK_ERRNO and SOCK_STRERROR should be inTom Lane2001-11-022-269/+276
| | | | libpq-int.h, not cluttering application namespace in libpq-fe.h.
* Add default expressions to INSERTs during planning, not during parseTom Lane2001-11-023-135/+161
| | | | | | analysis. This keeps stored rules from prematurely absorbing default information, which is necessary for ALTER TABLE SET DEFAULT to work unsurprisingly with rules. See pgsql-bugs discussion 24-Oct-01.
* updatesPeter Eisentraut2001-11-023-734/+725
|
* Fix pg_pwd caching mechanism, which was broken by changes to forkTom Lane2001-11-024-125/+124
| | | | | | | postmaster children before client auth step. Postmaster now rereads pg_pwd on receipt of SIGHUP, the same way that pg_hba.conf is handled. No cycles need be expended to validate password cache validity during connection startup.
* Suppress compiler warning (only seen in MULTIBYTE case).Tom Lane2001-11-021-0/+1
|
* Fix problem reported by Alex Korn: if a relation has been dropped andTom Lane2001-11-0214-594/+150
| | | | | | | | | | | | | | | | | | recreated since the start of our transaction, our first reference to it errored out because we'd try to reuse our old relcache entry for it. Do this by accepting SI inval messages just before relcache search in heap_openr, so that dead relcache entries will be flushed before we search. Also, break heap_open/openr into two pairs of routines, relation_open(r) and heap_open(r). The relation_open routines make no tests on relkind and so can be used to open anything that has a pg_class entry. The heap_open routines are wrappers that add a relkind test to preserve their established behavior. Use the relation_open routines in several places that had various kluge solutions for opening rels that might be either heap or index rels. Also, remove the old 'heap stats' code that's been superseded by Jan's stats collector, and clean up some inconsistencies in error reporting between the different types of ALTER TABLE.
* Sync parser yet again.Michael Meskes2001-11-023-34/+15
|
* Minor code cleanups.Tom Lane2001-11-011-56/+51
|
* Reject tabs and linefeeds in usernames and passwords that are beingTom Lane2001-11-011-18/+47
| | | | | | stored in pg_pwd, to guard against failures of the sort observed by Tom Yackel. Note: in the case of encrypted passwords this is no restriction, since the string we are interested in is the MD5 hash.
* Add missing #include.Tom Lane2001-11-011-1/+2
|
* Suppress trivial compiler warning.Tom Lane2001-11-011-1/+1
|
* minor improvements on Dave's last checkinBarry Lind2001-11-012-8/+3
|
* Suppress a compiler warning.Hiroshi Inoue2001-10-311-0/+6
|
* changes to support 3rd party ERD tools and starofficeDave Cramer2001-10-311-157/+320
|
* allow null passwordsDave Cramer2001-10-311-4/+7
|
* added dummy loginDave Cramer2001-10-311-9/+123
|
* Fix queries to insulate from daylight savings time.Thomas G. Lockhart2001-10-312-8/+8
|
* More *.po cleanups for new spacing.Bruce Momjian2001-10-311-4/+4
|
* Modify *.po files and regression expected output for new clearer errorBruce Momjian2001-10-315-38/+38
| | | | message spacing.
* Here is an updated version of /src/backend/po/ru.poBruce Momjian2001-10-311-51/+53
| | | | | | | | which incorporates recent changes by Bruce to readability of some messages and few more translations. -- Serguei A. Mokhov
* Traditional Chinese error messages for JDBC.Bruce Momjian2001-10-311-0/+75
| | | | Zhenbang Wei
* Add ALTER TABLE ADD UNIQUE regression tests from Christopher Kings-Lynne.Bruce Momjian2001-10-3110-58/+170
| | | | | | Add space between slash for ALTER TABLE / ADD .... Regression and *.po updates to follow.
* Apply updated PO language patch.Bruce Momjian2001-10-311-16/+16
| | | | Zhenbang Wei
* PO language update.Bruce Momjian2001-10-311-2/+1
| | | | forth@pagic.net
* Update solaris-1947 variant files for new datetime regression tests.Tom Lane2001-10-303-1174/+1633
| | | | Results checked by Olivier Prenant.
* Fix problems with subselects used in GROUP BY expressions, per gripeTom Lane2001-10-304-103/+167
| | | | | | from Philip Warner. Side effect of change is that GROUP BY expressions will not be re-evaluated at multiple plan levels anymore, whereas this sometimes happened with old code.
* fixed change in behavior introduced in bytea / getBytes changes. This patch ↵Barry Lind2001-10-302-38/+62
| | | | reverts back unintentional change in behavior to return raw value even when not bytea column
* Fix small problem Tom Lane found with pgindent run.Bruce Momjian2001-10-308-73/+69
|
* updated patch from Mark Lillywhite per Tom Lane's comments: subtract ↵Barry Lind2001-10-301-3/+3
| | | | VARHDRSZ first then and with 0xffff
* applied patch from Mark Lillywhite, patch was already applied to jdbc2, this ↵Barry Lind2001-10-301-2/+14
| | | | applies same fix to jdbc1 code
* Add gp->gr_mem != NULL check for Solaris, per Seth HettichBruce Momjian2001-10-291-2/+3
|