Peter Eisentraut
cd1702dc3a
Translation update
2004-01-22 21:13:32 +00:00
Tom Lane
5ad7d65da4
Fix incorrect dumping of database LOCATION from 7.0.* servers.
...
Per report from Mattias Kregert.
2004-01-22 19:09:32 +00:00
Tom Lane
4d2e94ef04
Ensure fflush(stdout) happens in all cases, per gripe from Jon Sablatnig.
2004-01-21 22:05:44 +00:00
Tom Lane
04cc4e18dd
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.
2004-01-20 23:48:56 +00:00
Tom Lane
18f7a8e262
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
2004-01-20 19:49:34 +00:00
Peter Eisentraut
90d14654d6
Translation update
2004-01-18 14:54:24 +00:00
Dennis Bjorklund
01d320d421
Translation updates
2004-01-14 12:14:01 +00:00
Dennis Bjorklund
d233e5cecc
Mark string for translation.
2004-01-11 19:10:49 +00:00
Dennis Bjorklund
e6cd5d586e
Translation updates
2004-01-11 06:55:10 +00:00
Dennis Bjorklund
28ee773acb
Translation updates
2004-01-11 06:50:27 +00:00
Peter Eisentraut
cf4c925dd4
Translation updates
2004-01-10 22:18:28 +00:00
Dennis Bjorklund
15a5440dc5
Translation updates
2004-01-10 09:09:40 +00:00
Bruce Momjian
f9b29b8023
Make non-wait pg_ctl start/stop message more accurate.
2004-01-10 02:55:14 +00:00
Bruce Momjian
a620a760ed
Allow BEGIN WORK to specify transaction isolation level, like START
...
TRANSACTION.
2004-01-10 02:21:08 +00:00
Bruce Momjian
5c0d0a2399
Have psql help show \w parameter as requied.
2004-01-09 21:15:51 +00:00
Bruce Momjian
55a92063a7
Allow psql to handle tilde user expansion for file names.
...
Zach Irmen
2004-01-09 21:12:20 +00:00
Dennis Bjorklund
a76c86c7c1
Translation updates
2004-01-09 20:36:00 +00:00
Tom Lane
ccdeed7011
Fix incorrect SQL syntax emitted when -E is given without -P.
...
Report and fix from Martin Pitt.
2004-01-09 00:15:11 +00:00
Dennis Bjorklund
002cafe7a4
Translation updates
2004-01-08 10:47:40 +00:00
Dennis Bjorklund
b68021c240
Translation updates
2004-01-08 08:36:50 +00:00
Dennis Bjorklund
504983859d
Translation updates
2004-01-07 21:51:13 +00:00
Tom Lane
6400d69d87
pg_dump support for function parameter names.
2004-01-07 00:44:21 +00:00
Peter Eisentraut
35b1fe122c
Translation updates
2004-01-05 19:15:48 +00:00
Tom Lane
9a4ef0c562
Fix ReadOffset() to work correctly when off_t is wider than int.
2004-01-04 04:02:15 +00:00
Tom Lane
b3c3b5464d
Do an explicit fflush after writing a progress message with puts.
...
This ensures stdout is kept in sync with messages on stderr.
Per report from Olaf Ferger.
2004-01-01 19:27:15 +00:00
Bruce Momjian
a922472a2a
Supress non-temp schemas from psql \dn display.
2003-12-23 23:13:14 +00:00
Tom Lane
cd2ad9b944
Fix a number of places where reconfiguring with a different installation
...
prefix would fail, because the new path did not get propagated to where
it needed to be. Note this would fail even with --enable-depend.
2003-12-23 21:56:21 +00:00
Tom Lane
358d032f98
Fix compile warning.
2003-12-23 21:50:38 +00:00
Peter Eisentraut
f39748a70f
Forbid REVOKE on untrusted languages, and don't dump privileges of
...
untrusted languages (in case they sneak in).
2003-12-19 14:21:56 +00:00
Peter Eisentraut
9a1cab4391
Add missing $(X).
2003-12-19 11:54:25 +00:00
Peter Eisentraut
b40b3306fa
Remove pg_id.
2003-12-17 18:44:09 +00:00
Peter Eisentraut
3a613816a0
New translation
2003-12-11 22:03:05 +00:00
Tom Lane
918b158743
Work around naming conflict between zlib and OpenSSL by tweaking inclusion
...
order. Remove some unnecessary #includes (that duplicate c.h).
2003-12-08 16:39:05 +00:00
Tom Lane
649c1a11e6
One more pass at reducing the cost of pg_dump's new implementation:
...
reduce the number of times TopoSort() has to be executed by trying to
extract multiple dependency loops from each pass, instead of only one.
This saves about another factor of ten on the regression database.
This could be considered as another exercise in grokking Fred Brooks'
maxim: Representation *is* the essence of programming.
2003-12-07 05:44:50 +00:00
Tom Lane
7bb11a93e1
Speed up findObjectByCatalogId() to get rid of the other salient
...
bottleneck in the new pg_dump code.
2003-12-07 03:14:01 +00:00
Tom Lane
79273cc7d2
Replace not-very-bright implementation of topological sort with a better
...
one (use a priority heap to keep track of items ready to output, instead
of searching the input array each time). This brings the runtime of
pg_dump back to about what it was in 7.4.
2003-12-06 22:55:11 +00:00
Tom Lane
005a1217fb
Massive overhaul of pg_dump: make use of dependency information from
...
pg_depend to determine a safe dump order. Defaults and check constraints
can be emitted either as part of a table or domain definition, or
separately if that's needed to break a dependency loop. Lots of old
half-baked code for controlling dump order removed.
2003-12-06 03:00:16 +00:00
Peter Eisentraut
5bcdb4ccc1
Fix some small errors.
2003-12-02 10:24:37 +00:00
Bruce Momjian
2712ca771d
Fix initdb use of mkdir_p().
...
Andrew Dunstan
2003-12-01 23:15:47 +00:00
Bruce Momjian
8c4af96fb0
This makes help like this:
...
\lo_export LOBOID FILE
\lo_import FILE [COMMENT]
\lo_list
\lo_unlink LOBOID large object operations
Instead of not saying anything about what arguments are required.
Christopher Kings-Lynne
2003-12-01 22:34:48 +00:00
Bruce Momjian
8bb60b6423
attached is a patch that adds display of the groups a user belongs to to
...
\du and a \dg command to psql. It's against 7.4beta5.
Markus Bertheau <twanger@bluetwanger.de>
2003-12-01 22:21:54 +00:00
Bruce Momjian
35ddc2edee
This patch reduces some unsightly #ifdefs, and fixes two typos in
...
comments in the psql code. This doesn't make any functional change, so
feel free to save it for 7.5
Neil Conway
2003-12-01 22:14:40 +00:00
Bruce Momjian
abd5d75c4c
This patch finishes off the work that I did with making view
...
definitions use pretty printing.
It does:
* Pretty index predicates
* Pretty rule definitions
* Uppercases PRIMARY KEY and UNIQUE to be consistent with CHECK and
FOREIGN KEY
* View rules are improved to match table rules:
Christopher Kings-Lynne
2003-12-01 22:11:06 +00:00
Bruce Momjian
7ce9b7c0d8
This patch adds a new GUC var, "default_with_oids", which follows the
...
proposal for eventually deprecating OIDs on user tables that I posted
earlier to pgsql-hackers. pg_dump now always specifies WITH OIDS or
WITHOUT OIDS when dumping a table. The documentation has been updated.
Neil Conway
2003-12-01 22:08:02 +00:00
PostgreSQL Daemon
55b113257c
make sure the $Id tags are converted to $PostgreSQL as well ...
2003-11-29 22:41:33 +00:00
PostgreSQL Daemon
969685ad44
$Header: -> $PostgreSQL Changes ...
2003-11-29 19:52:15 +00:00
Peter Eisentraut
dc69cc1097
New translation
2003-11-25 19:19:21 +00:00
Peter Eisentraut
c95f54c5e0
More adjustment of error messages
2003-11-25 19:18:26 +00:00
Tom Lane
e91e640b80
Avoid using string literal with embedded newline.
2003-11-24 17:25:14 +00:00
Peter Eisentraut
040e1cef91
Make the messages and the options parsing a bit more standard.
2003-11-23 22:17:59 +00:00