Peter Eisentraut
fc6603ff75
Advertise --help (rather than '-?') as help option (problems with csh).
...
Accept --help even if no general long options support exists.
2000-11-25 19:05:44 +00:00
Peter Eisentraut
c25b4dbf03
Update pg_ctl ref page, help output, messages. Some repair to work better
...
with current postmaster.
2000-11-25 17:17:30 +00:00
Bruce Momjian
63edc5c4e0
Fix security problem with psql \e where temp file could be an existing
...
symlink created by someone else, and therefore modifyable by someone else.
2000-11-25 06:21:54 +00:00
Bruce Momjian
3f1998727d
here is a patch for formatting.c (to_char/timestampt()), for 7.1
...
it fixing Y,YY,YYY,YYYY conversion, the docs and regress tests update
are included too.
During the patch testing I found small bug in miscadmin.h in
convertstr() declaration. Here it's fixed too.
Thanks
Karel
2000-11-25 05:00:33 +00:00
Bruce Momjian
91ba4cc761
> > Looking some more, I found some other places that need a space (I
...
> > suspect...), so here is an updated patch.
>
> This seems like the wrong way to go about it, because anytime anyone
> changes any elog output anywhere, we'll risk another failure. If
> syslog can't cope with empty lines, I think the right fix is for the
> output-to-syslog routine to change the data just before sending ---
> then there is only one place to fix. See the syslog output routine in
> src/backend/utils/error/elog.c.
Makes sense. Here's a new patch, now the output even looks better:
Larry Rosenman
2000-11-25 04:38:00 +00:00
Bruce Momjian
d5d23dde25
Allow jdbc to return proper server version number
...
Anders Bengtsson
2000-11-25 04:32:12 +00:00
Bruce Momjian
9d5098ca78
Rename GUC name from unixsocket to unix_socket_directory
2000-11-25 04:13:18 +00:00
Tom Lane
7a161ac3b7
Clean up comments, organize code snippets added at different times into
...
a slightly less random order.
2000-11-25 03:45:47 +00:00
Peter Eisentraut
249fe81c99
Print bit strings as B'...' when INSERT commands are dumped.
2000-11-24 22:32:26 +00:00
Peter Eisentraut
5b00ea9e50
Make SET SESSION CHARACTERISTICS compliant with SQL 99. Remove redundant,
...
non-standard clauses. Allow CHARACTERISTICS as unquoted identifier.
Merge related reference pages.
2000-11-24 20:16:40 +00:00
Peter Eisentraut
f1ddc19b10
update list of places to change version numbers; reformat
2000-11-24 18:28:20 +00:00
Peter Eisentraut
4cbeefb1e8
Remove obsolete test suite
2000-11-24 17:14:07 +00:00
Tom Lane
80dab5bd69
A catalog cache that never caches isn't much of a cache :-(. Mea culpa.
...
Thanks to Brian Hirt for pointing out the performance lossage.
2000-11-24 04:16:12 +00:00
Tom Lane
48437f5c3a
Ensure that mergejoin plan will be considered for FULL OUTER JOIN even
...
if enable_mergejoin = OFF. Must do this, because we have no other
implementation method for full joins.
2000-11-23 03:57:31 +00:00
Vadim B. Mikheev
5479c11bfa
Set fdstate in fileNameOpenFile.
2000-11-23 01:08:57 +00:00
Peter Eisentraut
dc3fb8b152
Fix output file names for new driver
2000-11-22 16:40:22 +00:00
Peter Eisentraut
f31844f15f
Bit string regression test
...
from Adriaan Joubert <a.joubert@albourne.com >
2000-11-22 13:37:44 +00:00
Peter Eisentraut
0edf928f58
Fix for bitsubstr when third argument is missing (i.e., -1).
...
From Adriaan Joubert <a.joubert@albourne.com >
2000-11-22 13:35:35 +00:00
Peter Eisentraut
cf4ad01d36
Point runtest and runcheck targets at new regression test driver.
2000-11-22 13:16:24 +00:00
Bruce Momjian
287fd7a995
Recommit socket path fix. It works now.
2000-11-22 03:40:19 +00:00
Bruce Momjian
e921ff1779
Back out socket path until it works.
2000-11-22 02:47:30 +00:00
Bruce Momjian
c8b9b14df1
Back out socket file path change until it works.
2000-11-22 02:38:25 +00:00
Hiroshi Inoue
36933b4628
avoid opening view files.
2000-11-22 02:19:14 +00:00
Peter Eisentraut
5ce0804b51
Allow running without a "schedule" file. This enables you to run tests
...
standalone, e.g., "./pg_regress int2".
2000-11-22 01:47:47 +00:00
Bruce Momjian
98e195d23b
Make socket option specify just the directory, not the full path.
2000-11-22 01:41:14 +00:00
Peter Eisentraut
9bc6fb37b9
geometry result files for unixware
2000-11-22 01:00:54 +00:00
Tom Lane
11391685d1
Tweak resultmap documentation, add to README too.
2000-11-22 00:58:47 +00:00
Peter Eisentraut
90cfa9ac19
Allow for different result files when using GCC versus native compiler.
2000-11-21 23:40:28 +00:00
Peter Eisentraut
fd05f89645
Extend accept/AF_UNIX bug workaround to SCO OpenServer.
2000-11-21 23:03:54 +00:00
Peter Eisentraut
403abf1ca5
Refine log/error messages. Print out the errno message, not the number.
...
Remove timestamps from messages where this would be redundant with the
log_timestamp option.
2000-11-21 22:27:26 +00:00
Peter Eisentraut
a70e74b060
Put external declarations into header files.
2000-11-21 21:16:06 +00:00
Tom Lane
040bb787bc
Install the sample pg_ident.conf file into /home/postgres/testversion/data, just like pg_hba.conf.
2000-11-21 20:55:57 +00:00
Tom Lane
74299f66d5
Improve comments.
2000-11-21 20:48:38 +00:00
Tom Lane
c1257d4c5c
Improve comments in pg_hba.conf.sample and the associated SGML
...
documentation.
2000-11-21 20:44:32 +00:00
Peter Eisentraut
22c528fc5a
Don't hide error message from dropdb.
2000-11-21 17:34:21 +00:00
Vadim B. Mikheev
2536267404
misc
2000-11-21 10:17:57 +00:00
Vadim B. Mikheev
e8ff221d8b
Fix OID bootstraping.
2000-11-21 09:39:57 +00:00
Tom Lane
b31e83f461
Adjust opr_sanity.out for small change in OID allocation.
2000-11-21 04:29:44 +00:00
Tom Lane
837f33cfd9
Add missing #include <errno.h>.
2000-11-21 04:27:39 +00:00
Hiroshi Inoue
c4bc9a8505
keep relations open until they are no longer needed.
2000-11-21 04:01:09 +00:00
Tom Lane
93fcbd140a
Make oidin/oidout produce and consume unsigned representation of Oid,
...
rather than just being aliases for int4in/int4out. Give type Oid a
full set of comparison operators that do proper unsigned comparison,
instead of reusing the int4 comparators. Since pg_dump is now doing
unsigned comparisons of OIDs, it is now *necessary* that we play by
the rules here. In fact, given that btoidcmp() has been doing unsigned
comparison for quite some time, it seems likely that we have index-
corruption problems in 7.0 and before once the Oid counter goes past
2G. Fixing these operators is a necessary step before we can think
about 8-byte Oid, too.
2000-11-21 03:23:21 +00:00
Vadim B. Mikheev
01f2547c6b
Init ShmemVariableCache in BootStrapXLOG()
...
(should fix OID bootstraping).
2000-11-21 02:11:06 +00:00
Tom Lane
fdbd6ca75e
Simplify definition of pg_tables and pg_views views by making use of
...
new separate relkind for views (per some discussion back in September).
I didn't force initdb, but rules regress test will show differences
until you do one.
2000-11-21 01:11:50 +00:00
Tom Lane
3030189b69
Fix erroneous handling of parameters at SubqueryScan plan nodes,
...
per bug report from Don Baccus.
2000-11-21 00:17:59 +00:00
Tom Lane
712af72c77
Fix yacc failures in preproc.y.
2000-11-20 22:03:06 +00:00
Tom Lane
3568cf50e5
Silence gcc warnings.
2000-11-20 21:14:13 +00:00
Vadim B. Mikheev
c07bb9e0ad
No casting to LSN (XLogRecPtr) is required.
2000-11-20 21:12:26 +00:00
Tom Lane
5bb2300b59
Revise handling of oldstyle/newstyle functions per recent discussions
...
in pghackers list. Support for oldstyle internal functions is gone
(no longer needed, since conversion is complete) and pg_language entry
'internal' now implies newstyle call convention. pg_language entry
'newC' is gone; both old and newstyle dynamically loaded C functions
are now called language 'C'. A newstyle function must be identified
by an associated info routine. See src/backend/utils/fmgr/README.
2000-11-20 20:36:57 +00:00
Peter Eisentraut
99198ac6b8
Enable WAL in config.h, not Makefile.global.
2000-11-20 16:52:54 +00:00
Peter Eisentraut
2b1d8bd29a
Include postgres.h before checking #ifdef XLOG.
2000-11-20 16:47:32 +00:00