54bce381a7
Remove FROM warning by fixing query.
2000-06-04 17:52:54 +00:00
0a54de8faf
Removed ELOG_TIMESTAMPS #define in favor of two run-time
...
configuration options `Log_timestamp' and `Log_pid'.
2000-06-04 15:06:34 +00:00
209aa77d98
New ps display code, works on more platforms.
...
Install a default configuration file.
Clean up some funny business in the config file code.
2000-06-04 01:44:38 +00:00
2ea370a3ce
New warning code about auto-created range table entries.
2000-06-03 04:41:34 +00:00
58785757dd
More cleanup of c.h binary macros
2000-06-02 16:40:09 +00:00
a305c7d675
Reverse PG_BINARY defines
2000-06-02 16:33:17 +00:00
cc2b5e5815
Remove NT-specific file open defines by defining our own open macros for
...
"rb" and "wb".
2000-06-02 15:57:44 +00:00
bf1c8f2b3b
heap' xlog records
2000-06-02 10:20:27 +00:00
664dd614d9
If create/drop database are going to call closeAllVfds(), they ought
...
to do it at the last moment before calling system() ... not at some
randomly-chosen earlier point in the routine ...
2000-06-02 04:04:54 +00:00
b659ab07a2
Create an fd.c entry point that is just like plain open(2) except that
...
it will close VFDs if necessary to surmount ENFILE or EMFILE failures.
Make use of this in md.c, xlog.c, and user.c routines that were
formerly vulnerable to these failures. In particular, this should
handle failures of mdblindwrt() that have been observed under heavy
load conditions. (By golly, every other process on the system may
crash after Postgres eats up all the kernel FDs, but Postgres will
keep going!)
2000-06-02 03:58:34 +00:00
bff5dce993
Correct portability problem introduced by yours truly --- I used a
...
conditional expression x?y:z in an awk program. Seems old versions
of awk don't have that ...
2000-06-02 02:00:28 +00:00
a82471f9e4
Keep CVS quiet about derived file guc-file.c.
2000-06-02 00:04:26 +00:00
0672a3c081
Lexer defended us against overlength plain identifiers, but not against
...
overlength quoted identifiers. Death and destruction ensue...
2000-06-01 22:21:05 +00:00
bb8bda3918
The definition for "ProcessConfigFile()" in guc-file.l does not match
...
the prototype in guc.h. The following patch corrects that.
Billy G. Allie
2000-06-01 16:46:50 +00:00
64b4a48ddc
Simplify overly-clever Make rule, which evidently confuses at least
...
some versions of gmake (mine didn't do the right thing, anyway).
2000-06-01 14:52:25 +00:00
228a5e708c
Removed timezone in ResultSet.getTimestamp()
2000-06-01 06:33:01 +00:00
b965c90365
More perl cleanup
2000-06-01 03:07:33 +00:00
0cfe2374a7
Rename perl example eg directory to examples.
2000-06-01 03:05:24 +00:00
726926a523
Update pgcvslog
2000-06-01 01:34:02 +00:00
cbf503180f
Tweak recognition of range-clause pairs so that 'var > $1 AND var < $2'
...
(ie, parameters instead of consts) will be treated as a range query.
We do not know the actual selectivities involved, but it seems like
a good idea to use a smaller estimate than we would use for two unrelated
inequalities.
2000-05-31 15:38:53 +00:00
6a68f42648
The heralded `Grand Unified Configuration scheme' (GUC)
...
That means you can now set your options in either or all of $PGDATA/configuration,
some postmaster option (--enable-fsync=off), or set a SET command. The list of
options is in backend/utils/misc/guc.c, documentation will be written post haste.
pg_options is gone, so is that pq_geqo config file. Also removed were backend -K,
-Q, and -T options (no longer applicable, although -d0 does the same as -Q).
Added to configure an --enable-syslog option.
changed all callers from TPRINTF to elog(DEBUG)
2000-05-31 00:28:42 +00:00
8a437bf523
Update pg_hba.conf with more examples
2000-05-30 17:39:56 +00:00
bb74b18dd0
Update pg_hba.conf.sample with better examples and descriptions
2000-05-30 17:18:25 +00:00
2f52eee2d1
Copy pg_ident.conf.sample into /lib directory. Rename USERAUTH to
...
AUTHTYPE in config file. Patch both branches.
2000-05-30 16:36:15 +00:00
aea9b6e20f
Ooops, looks like I broke fastpath in last changes...
2000-05-30 07:09:23 +00:00
a3cd0654db
Added header files required for ALTER TABLE DROP COLUMN
...
trial implementation.
2000-05-30 06:22:44 +00:00
0f1e39643d
Third round of fmgr updates: eliminate calls using fmgr() and
...
fmgr_faddr() in favor of new-style calls. Lots of cleanup of
sloppy casts to use XXXGetDatum and DatumGetXXX ...
2000-05-30 04:25:00 +00:00
a12a23f0d0
Remove unused include files. Do not touch /port or includes used by defines.
2000-05-30 00:49:57 +00:00
2937505a3e
More <> cleanup
2000-05-29 21:26:04 +00:00
6c944bf3cc
Cleanup of <> and ""
2000-05-29 21:25:07 +00:00
6ed00fee53
Convert array_map to use new fmgr interface.
2000-05-29 21:02:32 +00:00
747527e545
Neglected to add fmgr.h to set of installed headers...
2000-05-29 20:51:35 +00:00
a030113197
Tweak fmgrtab generation so that the F_XXX macros that give OIDs for
...
built-in procedures are named after the prosrc field of pg_proc (ie,
the actual C function name), not the proname field. This did not use
to make a difference back when the two were always the same, but in the
presence of overloaded proname values we'd best try to use the C name
instead. AFAICT this change affects no existing code, but it is
necessary to be able to get at some built-in functions that no macro
was being generated for before.
2000-05-29 20:18:30 +00:00
22a517a40c
Repair problems with overrun of timezone name length. Increase MAXTZLEN
...
to 10, and be consistent about whether it counts the trailing null (it
does not). Also increase MAXDATELEN to be sure no buffer overflows are
caused by the longer MAXTZLEN.
2000-05-29 19:16:57 +00:00
f089c36419
Add analyze.c file for split.
2000-05-29 17:44:17 +00:00
35096b568e
Split vacuum and analyze into separate files
2000-05-29 17:40:45 +00:00
3d669b50ed
Update messages.
2000-05-29 17:11:58 +00:00
84a30b4c41
Make analyze do vacuum/analyze in one step.
2000-05-29 17:07:57 +00:00
6d5cba7c31
More vacuum cleanup
2000-05-29 17:06:15 +00:00
d950c19747
more cleanup
2000-05-29 16:21:05 +00:00
ac4de0cc94
Add analyze log messages for verbose mode.
2000-05-29 16:06:37 +00:00
c3647c3d06
cleanup
2000-05-29 15:48:47 +00:00
659f79be7a
Allow vacuum to perform analyze with shared lock. Update cvs manual.
2000-05-29 15:44:55 +00:00
091126fa28
Generated header files parse.h and fmgroids.h are now copied into
...
the src/include tree, so that -I backend is no longer necessary anywhere.
Also, clean up some bit rot in contrib tree.
2000-05-29 05:45:56 +00:00
18952f6744
Second round of fmgr changes: triggers are now invoked in new style,
...
CurrentTriggerData is history.
2000-05-29 01:59:17 +00:00
147ccf5c80
More vacuum cleanups
2000-05-29 01:55:07 +00:00
f3650653c6
More vacuum renaming.
2000-05-29 01:46:00 +00:00
80648891cc
Miscellaneous cleanups of places that needed to account for new
...
pg_language entries.
2000-05-28 20:34:52 +00:00
ab843085f1
Constant-expression simplifier now knows how to simplify strict functions
...
that have at least one constant-NULL input, even if other inputs are
not constants.
2000-05-28 20:33:28 +00:00
305d3ce576
Install fmgr rewrite doc as README file.
...
Need to update user docs still ...
2000-05-28 18:06:55 +00:00