- May 14, 2008
-
-
Bruce Momjian authored
-
- May 13, 2008
-
-
Alvaro Herrera authored
Provides for better code readability, but mainly this is infrastructure changes to allow further changes such as arbitrary footers on printed tables. Also, the translation status of each element in the table is more easily customized. Brendan Jurd, with some editorialization by me.
-
- Jan 31, 2008
-
-
Peter Eisentraut authored
-
- Jan 30, 2008
-
-
Peter Eisentraut authored
-
- Jan 01, 2008
-
-
Bruce Momjian authored
-
- Dec 12, 2007
-
-
Tom Lane authored
psql's \d commands and other uses of printQuery(). Previously we would pass these strings through gettext() and then send them to the server as literals in the SQL query. But the code was not set up to handle doubling of quotes in the strings, causing failure if a translation attempted to use the wrong kind of quote marks, as indeed is now the case for (at least) the French translation of \dFp. Another hazard was that gettext() would translate to whatever encoding was implied by the client's LC_CTYPE setting, which might be different from the client_encoding setting, which would probably cause the server to reject the query as mis-encoded. The new arrangement is to send the untranslated ASCII strings to the server, and do the translations inside printQuery() after the query results come back. Per report from Guillaume Lelarge and subsequent discussion.
-
- Dec 11, 2007
-
-
Tom Lane authored
-
- Dec 09, 2007
-
-
Tom Lane authored
PQconnectionNeedsPassword function that tells the right thing for whether to prompt for a password, and improve PQconnectionUsedPassword so that it checks whether the password used by the connection was actually supplied as a connection argument, instead of coming from environment or a password file. Per bug report from Mark Cave-Ayland and subsequent discussion.
-
- Nov 29, 2007
-
-
Peter Eisentraut authored
-
- Nov 15, 2007
-
-
Bruce Momjian authored
-
- Oct 27, 2007
-
-
Peter Eisentraut authored
-
- Oct 13, 2007
-
-
Tom Lane authored
renumbering of encoding IDs done between 8.2 and 8.3 turns out to break 8.2 initdb and psql if they are run with an 8.3beta1 libpq.so. For the moment we can rearrange the order of enum pg_enc to keep the same number for everything except PG_JOHAB, which isn't a problem since there are no direct references to it in the 8.2 programs anyway. (This does force initdb unfortunately.) Going forward, we want to fix things so that encoding IDs can be changed without an ABI break, and this commit includes the changes needed to allow libpq's encoding IDs to be treated as fully independent of the backend's. The main issue is that libpq clients should not include pg_wchar.h or otherwise assume they know the specific values of libpq's encoding IDs, since they might encounter version skew between pg_wchar.h and the libpq.so they are using. To fix, have libpq officially export functions needed for encoding name<=>ID conversion and validity checking; it was doing this anyway unofficially. It's still the case that we can't renumber backend encoding IDs until the next bump in libpq's major version number, since doing so will break the 8.2-era client programs. However the code is now prepared to avoid this type of problem in future. Note that initdb is no longer a libpq client: we just pull in the two source files we need directly. The patch also fixes a few places that were being sloppy about checking for an unrecognized encoding name.
-
- Sep 27, 2007
-
-
Tom Lane authored
duplicative -DFRONTEND flags from many Makefiles. We still need Makefile control of the symbol in a few places that compile frontend-or-backend src/port/ files, but it's a lot cleaner than before. Hiroshi Saito
-
- Sep 25, 2007
-
-
Peter Eisentraut authored
-
- Aug 10, 2007
-
-
Tom Lane authored
these uses of printQuery() in FETCH_COUNT patch a year ago :-(. Per report from Tomoaki Sato.
-
- Jul 08, 2007
-
-
Tom Lane authored
error message, by using PQconnectionUsedPassword() instead. Someday we might be able to localize that error message, but not until this coding technique has disappeared everywhere.
-
- Jun 04, 2007
-
-
Peter Eisentraut authored
(Possibly release notes material, lest users be confused.) The --quiet option is now obsolete and without effect in createdb, createuser, dropdb, dropuser; kept for compatibility but marked for removal in 8.4. Progress messages when acting on all databases now go to stdout instead of stderr, since they are not in fact errors. Ordered options in reindexdb reference page alphabetically, like in other programs' pages.
-
- Apr 09, 2007
-
-
Magnus Hagander authored
and vacuumdb. ITAGAKI Takahiro, with minor fixes from me.
-
- Feb 13, 2007
-
-
Bruce Momjian authored
pg_dumpall.
-
Bruce Momjian authored
pg_dumpall.
-
- Jan 05, 2007
-
-
Bruce Momjian authored
back-stamped for this.
-
- Dec 02, 2006
-
-
Peter Eisentraut authored
-
- Nov 24, 2006
-
-
Peter Eisentraut authored
-
- Oct 21, 2006
-
-
Peter Eisentraut authored
-
- Oct 04, 2006
-
-
Bruce Momjian authored
-
- Oct 03, 2006
-
-
Bruce Momjian authored
-
- Sep 22, 2006
-
-
Tom Lane authored
-
Peter Eisentraut authored
(possibly (un)translated) letters that are actually expected as input. Also reject invalid responses instead of silenty taken them as "no". with help from Bernd Helmle
-
- Sep 02, 2006
-
-
Bruce Momjian authored
Suppress some NOTICE messages from REINDEX command. Euler Taveira de Oliveira
-
Bruce Momjian authored
Euler Taveira de Oliveira
-
- Jul 14, 2006
-
-
Bruce Momjian authored
-
- Jun 01, 2006
-
-
Tom Lane authored
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.
-
- May 31, 2006
-
-
Bruce Momjian authored
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
-
- May 29, 2006
-
-
Bruce Momjian authored
-
- May 28, 2006
-
-
Tom Lane authored
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.
-
- May 27, 2006
-
-
Bruce Momjian authored
'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.
-
- Mar 05, 2006
-
-
Bruce Momjian authored
-
- Jan 01, 2006
-
-
Neil Conway authored
are inconsistent with the rest of the .po files, and apparently cause problems for Sun's cc. Per report on IRC from "bitvector2".
-
- Dec 26, 2005
-
-
Peter Eisentraut authored
-
- Dec 23, 2005
-
-
Tom Lane authored
modify the previous \password patch to use it instead of depending on a not-officially-exported function. Per discussion.
-