Peter Eisentraut
94c502f1db
Translation updates
2004-10-28 09:01:06 +00:00
Peter Eisentraut
fc4cfc366d
Translation updates
2004-10-28 08:54:09 +00:00
Neil Conway
6f1b3cf19c
Use AllocateFile(), FreeFile() and palloc() rather than fopen(), fclose()
...
and malloc() in pgstat.c, respectively. This simplifies error recovery,
as well as being more consistent with the rest of the backend.
2004-10-28 01:38:41 +00:00
Tom Lane
e6f9bf9b7f
On Windows, force a checkpoint just before dropping a database's physical
...
files and directories. This ensures that the bgwriter will close any open
file references it is holding for files therein, which is needed for the
rmdir() to succeed. Andrew Dunstan and Tom Lane.
2004-10-28 00:39:59 +00:00
Bruce Momjian
a7049b52e3
Have pg_ctl status always output to stdout, even stopped status, not stderr.
2004-10-27 19:44:14 +00:00
Bruce Momjian
43dc050525
Fix Cygwin compile for timezone.
2004-10-27 19:14:07 +00:00
Tom Lane
b2b0673e4b
When displaying a Var that is a reference to a column of an unnamed join,
...
try to display it as a reference to the underlying column instead. This
is a legitimate substitution (it wouldn't be for a named join) and it
fixes some cases where the display would otherwise be ambiguous. Per
example from Sim Zacks.
2004-10-27 18:09:41 +00:00
Bruce Momjian
3fe704209a
Canonicalize Win32 path coming in from pg_ctl -D, idea from Magnus.
2004-10-27 17:17:09 +00:00
Peter Eisentraut
118bd91809
Translation update
2004-10-27 11:52:28 +00:00
Neil Conway
3bc89ac9eb
Add a missing dependency: the "install" target requires "all" to have
...
been built before it. Per report from Kris Jurka.
2004-10-27 11:51:40 +00:00
Peter Eisentraut
2514e904da
New translation
2004-10-27 11:44:09 +00:00
Peter Eisentraut
ad6b3975c9
Translation updates
2004-10-27 11:22:18 +00:00
Peter Eisentraut
2db0bde40e
Translation update
2004-10-27 11:13:29 +00:00
Peter Eisentraut
cd92d85d11
Translation updates
2004-10-27 11:09:33 +00:00
Peter Eisentraut
979b0be4c3
Translation updates
2004-10-27 10:22:47 +00:00
Peter Eisentraut
eb7fc3eb1f
Translation updates
2004-10-27 10:13:49 +00:00
Neil Conway
28d8ff7948
Trivial fix: clarify a comment.
2004-10-27 07:26:56 +00:00
Bruce Momjian
b69170481e
Add reminder to update copyright in sgml file.
2004-10-26 23:42:49 +00:00
Tom Lane
83cd2d8b0f
Make heap_fetch API more consistent by having the buffer remain pinned
...
in all cases when keep_buf = true. This allows ANALYZE's inner loop to
use heap_release_fetch, which saves multiple buffer lookups for the same
page and avoids overestimation of cost by the vacuum cost mechanism.
2004-10-26 16:05:03 +00:00
Tom Lane
2c66dcf684
In the new dispensation where REINDEX doesn't take exclusive lock on
...
the parent table, it's essential that all index accesses take some kind
of lock on the index. I had missed vacuumlazy.c :-( ...
2004-10-25 15:42:02 +00:00
Neil Conway
1d6b096941
Update copyright information in documentation. Also, add a note
...
to RELEASE_CHANGES so that this is not forgotten in the future.
2004-10-25 06:40:39 +00:00
Neil Conway
ea7f2f6a58
Remove three unnecessary casts from a pointer type to char * when calling
...
pfree().
2004-10-25 06:27:21 +00:00
Neil Conway
86bcfc788b
Fix tyop in comment.
2004-10-25 03:23:02 +00:00
Tom Lane
02ca529dd8
Make error message more verbose, in hopes of avoiding misunderstandings
...
such as bug #1293 .
2004-10-25 03:08:29 +00:00
Neil Conway
8ec05b28b7
Modify hash_create() to elog(ERROR) if an error occurs, rather than
...
returning a NULL pointer (some callers remembered to check the return
value, but some did not -- it is safer to just bail out).
Also, cleanup pgstat.c to use elog(ERROR) rather than elog(LOG) followed
by exit().
2004-10-25 00:46:43 +00:00
Tom Lane
549a4bd6fe
Adjust message to not be misleading on Windows.
...
Andrew Dunstan
2004-10-24 22:09:33 +00:00
Tom Lane
39fccf0277
On Windows, cause get_progname to strip any .EXE suffix.
...
Andrew Dunstan
2004-10-24 22:08:19 +00:00
Tom Lane
85b2facdd8
Write config files as text not binary, per Magnus Hagander.
2004-10-24 15:55:29 +00:00
Tom Lane
15db03181a
Sync timezone data with latest zic database (dated Oct 11 2004).
2004-10-24 15:09:57 +00:00
Tom Lane
261f184f0c
Update RELEASE_CHANGES to mention updating the timezone database as
...
a routine part of release prep.
2004-10-24 15:01:54 +00:00
Dennis Bjorklund
1b9c10275a
Translation update
2004-10-24 14:55:04 +00:00
Dennis Bjorklund
8b9aaea888
Translation update
2004-10-23 14:48:03 +00:00
Dennis Bjorklund
fea9cf6231
Translation updates
2004-10-23 07:29:27 +00:00
Dennis Bjorklund
3b15cc9129
Translation update
2004-10-23 06:48:59 +00:00
Dennis Bjorklund
f4eaed6bd9
Translation updates
2004-10-23 06:40:24 +00:00
Dennis Bjorklund
0b7705fff8
Translation updates
2004-10-23 06:32:53 +00:00
Tom Lane
529db99c6e
Avoid overflow in cost_sort when work_mem exceeds 1Gb.
2004-10-23 00:05:27 +00:00
Tom Lane
6e3cc2029d
Fix tsearch build problems.
...
Magnus Hagander
2004-10-22 22:33:58 +00:00
Tom Lane
521408a56f
Don't use LC_MESSAGES value on WIN32, since it doesn't work.
...
Magnus Hagander
2004-10-22 22:30:57 +00:00
Tom Lane
9e83d73b6c
Add a GUC_SUPERUSER_ONLY flag to mark GUC variables that should not be
...
examinable by non-superusers, and use it to protect the recently-added
GUC variables for data directory and config files. For now I have only
flagged those variables that could be used to deduce something about
the server's filesystem layout, but possibly we should also mark vars
related to logging settings and other admin-only information?
2004-10-22 19:48:19 +00:00
Tom Lane
9309d5f2ba
In ALTER COLUMN TYPE, strip any implicit coercion operations appearing
...
at the top level of the column's old default expression before adding
an implicit coercion to the new column type. This seems to satisfy the
principle of least surprise, as per discussion of bug #1290 .
2004-10-22 17:20:05 +00:00
Peter Eisentraut
4733dcc592
Translation updates
2004-10-22 16:05:02 +00:00
Peter Eisentraut
77c0204a37
Message styling
2004-10-22 16:04:35 +00:00
Dennis Bjorklund
c70b7b7a6c
Translation update
2004-10-22 14:14:24 +00:00
Dennis Bjorklund
f4eb440279
New swedish translation of pg_config
2004-10-22 14:13:04 +00:00
Dennis Bjorklund
26149e9738
Translation updates
2004-10-22 13:49:15 +00:00
Dennis Bjorklund
cae2018b49
Translation updates
2004-10-22 13:41:47 +00:00
Dennis Bjorklund
7e62f0578a
Translation updates.
2004-10-22 12:04:13 +00:00
Neil Conway
121aca39ba
Minor code cleanup: hdefault() only ever returned "true", so it may as
...
well be declared to return "void" to save callers the trouble of
checking for errors.
2004-10-22 07:21:06 +00:00
Tom Lane
c58675b428
Prevent pg_ctl from being run as root. Since it uses configuration files
...
owned by postgres, doing "pg_ctl start" as root could allow a privilege
escalation attack, as pointed out by iDEFENSE. Of course the postmaster would
fail, but we ought to fail a little sooner to protect sysadmins unfamiliar
with Postgres. The chosen fix is to disable root use of pg_ctl in all cases,
just to be confident there are no other holes.
2004-10-22 00:24:18 +00:00