OSDN Git Service
Tom Lane [Tue, 10 Feb 2004 03:42:45 +0000 (03:42 +0000)]
Centralize implementation of delay code by creating a pg_usleep()
subroutine in src/port/pgsleep.c. Remove platform dependencies from
miscadmin.h and put them in port.h where they belong. Extend recent
vacuum cost-based-delay patch to apply to VACUUM FULL, ANALYZE, and
non-btree index vacuuming.
By the way, where is the documentation for the cost-based-delay patch?
Tom Lane [Tue, 10 Feb 2004 01:55:27 +0000 (01:55 +0000)]
Restructure smgr API as per recent proposal. smgr no longer depends on
the relcache, and so the notion of 'blind write' is gone. This should
improve efficiency in bgwriter and background checkpoint processes.
Internal restructuring in md.c to remove the not-very-useful array of
MdfdVec objects --- might as well just use pointers.
Also remove the long-dead 'persistent main memory' storage manager (mm.c),
since it seems quite unlikely to ever get resurrected.
Neil Conway [Sun, 8 Feb 2004 22:28:57 +0000 (22:28 +0000)]
Win32 signals cleanup. Patch by Magnus Hagander, with input from Claudio
Natoli and Bruce Momjian (and some cosmetic fixes from Neil Conway).
Changes:
- remove duplicate signal definitions from pqsignal.h
- replace pqkill() with kill() and redefine kill() in Win32
- use ereport() in place of fprintf() in some error handling in
pqsignal.c
- export pg_queue_signal() and make use of it where necessary
- add a console control handler for Ctrl-C and similar handling
on Win32
- do WaitForSingleObjectEx() in CHECK_FOR_INTERRUPTS() on Win32;
query cancelling should now work on Win32
- various other fixes and cleanups
Bruce Momjian [Sun, 8 Feb 2004 03:16:31 +0000 (03:16 +0000)]
Add mention of the developer's FAQ.
Bruce Momjian [Sun, 8 Feb 2004 03:09:12 +0000 (03:09 +0000)]
Add mention of PostgreSQL as a community project.
Bruce Momjian [Sun, 8 Feb 2004 01:17:09 +0000 (01:17 +0000)]
Add PITR web page:
< * Point-in-time data recovery using backup and write-ahead log
< * Create native Win32 port, http://momjian.postgresql.org/main/writings/pgsql/win32.html
> * Point-in-time data recovery using backup and write-ahead log,
> http://momjian.postgresql.org/main/writings/pgsql/project/pitr.html
> * Create native Win32 port, http://momjian.postgresql.org/main/writings/pgsql/project/win32.html
Tom Lane [Sat, 7 Feb 2004 07:20:12 +0000 (07:20 +0000)]
Add missing dependency, per Wade Klaver.
Jan Wieck [Fri, 6 Feb 2004 19:36:18 +0000 (19:36 +0000)]
Cost based vacuum delay feature.
Jan
Joe Conway [Thu, 5 Feb 2004 22:54:36 +0000 (22:54 +0000)]
Documentation for generate_series() functions committed a few days ago.
Jan Wieck [Wed, 4 Feb 2004 01:24:53 +0000 (01:24 +0000)]
Backing out the background writer sync() option.
Jan
Neil Conway [Wed, 4 Feb 2004 01:11:47 +0000 (01:11 +0000)]
Use memmove() rather than memcpy() in set_var_from_var(). If this function
is asked to assign a variable to itself, it will result in doing a
memcpy() on an entirely-overlapping memory range, which results in
undefined behavior according to ANSI C. That said, it is unlikely to
actually do anything bad on any sane libc, but this keeps valgrind quiet.
Tom Lane [Tue, 3 Feb 2004 17:52:55 +0000 (17:52 +0000)]
pwd
Tom Lane [Tue, 3 Feb 2004 17:34:04 +0000 (17:34 +0000)]
Rename SortMem and VacuumMem to work_mem and maintenance_work_mem.
Make btree index creation and initial validation of foreign-key constraints
use maintenance_work_mem rather than work_mem as their memory limit.
Add some code to guc.c to allow these variables to be referenced by their
old names in SHOW and SET commands, for backwards compatibility.
Bruce Momjian [Tue, 3 Feb 2004 16:53:56 +0000 (16:53 +0000)]
Add:
> * Make pg_restore continue after errors, so it acts more like pg_dump scripts
Joe Conway [Tue, 3 Feb 2004 08:29:57 +0000 (08:29 +0000)]
Add function (actually an int4 and an int8 version) that generates
a series of numbers, optionally using an explicit step size other
than the default value (one). Use function in the information_schema
to replace hard-wired knowledge of INDEX_MAX_KEYS. initdb forced due
to pg_proc change. Documentation update still needed -- will be
committed separately.
Bruce Momjian [Mon, 2 Feb 2004 22:20:33 +0000 (22:20 +0000)]
Win32 adjustments for dirmod and configure/configure.in.
Tom Lane [Mon, 2 Feb 2004 18:35:45 +0000 (18:35 +0000)]
autoconf run.
Bruce Momjian [Mon, 2 Feb 2004 17:29:32 +0000 (17:29 +0000)]
Set only LC_ALL for sort in tags creation.
Bruce Momjian [Mon, 2 Feb 2004 17:21:08 +0000 (17:21 +0000)]
> src/backend/commands/user.c file has some parse error at repalloc(),
palloc()$
Fixed. Thanks.
> src/backend/postmaster/pgstat.c miss
> #include "tcop/tcopprot.h" line.
Fixed.
> src/utils/dllinit.c wrong include header line at MinGW.
> #include <cygwin/version.h> must be not included
Fixed.
> by the way,
> I can't compile eccp because I used lower version bison.
> and bin/pg_resetxlog too. in this case I can't find what's wrong.
Fixed.
Neil Conway [Mon, 2 Feb 2004 16:58:30 +0000 (16:58 +0000)]
Fix a read of uninitialized memory in next_token() of hba.c, spotted via
valgrind: a buffer passed to strncmp() had to be NUL-terminated. Original
report and patch from Dennis Bjorkland, some cleanup by Andrew Dunstan,
and finally some editorializing from Neil Conway.
Bruce Momjian [Mon, 2 Feb 2004 16:37:46 +0000 (16:37 +0000)]
Adjustments for Win32-specific rename code, and add include file.
Bruce Momjian [Mon, 2 Feb 2004 16:00:49 +0000 (16:00 +0000)]
Move win32 changes from configure to configure.in, per Tom, autoconf
run.
Tom Lane [Mon, 2 Feb 2004 04:07:18 +0000 (04:07 +0000)]
Do not let external specification of CFLAGS stop us from adding
-fno-strict-aliasing.
Tom Lane [Mon, 2 Feb 2004 03:07:08 +0000 (03:07 +0000)]
Avoid generating invalid character encoding sequences in make_greater_string.
Not sure how this mistake evaded detection for so long.
Neil Conway [Mon, 2 Feb 2004 00:35:08 +0000 (00:35 +0000)]
Use Tcl_PutEnv() in place of putenv() in libpgtcl, as the latter can
apparently corrupt the Tcl runtime. Per suggestion from Michael
Brusser <michael@synchronicity.com>
Bruce Momjian [Mon, 2 Feb 2004 00:17:23 +0000 (00:17 +0000)]
Adjust rename on Win32 to only link to temp name while holding lock,
then release locks and loop over renaming to active file name.
Bruce Momjian [Mon, 2 Feb 2004 00:11:31 +0000 (00:11 +0000)]
Briefly,
* configure + Makefile changes
* shared memory attaching in EXEC_BACKEND case (+ minor fix for apparent
cygwin bug under cygwin/EXEC_BACKEND case only)
* PATH env var separator differences
* missing win32 rand functions added
* placeholder replacements for sync etc under port.h
To those who are really interested, and there are a few of you: the attached
patch + file will allow the source base to be compiled (and, for some
definition, "run") under MingW, with the following caveats (I wanted to
first properly fix all but the last of these, but y'all won't quit asking
for a patch :-):
* child death: SIGCHLD not yet sent, so as a minimum, you'll need to
put in some sort of delay after StartupDatabase, and handle setting
StartupPID to 0 etc (ie. the stuff the reaper() signal function is supposed
to do)
* dirmod.c: comment out the elog calls
* dfmgr.c: some hackage required to substitute_libpath_macro
* slru/xact.c: comment out the errno checking after the readdir
(fixed by next version of MingW)
Again, this is only if you *really* want to see postgres compile and start,
and is a nice leg-up for working on the other Win32 TODO list items. Just
don't expect too much else from it at this point...
Claudio Natoli
Bruce Momjian [Sun, 1 Feb 2004 23:11:33 +0000 (23:11 +0000)]
Set locale to C before doing sort in make_ctags.
Tom Lane [Sun, 1 Feb 2004 06:55:07 +0000 (06:55 +0000)]
Update char_length() example for new semantics.
Tom Lane [Sun, 1 Feb 2004 06:27:48 +0000 (06:27 +0000)]
Make length() disregard trailing spaces in char(n) values, per discussion
some time ago and recent patch from Gavin Sherry. Update documentation
to point out that trailing spaces are insignificant in char(n).
Neil Conway [Sat, 31 Jan 2004 22:10:00 +0000 (22:10 +0000)]
Fix a probably-harmless read of uninitialized memory in mkdir_p(), to
silence a valgrind warning.
Neil Conway [Sat, 31 Jan 2004 21:18:00 +0000 (21:18 +0000)]
Remove a superfluous semi-colon.
Neil Conway [Sat, 31 Jan 2004 05:09:41 +0000 (05:09 +0000)]
Micro-opt: replace calls like
appendStringInfo(buf, "%s", str);
with
appendStringInfoString(buf, str);
as the latter form is slightly faster.
Tom Lane [Sat, 31 Jan 2004 00:45:21 +0000 (00:45 +0000)]
Fix text_position to not scan past end of source string in multibyte
case, per report from Korea PostgreSQL Users' Group. Also do some
cosmetic cleanup in nearby code.
Tom Lane [Fri, 30 Jan 2004 22:44:21 +0000 (22:44 +0000)]
Fix debug elog message to agree with name of its routine.
Bruce Momjian [Fri, 30 Jan 2004 15:57:04 +0000 (15:57 +0000)]
Remove sleep() and use single PG_SLEEP call for Win32 signal handling
and consistency.
Change PG_USLEEP to use SleepEx() for signal interuptability.
Bruce Momjian [Fri, 30 Jan 2004 11:11:07 +0000 (11:11 +0000)]
Add:
<
> * Allow libpq to return information about prepared queries
Neil Conway [Thu, 29 Jan 2004 12:34:59 +0000 (12:34 +0000)]
Fix (debatable) spelling mistake in a comment: 'concatenate' is the usual
term, not 'catenate'.
Tom Lane [Wed, 28 Jan 2004 22:14:04 +0000 (22:14 +0000)]
Make USING and WITH optional to bring the syntax of \copy into exact
agreement with what the backend grammar actually accepts (which is a
bit looser than what its documentation claims). Per report from Bill
Moran, though I did not use his patch since it removed all the
undocumented flexibility that the code historically had and the backend
still has.
Tom Lane [Wed, 28 Jan 2004 21:02:40 +0000 (21:02 +0000)]
Review uses of IsUnderPostmaster, change some tests to look at
whereToSendOutput instead because they are really inquiring about
the correct client communication protocol. Update some comments.
This is pointing towards supporting regular FE/BE client protocol
in a standalone backend, per discussion a month or so back.
Tom Lane [Wed, 28 Jan 2004 20:43:03 +0000 (20:43 +0000)]
Fix typo.
Michael Meskes [Wed, 28 Jan 2004 09:54:23 +0000 (09:54 +0000)]
Removed some debugging output.
Michael Meskes [Wed, 28 Jan 2004 09:52:14 +0000 (09:52 +0000)]
- Issue a warning if a cursor is declared but not opened.
- Fixed prototype for ECPGprepared_statement to not moan about "const char"
- Fixed parsing of nested structures.
- Added option to parse header files.
Tom Lane [Wed, 28 Jan 2004 07:46:44 +0000 (07:46 +0000)]
Fix oversight in check_ungrouped_columns optimization that avoids
unnecessary checks for complex grouping expressions: we cannot check
whether the expressions are simple Vars until after we apply
flatten_join_alias_vars, because in the case of FULL JOIN that routine
can introduce non-Var expressions. Per example from Joel Knight.
Tom Lane [Wed, 28 Jan 2004 00:05:04 +0000 (00:05 +0000)]
simplify_function() mustn't try to evaluate functions that return
composite types, because TupleTableSlots aren't Datums and can't be
stored in Const nodes. We can remove this restriction if we ever
adopt a cleaner runtime representation for whole-tuple results, but
at the moment it's broken. Per example from Thomas Hallgren.
Neil Conway [Tue, 27 Jan 2004 16:51:43 +0000 (16:51 +0000)]
Improve the documentation of the 'join_collapse_limit' GUC var. Thanks to
Tom Lane for some editorial suggestions.
Tom Lane [Tue, 27 Jan 2004 00:50:33 +0000 (00:50 +0000)]
Run stats test separately, not as part of a parallel group, to avoid
possible failures due to stats collector not updating fast enough under
heavy load. Per report from Jeremy Yoder.
Bruce Momjian [Tue, 27 Jan 2004 00:46:58 +0000 (00:46 +0000)]
Pgindent win32 signal code.
Bruce Momjian [Tue, 27 Jan 2004 00:45:26 +0000 (00:45 +0000)]
Here's the latest win32 signals code, this time in the form of a patch
against the latest shapshot. It also includes the replacement of kill()
with pqkill() and sigsetmask() with pqsigsetmask().
Passes all tests fine on my linux machine once applied. Still doesn't
link completely on Win32 - there are a few things still required. But
much closer than before.
At Bruce's request, I'm goint to write up a README file about the method
of signals delivery chosen and why the others were rejected (basically a
summary of the mailinglist discussions). I'll finish that up once/if the
patch is accepted.
Magnus Hagander
Bruce Momjian [Mon, 26 Jan 2004 22:59:54 +0000 (22:59 +0000)]
[all] Removed call to getppid in SendPostmasterSignal, replacing with a
PostmasterPid variable, which gets set (early) in PostmasterMain
getppid would not be the postmaster?
[fork/exec] Implements processCancelRequest by keeping an array of
pid/cancel_key structs in shared mem
[fork/exec] Moves AttachSharedMemoryAndSemaphores call for backends into
SubPostmasterMain
[win32] Implements reaper/waitpid by keeping an arrays of children
pids,handles in postmaster local mem
- this item is largely untested, for reasons which should be
obvious, but appears sound
[win32/all] Added extern for pgpipe in Win32 case, and changed the second
pipe call (which seems to have been missed earlier) to pgpipe
[win32] #define'd ftruncate to chsize in the Win32 case
[win32] PG_USLEEP for Win32 has a misplaced paren. Fixed.
[win32] DLLIMPORT handling for MingW case
Claudio Natoli
Bruce Momjian [Mon, 26 Jan 2004 22:54:58 +0000 (22:54 +0000)]
Back out win32 patch so we can apply it separately.
Bruce Momjian [Mon, 26 Jan 2004 22:51:56 +0000 (22:51 +0000)]
Attached is a patch that fixes some trivial typos and alignment. Please
apply.
Alvaro Herrera
Bruce Momjian [Mon, 26 Jan 2004 22:38:42 +0000 (22:38 +0000)]
Add Name:
> * -Add checks for fclose() failure (Tom)
Bruce Momjian [Mon, 26 Jan 2004 22:38:10 +0000 (22:38 +0000)]
Done:
> * -Add checks for fclose() failure (Tom)
Tom Lane [Mon, 26 Jan 2004 22:35:32 +0000 (22:35 +0000)]
Ensure that close() and fclose() are checked for errors, at least in
cases involving writes. Per recent discussion about the possibility
of close-time failures on some filesystems. There is a TODO item for
this, too.
Neil Conway [Mon, 26 Jan 2004 22:13:21 +0000 (22:13 +0000)]
The attached patch clarifies (or, rather, makes explicit) to readers how
to handle memory management for char pointers returned by libpq functions.
Original patch by Gavin Sherry, some tweaking and consistency improvements
by Neil Conway.
Tom Lane [Mon, 26 Jan 2004 19:15:59 +0000 (19:15 +0000)]
Repair incorrect order of operations in GetNewTransactionId(). We must
complete ExtendCLOG() before advancing nextXid, so that if that routine
fails, the next incoming transaction will try it again. Per trouble
report from Christopher Kings-Lynne.
Bruce Momjian [Mon, 26 Jan 2004 18:32:08 +0000 (18:32 +0000)]
Added:
> * Dump large object comments in custom dump format
Neil Conway [Mon, 26 Jan 2004 17:26:31 +0000 (17:26 +0000)]
Add usage examples for PREPARE and EXECUTE. Original patch from Gavin
Sherry, editorializing by Neil Conway.
Teodor Sigaev [Mon, 26 Jan 2004 15:08:52 +0000 (15:08 +0000)]
Docs fix from Kris Jurka <books@ejurka.com>
Bruce Momjian [Mon, 26 Jan 2004 05:35:15 +0000 (05:35 +0000)]
Clarify that the 'user' column still applies for 'trust'.
Bruce Momjian [Mon, 26 Jan 2004 05:33:24 +0000 (05:33 +0000)]
Update datestamp.
Neil Conway [Sun, 25 Jan 2004 22:19:42 +0000 (22:19 +0000)]
Fix an obsolete file path mentioned in a comment.
Bruce Momjian [Sun, 25 Jan 2004 04:56:25 +0000 (04:56 +0000)]
*** empty log message ***
Bruce Momjian [Sun, 25 Jan 2004 04:50:16 +0000 (04:50 +0000)]
Add Joe to TODO:
> * Joe is Joe Conway <mail@joeconway.com>
Bruce Momjian [Sun, 25 Jan 2004 03:30:00 +0000 (03:30 +0000)]
Fix typo I mistakenly added.
Neil Conway [Sun, 25 Jan 2004 03:07:22 +0000 (03:07 +0000)]
More fallout from the recent psql patch: rename xmalloc and friends to
pg_malloc, to avoid linker failures on same platforms.
Bruce Momjian [Sun, 25 Jan 2004 02:28:43 +0000 (02:28 +0000)]
Update null storage description.
Bruce Momjian [Sun, 25 Jan 2004 00:36:18 +0000 (00:36 +0000)]
Mention that log_statement only prints query on PREPARE, not EXECUTE,
and PL/pgSQL only prints queries on first function call.
Tom Lane [Sat, 24 Jan 2004 23:45:13 +0000 (23:45 +0000)]
Support named parameters in information_schema.parameters,
per Dennis Bjorklund. I did not force initdb for this, but
you'd need to do one to get the improved view.
Tom Lane [Sat, 24 Jan 2004 23:06:29 +0000 (23:06 +0000)]
Fix problems with dropped columns in pltcl triggers, per report from Patrick Samson.
Tom Lane [Sat, 24 Jan 2004 22:05:08 +0000 (22:05 +0000)]
Example of a function taking a composite type should show how to call it.
Neil Conway [Sat, 24 Jan 2004 20:43:26 +0000 (20:43 +0000)]
Revert the change to print.c, as this breaks src/bin/scripts. The proper
way to fix this is probably implementing safe memory handling functions
once in a static lib and then using that in the various client apps,
but for the moment I've just reverted the change to un-break the tree.
Jan Wieck [Sat, 24 Jan 2004 20:00:46 +0000 (20:00 +0000)]
Added GUC variable bgwriter_flush_method controlling the action
done by the background writer between writing dirty blocks and
napping.
none (default) no action
sync bgwriter calls smgrsync() causing a sync(2)
A global sync() is only good on dedicated database servers, so
more flush methods should be added in the future.
Jan
Neil Conway [Sat, 24 Jan 2004 19:38:49 +0000 (19:38 +0000)]
This patch makes some of the memory manipulation performed by psql a
little more sane. Some parts of the code was using a static function
xmalloc() that did safe memory allocation (where "safe" means "bail
out on OOM"), but most of it was just invoking calloc() or malloc()
directly. Now almost everything invokes xmalloc() or xcalloc().
Dennis Bjorklund [Sat, 24 Jan 2004 07:30:40 +0000 (07:30 +0000)]
Translation updates
Tom Lane [Sat, 24 Jan 2004 00:37:28 +0000 (00:37 +0000)]
Repair planner failure for cases involving Cartesian products inside
IN (sub-SELECT) constructs. We must force a clauseless join of the
sub-select member relations, but it wasn't happening because the code
thought it would be able to use the join clause arising from the IN.
Tom Lane [Fri, 23 Jan 2004 23:54:21 +0000 (23:54 +0000)]
Revise GEQO planner to make use of some heuristic knowledge about SQL, namely
that it's good to join where there are join clauses rather than where there
are not. Also enable it to generate bushy plans at need, so that it doesn't
fail in the presence of multiple IN clauses containing sub-joins. These
changes appear to improve the behavior enough that we can substantially reduce
the default pool size and generations count, thereby decreasing the runtime,
and yet get as good or better plans as we were getting in 7.4. Consequently,
adjust the default GEQO parameters. I also modified the way geqo_effort is
used so that it affects both population size and number of generations;
it's now useful as a single control to adjust the GEQO runtime-vs-plan-quality
tradeoff. Bump geqo_threshold to 12, since even with these changes GEQO
seems to be slower than the regular planner at 11 relations.
Bruce Momjian [Fri, 23 Jan 2004 15:13:30 +0000 (15:13 +0000)]
Add:
> * Improve CREATE SCHEMA regression test
Bruce Momjian [Fri, 23 Jan 2004 14:41:57 +0000 (14:41 +0000)]
Add MySQL mention of licensing difference.
Bruce Momjian [Fri, 23 Jan 2004 05:05:34 +0000 (05:05 +0000)]
Add:
> * Allow column-level privileges
Neil Conway [Fri, 23 Jan 2004 02:13:12 +0000 (02:13 +0000)]
Fix a minor bug introduced by the recent CREATE TABLE AS / WITH OIDS
patch: a 3-value enum was mistakenly assigned directly to a 'bool'
in transformCreateStmt(). Along the way, change makeObjectName()
to be static, as it isn't used outside analyze.c
Peter Eisentraut [Thu, 22 Jan 2004 21:13:32 +0000 (21:13 +0000)]
Translation update
Tom Lane [Thu, 22 Jan 2004 20:57:39 +0000 (20:57 +0000)]
Remove ExpandDatabasePath(), which is unused and must have been so since
7.1, because the path interpretation it embodies has been wrong since 7.1.
Neil Conway [Thu, 22 Jan 2004 19:50:21 +0000 (19:50 +0000)]
Minor improvements to the trigger documentation, and a few SGML fixes.
Tom Lane [Thu, 22 Jan 2004 19:09:32 +0000 (19:09 +0000)]
Fix incorrect dumping of database LOCATION from 7.0.* servers.
Per report from Mattias Kregert.
Dennis Bjorklund [Thu, 22 Jan 2004 07:26:32 +0000 (07:26 +0000)]
Translation updates
Tom Lane [Thu, 22 Jan 2004 02:23:21 +0000 (02:23 +0000)]
Fix oversight in optimization that avoids an unnecessary projection step
when scanning a table that we need all the columns from. In case of
SELECT INTO, we have to check that the hasoids flag matches the desired
output type, too. Per report from Mike Mascari.
Tom Lane [Thu, 22 Jan 2004 00:34:31 +0000 (00:34 +0000)]
Correct error introduced in recent hasoids changes --- it's not a bool
field anymore.
Tom Lane [Wed, 21 Jan 2004 23:33:34 +0000 (23:33 +0000)]
Repair error apparently introduced in the initial coding of GUC: the
default value for geqo_effort is supposed to be 40, not 1. The actual
'genetic' component of the GEQO algorithm has been practically disabled
since 7.1 because of this mistake. Improve documentation while at it.
Tom Lane [Wed, 21 Jan 2004 22:05:44 +0000 (22:05 +0000)]
Ensure fflush(stdout) happens in all cases, per gripe from Jon Sablatnig.
Tom Lane [Wed, 21 Jan 2004 19:22:19 +0000 (19:22 +0000)]
If we don't have shared libraries, we don't have conversions. Make
conversion_create.sql be empty (except for a helpful comment) in this
case. Allows initdb to succeed with --disable-shared.
Tom Lane [Wed, 21 Jan 2004 19:04:11 +0000 (19:04 +0000)]
Fix bit-rot in support for building with --disable-shared. This patch
gets us past 'make install', but initdb still fails for lack of conversion
libraries ...
Michael Meskes [Wed, 21 Jan 2004 14:09:34 +0000 (14:09 +0000)]
Added WHENEVER NOT_FOUND to SELECT/INSERT/UPDATE/DELETE.
Dennis Bjorklund [Wed, 21 Jan 2004 07:28:04 +0000 (07:28 +0000)]
Translation updates
Tom Lane [Tue, 20 Jan 2004 23:48:56 +0000 (23:48 +0000)]
Implement '\copy from -' to support reading copy data from the same
source the \copy came from. Also, fix prompting logic so that initial
and per-line prompts appear for all cases of reading from an interactive
terminal. Patch by Mark Feit, with some kibitzing by Tom Lane.
Tom Lane [Tue, 20 Jan 2004 22:46:06 +0000 (22:46 +0000)]
Remove no-longer-relevant note about forcing the type of an integer
constant. Per Kris Jurka.
Tom Lane [Tue, 20 Jan 2004 19:49:34 +0000 (19:49 +0000)]
This is a patch to support readline prompts which contain non-printing
characters, as for fancy colorized prompts. This was nearly a direct
lift from bash-2.05b's lib/readline/display.c, per guidance from Chet Ramey.
Reece Hart
Tom Lane [Mon, 19 Jan 2004 21:20:06 +0000 (21:20 +0000)]
Remove JDBC from the build system and documentation, too.
Tom Lane [Mon, 19 Jan 2004 20:12:30 +0000 (20:12 +0000)]
Improve discussion of consistent-snapshot backup technique. Haphazard
editing of this text had left nearly contradictory statements in
adjacent paragraphs ...