Bruce Momjian
e6e4c45a2a
Add comments of duplicate definitions in interfaces/odbc/md5.h.
2001-11-12 01:52:46 +00:00
Bruce Momjian
75bb1e6f5d
Add code to check that md5.c files are in sync.
2001-11-12 01:42:03 +00:00
Bruce Momjian
a83bd89d00
Indent new rename.c for Tom Lane.
2001-11-12 01:34:50 +00:00
Hiroshi Inoue
b52950cc3d
Add md5 authentication support thanks to Bruce Momjian.
2001-11-12 00:54:28 +00:00
Tom Lane
f14fdad858
Make ALTER TABLE RENAME update foreign-key trigger arguments correctly.
...
Brent Verner, with review and kibitzing from Tom Lane.
2001-11-12 00:46:36 +00:00
Tom Lane
8bfc437301
Clean up a bunch of ScanKeyEntryInitialize calls that weren't bothering
...
to apply the proper Datum conversion macros to search key values.
2001-11-12 00:00:55 +00:00
Tom Lane
801a1accca
Test program needs to declare MaxBackends, per Bernd Tegge.
2001-11-11 22:12:00 +00:00
Tom Lane
69a59150c2
Defend against brain-dead QNX implementation of qsort().
...
Per report from Bernd Tegge, 10-Nov-01.
2001-11-11 22:00:25 +00:00
Tom Lane
c5c97318f9
In find_mergeclauses_for_pathkeys, it's okay to return multiple merge
...
clauses per path key. Indeed, we *must* do so or we will be unable to
form a valid plan for FULL JOIN with overlapping join conditions, eg
select * from a full join b on
a.v1 = b.v1 and a.v2 = b.v2 and a.v1 = b.v2.
2001-11-11 20:33:53 +00:00
Bruce Momjian
4552ddd535
Fix for compiling libpq++ on Solaris with Sun SPRO6U2.
...
Denis A Ustimenko
2001-11-11 19:20:53 +00:00
Tom Lane
ad511a3ff3
sort_inner_and_outer needs a check to ensure that it's consumed all the
...
mergeclauses in RIGHT/FULL join cases, just like the other routines have.
I'm not quite sure why I thought it didn't need one --- but Nick
Fankhauser's recent bug report proves that it does.
2001-11-11 19:18:54 +00:00
Hiroshi Inoue
8bf1e098dd
Use abbreviated connection string more widely.
...
This seems to fix the trouble with PowerBuilder
reported by Magbus Weber.
2001-11-11 07:24:36 +00:00
Tom Lane
15c21bf8e1
Defend against possibility that SSL error reporting mechanism returns
...
a NULL pointer. Per report from Stephen Pillinger 8-Nov-01.
2001-11-11 02:09:05 +00:00
Tom Lane
f6ee99a062
Clean up usage-statistics display code (ShowUsage and friends). StatFp
...
is gone, usage messages now go through elog(DEBUG).
2001-11-10 23:51:14 +00:00
Tom Lane
0c1669c806
Restructure child-exit logging messages for easier translation,
...
per suggestion from Peter.
2001-11-10 23:06:12 +00:00
Tom Lane
ec438886e1
Allow TIMESTAMP, VARCHAR, et al to be used as unquoted column names,
...
though alas not as unquoted function names. De-reserve a bunch of
keywords that could have been in ColId rather than ColLabel all along.
Per recent proposal in pgsql-patches.
2001-11-10 22:31:49 +00:00
Dave Cramer
be4e5059a2
Jason Davies patch to getImported/getExported keys
2001-11-09 02:57:50 +00:00
Bruce Momjian
77e4fd889c
Fix indenting for 'extern "C"' cases.
2001-11-08 20:37:52 +00:00
Bruce Momjian
876c7009fb
Make extern C handling more flexible.
2001-11-08 17:03:23 +00:00
Tom Lane
7e16f3c0d8
PostgreSQL works again on Mac OS X 10.1. Hold your nose before
...
investigating the kluge that makes it so...
2001-11-08 04:24:03 +00:00
Tom Lane
64af43a15f
Add casts to suppress compiler warnings observed on Darwin platform
...
(surprised no one has reported these yet...)
2001-11-08 04:05:13 +00:00
Bruce Momjian
c6e25ed1af
Fix replacement of extern C string.
2001-11-07 22:10:02 +00:00
Bruce Momjian
1233d4fd6c
Fix typo.
2001-11-07 21:29:04 +00:00
Bruce Momjian
e644fc25c7
Prevent indenting of 'extern "C"' blocks.
2001-11-07 21:24:28 +00:00
Bruce Momjian
e7c788f3a0
Some post pgident run updates,
...
one fuzzy translation fix, some
other messages tweaking. Theoretically,
should be up-to-date by now.
Please apply to /src/interfaces/libpq/ru.po
--
Serguei A. Mokhov
2001-11-07 03:09:15 +00:00
Tom Lane
27e7ac190e
Update for latest version of horology test.
2001-11-06 18:03:48 +00:00
Tom Lane
d22e9456a7
Clean up formatting of child process exit-status reports so that they
...
are correct, consistent, and complete ... motivated by gripe from
Oliver Elphick, but I see someone had already made an incomplete stab
at this.
2001-11-06 18:02:48 +00:00
Thomas G. Lockhart
d2ff7e509c
Fix last (?) problem with sensitivity to daylight savings time status
...
when running the regression test. Reported by Tom Lane.
2001-11-06 16:31:13 +00:00
Thomas G. Lockhart
3ea311d4b3
Add British Double Standard Time (BDST) per mailing list report.
2001-11-06 16:29:51 +00:00
Thomas G. Lockhart
e160fcd696
Use PostgreSQL's standard declaration for a 32-bit integer to define
...
the cash data type.
2001-11-06 16:27:31 +00:00
Tom Lane
d980ddb544
Add Darwin to list of known systems for ps_status.
2001-11-06 01:15:29 +00:00
Tom Lane
ca7578d454
The extra semaphore that proc.c now allocates for checkpoint processes
...
should be accounted for in the PROC_SEM_MAP_ENTRIES() macro. Otherwise
the ports that rely on this macro to size data structures are broken.
Mea culpa.
2001-11-06 00:38:26 +00:00
Tom Lane
0053cebea5
Fix coredump in plpgsql when trying to return a rowtype result.
...
Need to return a TupleTableSlot, not just a bare tuple.
2001-11-05 19:41:56 +00:00
Bruce Momjian
ea08e6cd55
New pgindent run with fixes suggested by Tom. Patch manually reviewed,
...
initdb/regression tests pass.
2001-11-05 17:46:40 +00:00
Hiroshi Inoue
34153b2052
Preparation for the parameter array handling.
2001-11-05 10:35:14 +00:00
Hiroshi Inoue
c0b27c4feb
1) Fix a few bugs about SQLGetData()
...
reported by Mika Mantyla.
2) Timestamp precision.
3) Separate ODBC3.0 files.
2001-11-05 09:46:17 +00:00
Bruce Momjian
0f450dae8b
More cleanup for stuff after closing brace in first column.
2001-11-05 06:37:51 +00:00
Bruce Momjian
d447dbf392
Handle tabs after closing brace in first column with less indenting.
2001-11-05 05:47:50 +00:00
Bruce Momjian
158129be72
Improve readability of script.
2001-11-05 05:18:43 +00:00
Tom Lane
5251e7b3d0
CREATE TABLE foo (x,y,z) AS SELECT ... can't apply target column names
...
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
2001-11-05 05:00:14 +00:00
Tom Lane
d556920a98
Remove ill-considered Assert.
2001-11-05 01:34:37 +00:00
Bruce Momjian
3bb110ebb3
Pull in variables defined in structs; had too many tabs.
2001-11-04 21:27:41 +00:00
Tom Lane
430cd88a18
Fix now-obsolete comment.
2001-11-04 20:12:57 +00:00
D'Arcy J.M. Cain
568cb6ab5c
Version was 3.3 but last released version was 3.1. Setting to match rest
...
of the documentation in preparation for upcoming release.
2001-11-04 20:11:01 +00:00
Tom Lane
fb5f1b2c13
Merge three existing ways of signaling postmaster from child processes,
...
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.
2001-11-04 19:55:31 +00:00
D'Arcy J.M. Cain
5f067722bf
Note that PyGreSQL has been checked against Python 2.1 now.
2001-11-04 19:47:16 +00:00
D'Arcy J.M. Cain
6395d86a9a
The "%d", while syntactically correct, was confusing. Added a space to
...
make it clearer that d was the argument to the format operator.
2001-11-04 19:42:13 +00:00
Philip Warner
1ef62bb6fc
- Fix compiler warning in pg_restore
...
- 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.
2001-11-04 04:05:36 +00:00
Bruce Momjian
7cc8af5563
Got "ADD" to appear only in ALTER TABLE and not CREATE TABLE
...
UNIQUE-PRIMARY KEY notice message. This is what Christopher wanted from
his patch.
2001-11-04 03:08:11 +00:00
Bruce Momjian
434077c4e6
Remove "ADD" from TABLE / ADD UNIQUE-PRIMARY error message because the
...
same code is called for both creation and alter. Not worth worrying
about.
2001-11-04 02:41:09 +00:00