e126958c2e
Update copyright notices for year 2012.
2012-01-01 18:01:58 -05:00
68281e0054
Make command-line tools smarter about finding a DB to connect to.
...
If unable to connect to "postgres", try "template1". This allows things to
work more smoothly in the case where the postgres database has been
dropped. And just in case that's not good enough, also allow the user to
specify a maintenance database to be used for the initial connection, to
cover the case where neither postgres nor template1 is suitable.
2011-12-06 08:48:15 -05:00
48423d949f
Add markers.
2011-08-26 18:15:14 -04:00
5d950e3b0c
Stamp copyrights for year 2011.
2011-01-01 13:18:15 -05:00
9f2e211386
Remove cvs keywords from all files.
2010-09-20 22:08:53 +02:00
0239800893
Update copyright for the year 2010.
2010-01-02 16:58:17 +00:00
27fbfd396c
Remove a boatload of useless definitions of 'int optreset'. If we
...
are using our own ports of getopt or getopt_long, those will define
the variable for themselves; and if not, we don't need these, because
we never touch the variable anyway.
2009-04-05 04:19:59 +00:00
9de59fd191
Add a -w/--no-password option that prevents all password prompts to all
...
programs that have a -W/--password option.
In passing, remove the ancient PSQL_ALWAYS_GET_PASSWORDS compile option.
2009-02-26 16:02:39 +00:00
511db38ace
Update copyright for 2009.
2009-01-01 17:24:05 +00:00
210faf2d5f
Fix a few warnings that have crept into CVS HEAD.
2008-05-14 15:16:27 +00:00
9098ab9e32
Update copyrights in source tree to 2008.
2008-01-01 19:46:01 +00:00
fdf5a5efb7
pgindent run for 8.3.
2007-11-15 21:14:46 +00:00
6e09df9d26
Add cancel handlers so it's possible to Ctrl-C clusterdb, reindexdb
...
and vacuumdb.
ITAGAKI Takahiro, with minor fixes from me.
2007-04-09 18:21:22 +00:00
29dccf5fe0
Update CVS HEAD for 2007 copyright. Back branches are typically not
...
back-stamped for this.
2007-01-05 22:20:05 +00:00
cbb7acface
Rearrange yes/no prompting code so that the prompts always show the
...
(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
2006-09-22 18:50:41 +00:00
e0522505bd
Remove 576 references of include files that were not needed.
2006-07-14 14:52:27 +00:00
f2f5b05655
Update copyright for 2006. Update scripts.
2006-03-05 15:59:11 +00:00
1dc3498251
Standard pgindent run for 8.1.
2005-10-15 02:49:52 +00:00
9a9328003d
Make createlang and droplang proof against weird search_path settings
...
by forcing search_path to be just pg_catalog.
2005-08-15 21:02:26 +00:00
0542b1e2fe
Use _() macro consistently rather than gettext(). Add translation
...
macros around strings that were missing them.
2005-02-22 04:43:23 +00:00
90c3ebe4d7
Fix HAVE_OPTRESET to be HAVE_INT_OPTRESET. Typos spotted by Lorne Sunley.
2004-11-27 18:51:08 +00:00
6c33054a0c
Remove init_nls() functions, call set_pglocale() directly.
...
Add locale to pg_ctl.c.
2004-06-01 02:54:09 +00:00
228897774c
Make the locale location relocatable.
...
Adjust get_*_path functions to be limited to MAXPGPATH.
2004-05-25 01:00:30 +00:00
63c4d156e0
Move simple_prompt()/sprompt.c into /port.
2003-08-08 04:52:22 +00:00
33ab177a56
Don't assume that struct option is available just because we can find a
...
getopt_long(). This is more or less the same problem as we saw earlier
with getaddrinfo() and struct addrinfo, and for the same reason: random
user-added libraries might contain the subroutine, but there's no
guarantee we will find the matching header files.
2003-08-07 21:11:58 +00:00
089003fb46
pgindent run.
2003-08-04 00:43:34 +00:00
a6f01d1aa6
Internationalize interactive yes/no responses.
2003-05-27 19:36:55 +00:00
d46e643822
Add Win32 path handling for / vs. \ and drive letters.
2003-04-04 20:42:13 +00:00
9e0ab7126d
Reimplement create and drop scripts in C, to reduce repetitive
...
connections, increase robustness, add NLS, and prepare for Windows port.
(vacuumdb and clusterdb will follow later.)
2003-03-18 22:19:47 +00:00