OSDN Git Service
Peter Eisentraut [Mon, 18 Oct 2004 22:18:03 +0000 (22:18 +0000)]
Translation update
Tom Lane [Mon, 18 Oct 2004 22:00:42 +0000 (22:00 +0000)]
Add PQprepare/PQsendPrepared functions to libpq to support preparing
statements without necessarily specifying the datatypes of their parameters.
Abhijit Menon-Sen with some help from Tom Lane.
Bruce Momjian [Mon, 18 Oct 2004 19:08:58 +0000 (19:08 +0000)]
Remove use of "miscadmin.h" in port C files and remove test for frontend
in miscadmin.h.
Peter Eisentraut [Mon, 18 Oct 2004 17:58:54 +0000 (17:58 +0000)]
New translation
Peter Eisentraut [Mon, 18 Oct 2004 17:56:46 +0000 (17:56 +0000)]
Translation updates
Peter Eisentraut [Mon, 18 Oct 2004 17:53:40 +0000 (17:53 +0000)]
New translation
Peter Eisentraut [Mon, 18 Oct 2004 17:09:03 +0000 (17:09 +0000)]
Updated SQL key words table
Bruce Momjian [Mon, 18 Oct 2004 16:24:40 +0000 (16:24 +0000)]
The attached patch fixes psql's win32 frontend-only build, by using
pg_strcasecmp in variables.c, and #ifdef'ing out PostmasterPid in
miscadmin.h.
Dave Page
Bruce Momjian [Mon, 18 Oct 2004 16:16:20 +0000 (16:16 +0000)]
Force rebuild.
Bruce Momjian [Mon, 18 Oct 2004 16:13:43 +0000 (16:13 +0000)]
Improve indentation of sublists:
< The proper solution to this will probably the use of a master/slave
< replication solution like Sloney and a connection pooling tool like
< pgpool.
> The proper solution to this will probably the use of a master/slave
> replication solution like Sloney and a connection pooling tool like
> pgpool.
114,
116c114,116
< You can use any of the master/slave replication servers to use a
< standby server for data warehousing. To allow read/write queries to
< multiple servers, you need multi-master replication like pgcluster.
> You can use any of the master/slave replication servers to use a
> standby server for data warehousing. To allow read/write queries to
> multiple servers, you need multi-master replication like pgcluster.
166,
167c166,167
< Currently large objects entries do not have owners. Permissions can
< only be set at the pg_largeobject table level.
> Currently large objects entries do not have owners. Permissions can
> only be set at the pg_largeobject table level.
173c173
< This requires the TOAST column to be stored EXTERNAL.
> This requires the TOAST column to be stored EXTERNAL.
359,
360c359,360
< One complexity is whether moving a schema should move all existing
< schema objects or just define the location for future object creation.
> One complexity is whether moving a schema should move all existing
> schema objects or just define the location for future object creation.
364,
365c364,365
< Currently non-global system tables must be in the default database
< schema. Global system tables can never be moved.
> Currently non-global system tables must be in the default database
> schema. Global system tables can never be moved.
371,
375c371,375
< This might require some background daemon to maintain clustering
< during periods of low usage. It might also require tables to be only
< paritally filled for easier reorganization. Another idea would
< be to create a merged heap/index data file so an index lookup would
< automatically access the heap data too.
> This might require some background daemon to maintain clustering
> during periods of low usage. It might also require tables to be only
> paritally filled for easier reorganization. Another idea would
> be to create a merged heap/index data file so an index lookup would
> automatically access the heap data too.
379,
380c379,380
< To do this, determine the ideal cluster index for each system
< table and set the cluster setting during initdb.
> To do this, determine the ideal cluster index for each system
> table and set the cluster setting during initdb.
385,
386c385,386
< This requires the use of a savepoint before each COPY line is
< processed, with ROLLBACK on COPY failure.
> This requires the use of a savepoint before each COPY line is
> processed, with ROLLBACK on COPY failure.
395,
398c395,398
< This requires using the row ctid to map cursor rows back to the
< original heap row. This become more complicated if WITH HOLD cursors
< are to be supported because WITH HOLD cursors have a copy of the row
< and no FOR UPDATE lock.
> This requires using the row ctid to map cursor rows back to the
> original heap row. This become more complicated if WITH HOLD cursors
> are to be supported because WITH HOLD cursors have a copy of the row
> and no FOR UPDATE lock.
405,
406c405,406
< Because WITH HOLD cursors exist outside transactions, this allows
< them to be listed so they can be closed.
> Because WITH HOLD cursors exist outside transactions, this allows
> them to be listed so they can be closed.
413,
415c413,415
< This is useful for returning the auto-generated key for an INSERT.
< One complication is how to handle rules that run as part of
< the insert.
> This is useful for returning the auto-generated key for an INSERT.
> One complication is how to handle rules that run as part of
> the insert.
422c422
< This is basically the same as SET search_path.
> This is basically the same as SET search_path.
426,
427c426,427
< This requires a checking function to be called after the server
< configuration file is read.
> This requires a checking function to be called after the server
> configuration file is read.
432c432
< Currently only constants are supported.
> Currently only constants are supported.
438,
439c438,439
< This requires the cached PL/PgSQL byte code to be invalidated when
< an object referenced in the function is changed.
> This requires the cached PL/PgSQL byte code to be invalidated when
> an object referenced in the function is changed.
512,
513c512,513
< Document differences between ecpg and the SQL standard and
< information about the Informix-compatibility module.
> Document differences between ecpg and the SQL standard and
> information about the Informix-compatibility module.
Michael Meskes [Mon, 18 Oct 2004 13:36:23 +0000 (13:36 +0000)]
Synced parser
Bruce Momjian [Mon, 18 Oct 2004 11:45:26 +0000 (11:45 +0000)]
Update Japanese FAQ.
Jun Kuwamura
Bruce Momjian [Mon, 18 Oct 2004 03:27:14 +0000 (03:27 +0000)]
Update wording:
* Allow a database in tablespace t1 with tables created in tablespace t2
to be used as a template for a new database created with default
tablespace t2
All objects in the default database tablespace must have default tablespace
specifications. This is because new databases are created by copying
directories. If you mix default tablespace tables and tablespace-specified
tables in the same directory, creating a new database from such a mixed
directory would create a new database with tables that had incorrect
explicit tablespaces. To fix this would require modifying pg_class in the
newly copied database, which we don't currently do.
Bruce Momjian [Mon, 18 Oct 2004 02:56:42 +0000 (02:56 +0000)]
Add:
>
> * Allow a database in tablespace t1 with tables created in tablespace t2
> to be used as a template for a new database created with default
> tablespace t2
>
> All objects in the default database tablespace must have default tablespace
> specifications. This is because new databases are created by copying
> directories. If you mix default tablespace tables and tablespace-specified
> tables in the same directory, creating a new database from such a mixed
> directory would create a new database with tables that had incorrect
> explicit tablespaces. To fix this would require modifying pg_class in the
> newly copied database, which we don't currently do.
Neil Conway [Mon, 18 Oct 2004 01:45:38 +0000 (01:45 +0000)]
Trivial fix: remove a pointless cast.
Tom Lane [Mon, 18 Oct 2004 00:20:41 +0000 (00:20 +0000)]
Tweak pg_dump to handle default tablespaces correctly --- same logic
as the corrected pg_get_indexdef code.
Bruce Momjian [Sun, 17 Oct 2004 23:53:30 +0000 (23:53 +0000)]
Better document win32_open and its ability to allow concurrent
unlink/rename().
Bruce Momjian [Sun, 17 Oct 2004 23:39:22 +0000 (23:39 +0000)]
Fix some typos.
Tom Lane [Sun, 17 Oct 2004 23:09:31 +0000 (23:09 +0000)]
Make the standard stopword files be sought relative to share_dir, so
that a tsearch2 installation can be relocatable.
Tom Lane [Sun, 17 Oct 2004 22:01:51 +0000 (22:01 +0000)]
Allow background writing to be shut down by setting limit values to zero.
This does not disable the bgwriter process: it still has to wake up often
enough to collect fsync requests from backends in a timely fashion. But
it responds to the recent gripe about not being able to prevent the disk
from being spun up constantly.
Tom Lane [Sun, 17 Oct 2004 21:17:27 +0000 (21:17 +0000)]
pg_get_indexdef() didn't do quite the right thing with identifying
an index's tablespace.
Peter Eisentraut [Sun, 17 Oct 2004 21:12:55 +0000 (21:12 +0000)]
New translation
Peter Eisentraut [Sun, 17 Oct 2004 21:10:25 +0000 (21:10 +0000)]
New translation
Peter Eisentraut [Sun, 17 Oct 2004 21:08:22 +0000 (21:08 +0000)]
Translation update
Peter Eisentraut [Sun, 17 Oct 2004 21:05:03 +0000 (21:05 +0000)]
Translation updates
Peter Eisentraut [Sun, 17 Oct 2004 21:04:41 +0000 (21:04 +0000)]
Adjust message
Tom Lane [Sun, 17 Oct 2004 20:47:21 +0000 (20:47 +0000)]
Give a more user-friendly error message in situation where CREATE DATABASE
specifies a new default tablespace and the template database already has
some tables in that tablespace. There isn't any way to solve this fully
without modifying the clone database's pg_class contents, so for now the
best we can do is issue a better error message.
Tom Lane [Sun, 17 Oct 2004 20:02:26 +0000 (20:02 +0000)]
Make locale_messages_assign() really work on Windows; the prior hack
only covered the case of assigning "", and failed to recognize that
actually setlocale(LC_MESSAGES,...) does not work at all on this platform.
Magnus Hagander, some code prettification by Tom Lane.
Tom Lane [Sat, 16 Oct 2004 22:52:55 +0000 (22:52 +0000)]
Remove dllist.c from libpq. It's overkill for what libpq needs; we can
just stick a list-link into struct PGnotify instead. Result is a smaller
faster and more robust library (mainly because we reduce the number of
malloc's and free's involved in notify processing), plus less pollution
of application link-symbol namespace.
Tom Lane [Sat, 16 Oct 2004 21:50:02 +0000 (21:50 +0000)]
Include dllist.c directly instead of assuming that libpq will provide it.
Whack some semblance of project-conventions-conformance into pg_autovacuum.h.
Tom Lane [Sat, 16 Oct 2004 21:16:36 +0000 (21:16 +0000)]
Give a more user-friendly error message in case where a table is created
in a schema whose default tablespace has been dropped.
Tom Lane [Sat, 16 Oct 2004 20:10:57 +0000 (20:10 +0000)]
Generate the various .def files for libpq DLLs from a single list of
exportable functions. The .def files are removed from CVS, but will
still be present in distribution tarballs, since we can't assume that
Windows boxes will have sed.
Tom Lane [Sat, 16 Oct 2004 19:08:38 +0000 (19:08 +0000)]
Limit NBuffers and some related values to INT_MAX / BLCKSZ, to prevent
arithmetic overflow during initial sizing calculations. This is not
water-tight but it should avoid the grossest sorts of failures.
Tom Lane [Sat, 16 Oct 2004 18:57:26 +0000 (18:57 +0000)]
Give the ResourceOwner mechanism full responsibility for releasing buffer
pins at end of transaction, and reduce AtEOXact_Buffers to an Assert
cross-check that this was done correctly. When not USE_ASSERT_CHECKING,
AtEOXact_Buffers is a complete no-op. This gets rid of an O(NBuffers)
bottleneck during transaction commit/abort, which recent testing has shown
becomes significant above a few tens of thousands of shared buffers.
Tom Lane [Sat, 16 Oct 2004 18:05:07 +0000 (18:05 +0000)]
Remove BufferLocks[] array in favor of a single pointer to the buffer
(if any) currently waited for by LockBufferForCleanup(), which is all
that we were using it for anymore. Saves some space and eliminates
proportional-to-NBuffers slowdown in UnlockBuffers().
Bruce Momjian [Sat, 16 Oct 2004 03:32:08 +0000 (03:32 +0000)]
Fix Cygwin using of pg_ctl by not usig START.
Reini Urban
Bruce Momjian [Sat, 16 Oct 2004 03:26:43 +0000 (03:26 +0000)]
Export only required symbols in libpq on Win32.
Magnus Hagander
Bruce Momjian [Sat, 16 Oct 2004 03:10:17 +0000 (03:10 +0000)]
Allow pg_ctl to determine the server is up when getting a request for a
password.
Make password error message a #define and use it consistently.
Sean Chittenden
Tom Lane [Fri, 15 Oct 2004 22:40:29 +0000 (22:40 +0000)]
Repair possible failure to update hint bits back to disk, per
http://archives.postgresql.org/pgsql-hackers/2004-10/msg00464.php.
This fix is intended to be permanent: it moves the responsibility for
calling SetBufferCommitInfoNeedsSave() into the tqual.c routines,
eliminating the requirement for callers to test whether t_infomask changed.
Also, tighten validity checking on buffer IDs in bufmgr.c --- several
routines were paranoid about out-of-range shared buffer numbers but not
about out-of-range local ones, which seems a tad pointless.
Bruce Momjian [Fri, 15 Oct 2004 17:10:58 +0000 (17:10 +0000)]
The previous build rules caused each binary to be re-linked on every
"make", even if nothing had changed. With this patch, it's only relinked
if it's actually updated.
//Magnus
PS. Yes, the old buildrule for the .rc file is still needed, as it's
used by pgevent.rc (or any other binary in the future that would need
it's own .rc file)
Magnus Hagander
Bruce Momjian [Fri, 15 Oct 2004 17:08:26 +0000 (17:08 +0000)]
I have attached 5 patches (split up for ease of review) to plperl.c.
1. Two minor cleanups:
- We don't need to call hv_exists+hv_fetch; we should just check the
return value of hv_fetch.
- newSVpv("undef",0) is the string "undef", not a real undef.
2. This should fix the bug Andrew Dunstan described in a recent -hackers
post. It replaces three bogus "eval_pv(key, 0)" calls with newSVpv,
and eliminates another redundant hv_exists+hv_fetch pair.
3. plperl_build_tuple_argument builds up a string of Perl code to create
a hash representing the tuple. This patch creates the hash directly.
4. Another minor cleanup: replace a couple of av_store()s with av_push.
5. Analogous to #3 for plperl_trigger_build_args. This patch removes the
static sv_add_tuple_value function, which does much the same as two
other utility functions defined later, and merges the functionality
into plperl_hash_from_tuple.
I have tested the patches to the best of my limited ability, but I would
appreciate it very much if someone else could review and test them too.
(Thanks to Andrew and David Fetter for their help with some testing.)
Abhijit Menon-Sen
Bruce Momjian [Fri, 15 Oct 2004 16:51:48 +0000 (16:51 +0000)]
This patch clarifies the usage of references in PL/Perl :)
David Fetter
Bruce Momjian [Fri, 15 Oct 2004 16:50:31 +0000 (16:50 +0000)]
Have log_duration only output when log_statement has printed the query.
This handles the new multiple log_statement values.
Ed L.
Bruce Momjian [Fri, 15 Oct 2004 16:27:07 +0000 (16:27 +0000)]
Update wording.
Bruce Momjian [Fri, 15 Oct 2004 16:18:35 +0000 (16:18 +0000)]
Update heading of Cygwin FAQ to be Cygwin-specific.
Bruce Momjian [Fri, 15 Oct 2004 16:10:31 +0000 (16:10 +0000)]
New wording on the three standards.
Bruce Momjian [Fri, 15 Oct 2004 05:11:00 +0000 (05:11 +0000)]
> This lets you do something like:
>
> ./configure LDFLAGS=-static-libgcc LDFLAGS_SL=-static-libgcc
>
> to produce binaries that do not depend on libgcc_s.so at all.
Oliver Jowett
Bruce Momjian [Fri, 15 Oct 2004 05:02:31 +0000 (05:02 +0000)]
Allow psql booleans to use OFF or off.
Michael Paesold
Bruce Momjian [Fri, 15 Oct 2004 04:54:33 +0000 (04:54 +0000)]
Fix pg_ctl -D handling for Win32:
C:\msys\1.0\home\y-asaba>pg_ctl -D data restart
waiting for postmaster to shut down...LOG: received smart shutdown
request.
LOG: shutting down
LOG: database system is shut down
done
postmaster stopped
postmaster starting
C:\msys\1.0\home\y-asaba>postmaster.exe: invalid argument: "'-D'"
Try "postmaster.exe --help" for more information.
Yoshiyuki Asaba
Bruce Momjian [Fri, 15 Oct 2004 04:32:28 +0000 (04:32 +0000)]
Add full path in error report for version mismatch of binaries.
Neil Conway [Fri, 15 Oct 2004 01:36:12 +0000 (01:36 +0000)]
psql code cleanup:
- refactor a bunch of code to call a separate function print_msg() which
checks whether "silent mode" is enabled before printing an error
message.
- rename "silence_mode" to "silent_mode", which IMHO makes more sense
- make the error messages we emit in "waiting" mode more consistent; I
believe this fixes a recent error message regression
Bruce Momjian [Thu, 14 Oct 2004 22:30:30 +0000 (22:30 +0000)]
Update mingw faq.
Bruce Momjian [Thu, 14 Oct 2004 22:24:53 +0000 (22:24 +0000)]
Update Win32 fAQ.
Bruce Momjian [Thu, 14 Oct 2004 22:17:57 +0000 (22:17 +0000)]
Add:
> * Allow libpq to access SQLSTATE so pg_ctl can test for connection failure
>
> This would be used for checking if the server is up.
>
Bruce Momjian [Thu, 14 Oct 2004 21:47:15 +0000 (21:47 +0000)]
Typo cleanup.
Bruce Momjian [Thu, 14 Oct 2004 21:46:18 +0000 (21:46 +0000)]
Update standards names.
Bruce Momjian [Thu, 14 Oct 2004 21:39:15 +0000 (21:39 +0000)]
Update 2003 as an official standard.
Bruce Momjian [Thu, 14 Oct 2004 20:23:46 +0000 (20:23 +0000)]
Add 'int' cast for getpid() because some Solaris releases return long
for getpid().
Bruce Momjian [Thu, 14 Oct 2004 19:26:40 +0000 (19:26 +0000)]
Add:
<
> * Prevent inet cast to cidr if the unmasked bits are not zero, or
> zero bits
Bruce Momjian [Thu, 14 Oct 2004 19:15:02 +0000 (19:15 +0000)]
Add "draft".
Bruce Momjian [Thu, 14 Oct 2004 19:13:12 +0000 (19:13 +0000)]
Reorder links.
Bruce Momjian [Thu, 14 Oct 2004 19:10:30 +0000 (19:10 +0000)]
More URL updates.
Bruce Momjian [Thu, 14 Oct 2004 19:08:39 +0000 (19:08 +0000)]
Update markup.
Bruce Momjian [Thu, 14 Oct 2004 19:07:57 +0000 (19:07 +0000)]
New urls.
Bruce Momjian [Thu, 14 Oct 2004 19:04:19 +0000 (19:04 +0000)]
Working improvement.
Bruce Momjian [Thu, 14 Oct 2004 19:02:08 +0000 (19:02 +0000)]
Fix markup.
Bruce Momjian [Thu, 14 Oct 2004 19:00:42 +0000 (19:00 +0000)]
Add standards URL's.
Bruce Momjian [Wed, 13 Oct 2004 14:24:16 +0000 (14:24 +0000)]
pg_restore wording improvement, per Peter.
Bruce Momjian [Wed, 13 Oct 2004 10:35:05 +0000 (10:35 +0000)]
Enable service use by Cygwin of pg_ctl.
Bruce Momjian [Wed, 13 Oct 2004 10:20:04 +0000 (10:20 +0000)]
Allow compiles for Cygwin /contrib modules.
Reini Urban
Bruce Momjian [Wed, 13 Oct 2004 09:51:47 +0000 (09:51 +0000)]
Enable static lib builds on Win32 and Cygwin.
Neil Conway [Wed, 13 Oct 2004 01:26:42 +0000 (01:26 +0000)]
Cleanup some unnecessary void * casts when using pfree() in contrib/xml
and contrib/xml2
Neil Conway [Wed, 13 Oct 2004 01:25:13 +0000 (01:25 +0000)]
More minor cosmetic improvements:
- remove another senseless "extern" keyword that was applied to a
function definition
- change a foo more function signatures from "some_type foo()" to
"some_type foo(void)"
- rewrite another K&R style function definition
- make the type of the "action" function pointer in the KeyWord struct
in src/backend/utils/adt/formatting.c more precise
Neil Conway [Wed, 13 Oct 2004 01:22:31 +0000 (01:22 +0000)]
Unbreak regression tests (Peter's recent checkin to executor/spi.c did
not update some error message text).
Bruce Momjian [Wed, 13 Oct 2004 01:03:11 +0000 (01:03 +0000)]
Add:
> * Add RESET CONNECTION command to reset all session state
329a331,334
> This would include resetting of all variables (RESET ALL), dropping of
> all temporary tables, removal of any NOTIFYs, etc. This could be used
> for connection pooling. We could also change RESET ALL to have this
> functionality.
Bruce Momjian [Wed, 13 Oct 2004 00:42:53 +0000 (00:42 +0000)]
Clarify pg_restore --help wording.
Bruce Momjian [Tue, 12 Oct 2004 22:20:17 +0000 (22:20 +0000)]
Update Cygwin build to not use DLLINIT, per Cygwin report from Reini
Urban
Peter Eisentraut [Tue, 12 Oct 2004 21:54:45 +0000 (21:54 +0000)]
Message style revisions
Peter Eisentraut [Tue, 12 Oct 2004 18:10:16 +0000 (18:10 +0000)]
New translation
Peter Eisentraut [Tue, 12 Oct 2004 18:01:20 +0000 (18:01 +0000)]
Translation updates
Peter Eisentraut [Tue, 12 Oct 2004 17:57:14 +0000 (17:57 +0000)]
Translation update
Tom Lane [Tue, 12 Oct 2004 15:44:15 +0000 (15:44 +0000)]
plpgsql EXIT construct forgot to downcase or quote-strip its identifier
argument, leading to label matching failures at run-time. Per report from
Patrick Fiche. Also, fix it so that an unrecognized label argument draws
a more useful error message than 'syntax error'.
Neil Conway [Tue, 12 Oct 2004 04:48:36 +0000 (04:48 +0000)]
Fix vpath build break, induced by Bruce's recent commit.
Neil Conway [Tue, 12 Oct 2004 01:50:04 +0000 (01:50 +0000)]
Fix a copy-and-paste error: give a distinct memory context a distinct
name, mainly for debugging purposes.
Tom Lane [Tue, 12 Oct 2004 01:49:48 +0000 (01:49 +0000)]
Update reference to pgsql-server.
Bruce Momjian [Tue, 12 Oct 2004 01:04:11 +0000 (01:04 +0000)]
Add some pg_config_path.h dependencies for places that include
pg_config_paths.h outside of /src/port.
Tom Lane [Mon, 11 Oct 2004 23:27:23 +0000 (23:27 +0000)]
Use -fPIC not -fpic for BSDen on Sparc. Also switch from
$(LD) -x -Bshareable to $(CC) -shared on OpenBSD (I suspect this
should be carried over to the other two as well, but will refrain
pending suggestions from people who actually use those platforms).
Per Stefan Kaltenbrunner.
Tom Lane [Mon, 11 Oct 2004 22:57:00 +0000 (22:57 +0000)]
Fix OR-index-scan planner to recognize that a partial index is usable
for scanning one term of an OR clause if the index's predicate is implied
by that same OR clause term (possibly in conjunction with top-level WHERE
clauses). Per recent example from Dawid Kuroczko,
http://archives.postgresql.org/pgsql-performance/2004-10/msg00095.php
Also, fix a very long-standing bug in index predicate testing, namely the
bizarre ordering of decomposition of predicate and restriction clauses.
AFAICS the correct way is to break down the predicate all the way, and
then for each component term see if you can prove it from the entire
restriction set. The original coding had a purely-implementation-artifact
distinction between ANDing at the top level and ANDing below that, and
proceeded to get the decomposition order wrong everywhere below the top
level, with the result that even slightly complicated AND/OR predicates
could not be proven. For instance, given
create index foop on foo(f2) where f1=42 or f1=1
or (f1 = 11 and f2 = 55);
the old code would fail to match this index to the query
select * from foo where f1 = 11 and f2 = 55;
when it obviously ought to match.
Bruce Momjian [Mon, 11 Oct 2004 22:50:48 +0000 (22:50 +0000)]
Use native Cygwin symlinks so tablespaces work on Win95/98/ME which
don't support junction points. Doesn't affect native Win32.
Tom Lane [Mon, 11 Oct 2004 19:32:19 +0000 (19:32 +0000)]
Another try at making plpython autoconfiguration work correctly. Use a
-L spec rather than assuming libpython is in the standard search path
(this returns to the way 7.4 did it). But check the distutils output
to see if it looks like Python has built a shared library, and if so
link with that instead of the probably-not-shared library found in
configdir.
Tom Lane [Mon, 11 Oct 2004 17:24:41 +0000 (17:24 +0000)]
Fix pg_indexes view so that it shows the index's tablespace not the
parent table's tablespace, as per gripe from Michael Kleiser. Choose
a more plausible column order for this view and pg_tables. Update
documentation of these views, which was missed in original patch.
Neil Conway [Mon, 11 Oct 2004 02:02:41 +0000 (02:02 +0000)]
Fix typo in comment.
Neil Conway [Sun, 10 Oct 2004 23:37:45 +0000 (23:37 +0000)]
Cosmetic improvements/code cleanup:
- replace some function signatures of the form "some_type foo()" with
"some_type foo(void)"
- replace a few instances of a literal 0 being used as a NULL pointer;
there are more instances of this in the code, but I just fixed a few
- in src/backend/utils/mb/wstrncmp.c, replace K&R style function
declarations with ANSI style, remove use of 'register' keyword
- remove an "extern" modifier that was applied to a function definition
(rather than a declaration)
Tom Lane [Sun, 10 Oct 2004 19:07:55 +0000 (19:07 +0000)]
Un-break plpython build for non-Windows platforms.
Tom Lane [Sun, 10 Oct 2004 16:13:03 +0000 (16:13 +0000)]
Remove gratuitous editorialization on rpath.
Tom Lane [Sat, 9 Oct 2004 23:13:22 +0000 (23:13 +0000)]
Adjust configuration-files GUC behavior as per my recent proposal.
The vars are renamed to data_directory, config_file, hba_file, and
ident_file, and are guaranteed to be set to accurate absolute paths
during postmaster startup.
This commit does not yet do anything about hiding path values from
non-superusers.
Peter Eisentraut [Sat, 9 Oct 2004 17:41:17 +0000 (17:41 +0000)]
Translation improvement
Bruce Momjian [Sat, 9 Oct 2004 03:57:39 +0000 (03:57 +0000)]
Add win32 version information for pg_config Makefile.
Bruce Momjian [Sat, 9 Oct 2004 02:46:42 +0000 (02:46 +0000)]
Make getpid() use %d consistently for printing.
Bruce Momjian [Sat, 9 Oct 2004 01:29:01 +0000 (01:29 +0000)]
Add:
>
811a813,814
> o Re-enable timezone output on log_line_prefix '%t' when a
> shorter timezone string is available