Peter Eisentraut
40853dd445
Allow pg_dumpall to work with previous releases again. Don't pass the -c
...
option down to pg_dump, where it's useless, and clarify the meaning of -c
in the documentation.
2002-09-07 16:14:33 +00:00
Peter Eisentraut
123baf8310
Fix help output.
2002-09-07 16:12:27 +00:00
Peter Eisentraut
38e444aae6
Make sure the pg_dump tar archiver can handle members larger than 2 GB, but
...
does not create members larger than allowed by the tar format. Also, fix
the generation of the tar header to conform to POSIX.
2002-09-06 21:58:36 +00:00
Bruce Momjian
f37c1c486a
Run pgjindent for Java folks.
2002-09-06 21:23:06 +00:00
Bruce Momjian
847f8b39d7
Fix printf() quote handling and improper exit(), per Tom.
2002-09-06 02:33:47 +00:00
Tom Lane
9a9825f96a
Remove heap_mark4update from AlterTableCreateToastTable. This has
...
never been the correct procedure for locking a relation, and the
recently-found ALTER TABLE bug with adding a constraint and a toast
table in the same command shows why it's a bad idea.
2002-09-06 00:01:53 +00:00
Tom Lane
6fe27ca2fb
Fix some operator-precedence problems. New constructs IS DISTINCT FRM
...
and IS [NOT] OF were not being parsed consistently with other IS forms.
Also, make the world a little safer for functions named LEFT, RIGHT, etc.
2002-09-05 22:52:48 +00:00
Bruce Momjian
e06f4c65b4
Fix compile error.
2002-09-05 22:24:23 +00:00
Bruce Momjian
5fc10c3d17
Remove PGPASSWORDFILE and default to always trying $HOME/.pgpass.
...
Cleanup up memory allocation for $HOME in related psql places.
Update mention of $HOME/.pgpass in the docs; add mention in pg_dumpall.
2002-09-05 22:05:50 +00:00
Tom Lane
b73d8d22f7
Improve opr_sanity regression test to check oprltcmpop and opgtcmpop
...
mergejoin links.
2002-09-05 20:23:19 +00:00
Tom Lane
f4003816f5
Update oidjoins regression test for 7.3 catalogs.
2002-09-05 19:58:14 +00:00
Tom Lane
5b69f695ac
Seems like a good idea for template1 to contain ANALYZE stats for the
...
system tables.
2002-09-05 19:56:57 +00:00
Peter Eisentraut
337da0678a
Assorted fixes for Cygwin:
...
Eliminate the mysterious games that the Cygwin build plays with the linker
flag variables. DLLLIBS is gone, use SHLIB_LINK like everyone else.
Detect cygipc in configure, after the linker flags are set up, otherwise
configure might not work at all.
Make sure everything is covered by make clean.
Fix the build of the new conversion procedure modules.
Add new DLLIMPORT markers where required.
Finally, the compiler complains if we use an explicit
-I/usr/local/include, so don't do that. Curiously, -L/usr/local/lib is
still necessary.
2002-09-05 18:28:46 +00:00
Peter Eisentraut
a11ea5e2a3
Don't use gethostbyname2(). It's not portable and we don't claim to
...
support IPv6 anyway.
2002-09-05 18:27:13 +00:00
Peter Eisentraut
1e91782533
Fix compilation warning. (Cygwin has char* as second argument of
...
recvfrom(), not void*.)
2002-09-05 18:26:18 +00:00
Tom Lane
52c9d25933
Be careful to include postgres.h *before* any system headers, to ensure
...
that the right flavors of largefile-related definitions are seen.
Most of these changes are probably unnecessary, but better safe than
sorry.
2002-09-05 00:43:07 +00:00
Tom Lane
3f63787cbf
Guard against send-lots-and-lots-of-data DoS attack from unauthenticated
...
users, by limiting the length of string we will accept for a password.
Patch by Serguei Mokhov, some editorializing by Tom Lane.
2002-09-04 23:31:35 +00:00
Peter Eisentraut
e43ecb3d1a
Remove leftovers from subproject removals. Fixes for Python and Kerberos
...
configuration.
2002-09-04 22:54:18 +00:00
Peter Eisentraut
be475f92cd
Fix compile warning.
2002-09-04 22:51:23 +00:00
Tom Lane
46eef3c1a3
Fix includes for plperl: ensure postgres.h is included first,
...
remove unnecessary inclusions.
2002-09-04 22:49:37 +00:00
Bruce Momjian
e50f52a074
pgindent run.
2002-09-04 20:31:48 +00:00
Bruce Momjian
4490c7b14b
Update symbols for 7.3.
2002-09-04 19:11:06 +00:00
Bruce Momjian
2355482e28
Update for 7.3 typedefs.
2002-09-04 19:00:01 +00:00
Bruce Momjian
af3cf2cfa8
Update to reflect Tom's suggestions.
2002-09-04 18:45:52 +00:00
Peter Eisentraut
f20e3c33d9
Remove sh -x option that snuck in somehow.
2002-09-04 18:04:57 +00:00
Tom Lane
07c67187bf
Avoid multiple scans of utils/mb/conversion_procs/ subdirectories during
...
'make install'; there are enough of 'em that this slowed down the make
noticeably. Ensure that 'all' is the default make target in all these
directories (defaulting to 'make install' is surprising and dangerous
IMHO). Fix a couple small typos.
2002-09-04 15:45:50 +00:00
Bruce Momjian
7ae3e126e0
File list cleanup.
2002-09-04 07:31:59 +00:00
Bruce Momjian
0a1e41477f
Update files to be changed.
2002-09-04 07:26:37 +00:00
Bruce Momjian
79ecb80c74
Brand 7.3. Ready for beta!
2002-09-04 07:23:04 +00:00
Tatsuo Ishii
97592e6a6c
Refrect the changes to src/test/regress/sql/conversion.sql By Tom.
2002-09-04 02:42:34 +00:00
Tom Lane
b3506006b5
EXTRACT(EPOCH FROM timestamp) gave wrong answers in the int64-timestamp
...
case for timestamptz input, and differently wrong answers in the float-
timestamp case for timestamp input.
2002-09-03 22:55:54 +00:00
Tom Lane
d61de58906
Arrange for the default permissions on a database to allow temp table
...
creation to world, but disallow temp table creation in template1. Per
latest round of pghackers discussion.
I did not force initdb, but the permissions lockdown on template1 will
not take effect unless you do one (or manually REVOKE TEMP ON DATABASE template1 FROM public).
2002-09-03 22:17:35 +00:00
Tom Lane
c7d07b5a45
conversion test fails if there is an existing user named foo. Choose a name
...
somewhat less likely to provoke a conflict.
2002-09-03 22:06:19 +00:00
Peter Eisentraut
77f7763b55
Remove all traces of multibyte and locale options. Clean up comments
...
referring to "multibyte" where it really means character encoding.
2002-09-03 21:45:44 +00:00
Tom Lane
86f27321e2
Work around mktime() brain damage in recent versions of glibc by using
...
a series of localtime() calls to determine the local timezone offset
when mktime() fails. This eliminates regression failures on RHL 7.3,
and should continue to work until it occurs to the glibc boys to break
localtime() as well. By then I hope we'll have our own timezone code...
2002-09-03 19:46:32 +00:00
Tom Lane
4885dabe9d
Eliminate unnecessary dependency on mktime(), and consequent 'Unable to
...
convert date to tm' failures, by using DetermineLocalTimeZone() instead.
2002-09-03 19:41:28 +00:00
Peter Eisentraut
c917660a11
Workaround for format strings that are concatenated from macros
...
(INT64_FORMAT), which gettext cannot handle.
2002-09-03 18:50:54 +00:00
Bruce Momjian
738d13833e
AIX shlib fix for building libpq.so from Tomoyuki Niijima
2002-09-03 17:17:24 +00:00
Tom Lane
a3c9ef766b
I think reindex_index had better get AccessExclusiveLock on the parent
...
heap, not just ExclusiveLock.
2002-09-03 16:00:02 +00:00
Tom Lane
ab82bde7e0
Code review and documentation updates for indisclustered patch.
2002-09-03 01:04:41 +00:00
Tom Lane
00482fde8e
Partial solution for 'unexpected EOF' problem with pg_disconnect: it
...
seems we have a choice between annoying messages and leaking memory
(or dumping core, but that's right out). Patch also fixes several
other problems in pg_disconnect, such as being willing to close a
channel that isn't a PG channel.
2002-09-02 23:41:17 +00:00
Peter Eisentraut
b28b05317d
Translation updates
2002-09-02 22:22:12 +00:00
Peter Eisentraut
35179e8e32
Avoid shell syntax error if list of languages is empty.
2002-09-02 22:19:42 +00:00
Peter Eisentraut
b1bacebea0
Fix typos.
2002-09-02 22:18:56 +00:00
Peter Eisentraut
3851a92f38
Convert control status codes to human-readable strings.
2002-09-02 22:18:26 +00:00
Tom Lane
8c8aa53953
pg_on_connection_loss command for libpgtcl. Patch from
...
Gerhard Hintermayer, revised and documented by Tom Lane.
This patch also fixes a 'must fix' bug: libpgtcl's LISTEN/NOTIFY
support was broken by the recent changes to the PGnotify structure.
Guess that change wasn't quite so safe as we thought.
2002-09-02 21:51:47 +00:00
Tom Lane
8f60f43f2e
Department of second thoughts: make checks for replacing a view slightly
...
more flexible, and improve the error reporting. Also, add documentation
for REPLACE RULE/VIEW.
2002-09-02 20:04:40 +00:00
Bruce Momjian
88958ea875
Improve CVS log grouping.
2002-09-02 17:34:57 +00:00
Tom Lane
460ee04956
Fix breakage introduced by evidently-completely-untested snprintf patch.
2002-09-02 14:43:14 +00:00
Tatsuo Ishii
9f09396c16
Fix conversion regressin test failure.
2002-09-02 13:27:20 +00:00