Bruce Momjian
d1cee5495a
Escape single quotes and backslashes used in locales placed in
...
postgresql.conf.
Zhong Xubin
2004-10-07 16:53:25 +00:00
Bruce Momjian
a5d7ba773d
Adjust comments previously moved to column 1 by pgident.
2004-10-07 15:21:58 +00:00
Bruce Momjian
8a28f50f8a
Improve pgindent processing of comment after 'else'.
...
Improve comment of pg_dump Win32 link workaround.
2004-10-07 13:45:51 +00:00
Neil Conway
3ba0fc760c
Capitalize some SQL keywords the previous commit missed, for consistency.
2004-10-06 23:31:45 +00:00
Bruce Momjian
d7e0ebdf8e
Say "history is not supported" and remove "on this platform" for lack of
...
readline.
2004-10-06 19:04:10 +00:00
Bruce Momjian
c62a5465fb
Suppress psql \s help display for platforms like Win32 that don't
...
typically install witn readline, and throw an error if they try to
access it.
2004-10-06 18:39:16 +00:00
Bruce Momjian
a95a82e7f0
Uppercase SQL keywords in query for clarity.
2004-10-06 17:43:07 +00:00
Bruce Momjian
d7b7a4a648
This simple patch fixes a typo, ensure pg_config is removed in win32
...
and correct some splitted message mistake.
Euler Taveira de Oliveira
2004-10-06 17:21:45 +00:00
Bruce Momjian
dedb53f29c
Fix pg_dumpall to use double-quote for Win32 arguments.
...
Luiz K. Matsumura
2004-10-06 17:02:02 +00:00
Bruce Momjian
4542581bf1
Adjustment to test on unix domain socket variable for pg_hba.conf
...
default settings, rather than just Win32.
2004-10-06 09:13:10 +00:00
Bruce Momjian
c93872d891
Remove pg_hba.conf 'local' line for Win32 because it doesn't support unix domain
...
connections.
Andrew Dunstan
2004-10-06 09:01:18 +00:00
Neil Conway
d42d427252
Slightly rearrange psql startup code so that we read psqlrc before printing
...
the startup banner. This allows "\set QUIET on" in psqlrc to do what the
user probably intended. Patch from Sean Chittenden, editorializing from
Neil Conway.
2004-10-06 08:20:58 +00:00
Bruce Momjian
da67c919d9
Add Win32 version info to client binaries.
...
Magnus Hagander
2004-10-05 19:30:25 +00:00
Bruce Momjian
abef6b5162
Add distclean target to pgevent.
2004-10-05 17:26:39 +00:00
Bruce Momjian
ee7de3d662
Make sure no libs use libpgport by removing it from the link line.
2004-10-04 20:36:12 +00:00
Bruce Momjian
2e8252d67a
Fix MinGW link failure with new libpgport processing.
2004-10-04 20:32:58 +00:00
Bruce Momjian
b5ddfb4bd0
Readd -DFRONTEND to client makefiles because it still affects win32.h
...
defines.
2004-10-04 18:05:55 +00:00
Bruce Momjian
24201b4bc6
Make libpgport be front-end only and make libpgport_srv be a backend
...
library that uses palloc, ereport, etc. This simplifies the makefiles
for client applications.
2004-10-04 13:43:59 +00:00
Peter Eisentraut
8d5ff6bad1
Translation update
2004-10-03 20:29:24 +00:00
Peter Eisentraut
0654f0f669
Translation updates
2004-10-03 20:24:26 +00:00
Tom Lane
bbd1e1cc68
Don't assume PQdb() will return a valid result from a failed connection.
2004-10-01 17:25:55 +00:00
Bruce Momjian
70c8fcb287
An include path got missed out of the patch - see the attached fix.
...
This also adds debug build support to src/bin/psql/win32.mak.
Dave Page
2004-09-28 16:17:26 +00:00
Bruce Momjian
e1c8b37afb
Add new macro as shorthand for MS VC and Borland C++:
...
+ #if defined(_MSC_VER) || defined(__BORLANDC__)
+ #define WIN32_CLIENT_ONLY
+ #endif
2004-09-27 23:24:45 +00:00
Bruce Momjian
e017051006
More MS VC and BCC psql compile cleanups.
2004-09-27 22:20:40 +00:00
Bruce Momjian
866627f84d
Make adjustment for MS VC and BCC compile of psql, from Dave Page.
2004-09-27 22:06:41 +00:00
Bruce Momjian
f6b896b17a
Improve MS VC builds for psql by handlling flex properly and prevent
...
rename prototype conflict.
2004-09-27 20:37:20 +00:00
Peter Eisentraut
353b70aef3
Translation updates
2004-09-27 20:26:03 +00:00
Peter Eisentraut
ad6a6170e5
New translations
2004-09-27 20:21:24 +00:00
Bruce Momjian
32b24bfa97
Remove inclusion of windows.h now that it is included in c.h, per idea
...
from Peter.
2004-09-27 19:16:03 +00:00
Neil Conway
6a84723d7d
Minor tweak to pg_controldata usage information, per suggestion from
...
Dennis Björklund. Also, remove some redundant #include directives.
2004-09-23 00:47:44 +00:00
Neil Conway
a94edb4c7b
Some improvements for the tab-completion of psql. This should
...
address all of the items in the todo list and adds some new
things as well. Specifically:
* Add support for ALTER SEQUENCE ...
* Add "RENAME TO" for ALTER TRIGGER xx ON yy
* Pick proper table for ALTER TRIGGER xx ON ...
* Support for ALTER USER xxx ...
* Fix ALTER GROUP xxx DROP ...
* Fix ALTER DOMAIN xxx DROP ...
* Remove "OWNER TO" from ALTER DOMAIN xx DROP ...
* Fix ALTER DOMAIN xx SET DEFAULT ..
* Prevent ALTER INDEX xxx SET TABLESPACE from using "TO"
* Support for ALTER LANGUAGE xxx (RENAME TO)
* More support for ALTER TABLE xxx ALTER COLUMN xxx ...
* More support for COPY
Greg Sabino Mullane
2004-09-22 04:25:16 +00:00
Tom Lane
5b564e5307
Fix some shortcomings in psql's autocommit-off mode concerning detection
...
of commands for which a transaction block should not be forced. Recognize
VACUUM and other PreventTransactionChain commands; handle nested /* .. */
comments correctly; handle multibyte encodings correctly.
Michael Paesold with some kibitzing from Tom Lane.
2004-09-20 18:51:19 +00:00
Peter Eisentraut
fbbdfa413e
Translation update
2004-09-20 08:15:29 +00:00
Peter Eisentraut
398d4822a4
Translation updates
2004-09-20 07:57:14 +00:00
Peter Eisentraut
cb2a8a9e00
Translation updates
2004-09-20 07:49:54 +00:00
Peter Eisentraut
fa942e8010
Translation updates
2004-09-20 07:44:42 +00:00
Peter Eisentraut
cb66748bdf
New translation
2004-09-14 05:50:33 +00:00
Neil Conway
65ff0ed455
Fix small memory leak in psql.
2004-09-13 23:07:12 +00:00
Peter Eisentraut
d69528881a
Translation updates
2004-09-13 12:43:27 +00:00
Peter Eisentraut
95c034e311
Translation updates
2004-09-13 12:35:18 +00:00
Peter Eisentraut
77697dcaa3
New translations
2004-09-13 12:20:24 +00:00
Peter Eisentraut
b972ab7178
New translation
2004-09-13 12:14:50 +00:00
Peter Eisentraut
a67b5bd3b9
Translation updates
2004-09-13 12:11:22 +00:00
Tom Lane
1d681d6cee
Fix some problems with restoring databases owned by non-superusers,
...
as per bug #1249 ; and remove the last vestiges of using \connect to
change authorization.
2004-09-10 20:05:18 +00:00
Bruce Momjian
3036b84b77
Adjust quotes for win32 build of psql.
2004-09-10 09:45:21 +00:00
Neil Conway
ae7ea1395c
psql consistency fixes from Greg Sabino Mullane: have \df show schema and
...
name first, make sure \di+ shows description last, and make \dl SQL look
a little more standard.
2004-09-10 04:10:53 +00:00
Bruce Momjian
35e88b512e
Create pg_config_paths in port/ for win32 builds of psql.
2004-09-10 03:48:54 +00:00
Tom Lane
6ad853b975
Yet another place where someone was being careless about the arguments
...
of <ctype.h> macros.
2004-09-02 20:07:50 +00:00
Tom Lane
a28961d5e0
Spelling correction, per Greg Mullane.
2004-09-02 17:58:41 +00:00
Bruce Momjian
8cef6ae522
Remove pg_config_paths.h from libpq *.mak builds so later MinGW builds
...
will succeed.
2004-09-02 02:02:02 +00:00