- 15 6月, 2006 1 次提交
-
-
由 Tom Lane 提交于
places --- that risks corrupting data structures, losing sync with the backend, etc. We now longjmp only from calls to readline, fgets, and fread, which we assume are coded to protect themselves against interrupts at undesirable times. This requires adding explicit tests for cancel_pressed in long-running loops, but on the whole it's far cleaner. Martijn van Oosterhout and Tom Lane.
-
- 12 6月, 2006 1 次提交
-
-
由 Tom Lane 提交于
failure to enter commands in history if canceled by control-C, other infelicities.
-
- 10 6月, 2006 1 次提交
-
-
由 Tom Lane 提交于
was invoking obj_description() for each large object chunk, instead of once per large object. This code is new as of 8.1, which may explain why the problem hadn't been noticed already.
-
- 08 6月, 2006 1 次提交
-
-
由 Bruce Momjian 提交于
o remove many WIN32_CLIENT_ONLY defines o add WIN32_ONLY_COMPILER define o add 3rd argument to open() for portability o add include/port/win32_msvc directory for system includes Magnus Hagander
-
- 07 6月, 2006 3 次提交
-
-
由 Bruce Momjian 提交于
than only if there is already history.
-
由 Bruce Momjian 提交于
-
由 Bruce Momjian 提交于
name, path does not exist), rather than returning nothing. Backpatch to 8.1.X.
-
- 05 6月, 2006 2 次提交
-
-
由 Bruce Momjian 提交于
making it volatile.
-
由 Bruce Momjian 提交于
executed, like it did for 8.1.X.
-
- 04 6月, 2006 1 次提交
-
-
由 Bruce Momjian 提交于
the query.
-
- 03 6月, 2006 1 次提交
-
- 01 6月, 2006 3 次提交
-
-
由 Tom Lane 提交于
E'...' syntax for strings in order to track the backend.
-
由 Tom Lane 提交于
and there's only one place that's a kluge, ie, appendStringLiteralConn. Note that pg_dump itself doesn't use appendStringLiteralConn, so its behavior is not affected; only the other utility programs care.
-
由 Tom Lane 提交于
NOT the thing to use here.
-
- 31 5月, 2006 2 次提交
-
-
由 Bruce Momjian 提交于
-
由 Bruce Momjian 提交于
o turns off escape_string_warning in pg_dumpall.c o optionally use E'' for \password (undocumented option?) o honor standard_conforming-strings for \copy (but not support literal E'' strings) o optionally use E'' for \d commands o turn off escape_string_warning for createdb, createuser, droplang
-
- 30 5月, 2006 1 次提交
-
-
由 Bruce Momjian 提交于
-
- 29 5月, 2006 2 次提交
-
-
由 Tom Lane 提交于
and standard_conforming_strings; likewise for the other client programs that need it. As per previous discussion, a pg_dump dump now conforms to the standard_conforming_strings setting of the source database. We don't use E'' syntax in the dump, thereby improving portability of the SQL. I added a SET escape_strings_warning = off command to keep the dumps from getting a lot of back-chatter from that.
-
由 Alvaro Herrera 提交于
Per Coverity bug #304. Thanks to Martijn van Oosterhout for reporting it. Zero out the pointer fields of PGresult so that these mistakes are more easily catched, per discussion.
-
- 28 5月, 2006 2 次提交
-
-
由 Alvaro Herrera 提交于
in place though, so that it plays nicely with older servers. Per discussion.
-
由 Tom Lane 提交于
superuser password, and also in the paths of the various files it issues SQL COPY commands for. Per bug #2424.
-
- 27 5月, 2006 2 次提交
-
-
由 Bruce Momjian 提交于
'off'. This allows pg_dump output with standard_conforming_strings = 'on' to generate proper strings that can be loaded into other databases without the backslash doubling we typically do. I have added the dumping of the standard_conforming_strings value to pg_dump. I also added standard backslash handling for plpgsql.
-
由 Tom Lane 提交于
during COPY OUT. Andreas Pflug, some editorialization by moi.
-
- 25 5月, 2006 1 次提交
-
-
由 Tom Lane 提交于
really tables and shouldn't get DISABLE TRIGGER processing. Per bug #2452 from Robert Treat.
-
- 22 5月, 2006 1 次提交
-
-
由 Peter Eisentraut 提交于
-
- 12 5月, 2006 1 次提交
-
-
由 Tom Lane 提交于
throw warnings for 100%-SQL-standard constructs, clean up some minor infelicities, try to un-break ecpg to the best of my ability. (It's not clear how ecpg is going to find out the setting of standard_conforming_strings, though.) I think pg_dump still needs work, too.
-
- 01 5月, 2006 1 次提交
-
-
由 Tom Lane 提交于
CONNECTION, fix a number of places that were missed (eg pg_dump support), avoid executing an extra search of pg_database during startup.
-
- 27 4月, 2006 4 次提交
-
-
由 Bruce Momjian 提交于
-
由 Bruce Momjian 提交于
Philip Yarra
-
由 Bruce Momjian 提交于
-
由 Bruce Momjian 提交于
pg_resetxlog. Simon
-
- 26 4月, 2006 1 次提交
-
-
由 Bruce Momjian 提交于
information, and add a -r option to reset pg_control without affecting xlog. yuanjia lee
-
- 20 4月, 2006 1 次提交
-
-
由 Tom Lane 提交于
Per Martijn van Oosterhout.
-
- 13 4月, 2006 1 次提交
-
-
由 Tom Lane 提交于
original coding only worked if one of the selTypes restriction options was also given. Per report from Nick Johnson.
-
- 08 4月, 2006 1 次提交
-
-
由 Tom Lane 提交于
identically named user and group: we merge these into a single entity with LOGIN permission. Also, add ORDER BY commands to ensure consistent dump ordering, for ease of comparing outputs from different installations.
-
- 05 4月, 2006 2 次提交
-
-
由 Tom Lane 提交于
XLOG_BLCKSZ. This ought to help in preventing configuration mismatch problems if anyone tries to ship PITR files between servers compiled with different XLOG_BLCKSZ settings. Simon Riggs
-
由 Tom Lane 提交于
instead a dedicated symbol. This probably makes no functional difference for likely values of BLCKSZ, but it makes the intent clearer. Simon Riggs, minor editorialization by Tom Lane.
-
- 04 4月, 2006 1 次提交
-
-
由 Tom Lane 提交于
used within WAL files. Historically this was the same as the data file BLCKSZ, but there's no necessary connection, and it's possible that performance gains might ensue from reducing XLOG_BLCKSZ. In any case distinguishing two symbols should improve code clarity. This commit does not actually change the page size, only provide the infrastructure to make it possible to do so. initdb forced because of addition of a field to pg_control. Mark Wong, with some help from Simon Riggs and Tom Lane.
-
- 03 4月, 2006 1 次提交
-
-
由 Neil Conway 提交于
to fix regressions introduced in the recent patch adding additional \connect options. This is based on work by Volkan YAZICI, although this version of the patch doesn't bear much resemblance to Volkan's version. \connect takes 4 optional arguments: database name, user name, host name, and port number. If any of those parameters are omitted or specified as "-", the value of that parameter from the previous connection is used instead; if there is no previous connection, the libpq default is used. Note that this behavior makes it impossible to reuse the libpq defaults without quitting psql and restarting it; I don't really see the use case for needing to do that.
-
- 02 4月, 2006 1 次提交
-
-
由 Alvaro Herrera 提交于
whitespace issues nearby. DROP OWNED BY is actually a bit kludgy, but it seems better to do it this way rather than duplicating the words_after_create list just to add a single element.
-