Bruce Momjian
48fd8b3e8f
Cleanup of use of settings as pointer and structure, and ps.
1997-09-13 13:03:41 +00:00
Bruce Momjian
26a1956f8c
pg_version Makefile was not being processed.
1997-09-12 23:24:25 +00:00
Bruce Momjian
2d7023c8fb
No \\connect with usernames AND passwords.
1997-09-12 21:58:03 +00:00
Bruce Momjian
59f6a57e59
Used modified version of indent that understands over 100 typedefs.
1997-09-08 21:56:23 +00:00
Bruce Momjian
075cede748
Add typdefs to pgindent run.
1997-09-08 20:59:27 +00:00
Bruce Momjian
319dbfa736
Another PGINDENT run that changes variable indenting and case label indenting. Also static variable indenting.
1997-09-08 02:41:22 +00:00
Bruce Momjian
1ccd423235
Massive commit to run PGINDENT on all *.c and *.h files.
1997-09-07 05:04:48 +00:00
Bruce Momjian
868d708188
Add // comments.
1997-09-05 00:09:47 +00:00
Bruce Momjian
33b028b5b0
Fix syntax error in psql help.
1997-09-04 15:02:56 +00:00
Bruce Momjian
35378a4efc
Fix syntax error.
1997-09-03 16:48:59 +00:00
Thomas G. Lockhart
b776831e8b
Rearrange scanning code to support extended comments.
...
Use #define symbols rather than integers for scanning states.
1997-09-01 06:09:53 +00:00
Bruce Momjian
99e9deac73
Manual page renaming.
1997-08-26 17:00:23 +00:00
Bruce Momjian
0bdd6d1e00
pg_passwd cleanup.
1997-08-25 23:28:04 +00:00
Bruce Momjian
86062218da
pg_passwd cleanup.
1997-08-25 23:11:21 +00:00
Bruce Momjian
c6e7baa7e1
pg_passwd cleanup
1997-08-25 20:00:03 +00:00
Bruce Momjian
f8fda03d12
pg_password utility. Cleanup for psql passwords. New datetime contrib stuff for new version. Fix for strutils needing config.h.
1997-08-25 19:41:52 +00:00
Bruce Momjian
e045278e7e
Fix for no NULL in CREATE TABLE.
1997-08-22 17:15:41 +00:00
Bruce Momjian
7515bb484e
Fix for psql pager when no tty, cleanup for vacuum attdisbursion type.
1997-08-22 04:13:18 +00:00
Bruce Momjian
76501c8aed
Make psql use pager only when it has a tty.
1997-08-22 00:17:26 +00:00
Bruce Momjian
f1edf02cc1
Change pg_attribute.attnvals to float4, change #ifdef 0 to #if 0, fix aix call to strNcpy, fix pg_super_user_id in pg_dumpall, change pg_database.dtadba from oid to int4.
1997-08-21 02:28:55 +00:00
Bruce Momjian
63fbdd358f
Portability fix for pg_dumpall.
1997-08-20 15:06:48 +00:00
Bruce Momjian
1d8bbfd2e7
Make functions static where possible, enclose unused functions in #ifdef NOT_USED.
1997-08-19 21:40:56 +00:00
Vadim B. Mikheev
b992e200b8
NOT NULL implementation (submitted by Robson Paniago de Miranda).
1997-08-19 04:46:15 +00:00
Marc G. Fournier
9d90de5de7
Changes so that it actually checks for <readline/history.h>, instead
...
of assuming it does exist
1997-08-17 00:48:51 +00:00
Bruce Momjian
6ed1715b1f
Cleanup for NAMEDATALEN use.
1997-08-03 02:38:47 +00:00
Bruce Momjian
4b965f5758
Fix stout/stderr paging. Do not page \h select, but page \h *.
1997-08-01 04:07:55 +00:00
Bruce Momjian
a67fd49091
Fix psql error output.
1997-08-01 03:33:02 +00:00
Bruce Momjian
461f80cf9a
Add strerror to pg_version for sunos4.
1997-07-29 16:36:43 +00:00
Bruce Momjian
fd6b3c26ef
fix small memory free error.
1997-07-28 23:53:54 +00:00
Bruce Momjian
8447148aad
psql: Add PAGER for \h and \?,\C fix, indices spell fix.
1997-07-24 20:01:33 +00:00
Bruce Momjian
4d8a5efcef
Add single quotes to \\h set help
1997-07-24 19:11:53 +00:00
Bruce Momjian
9ad6e0db30
More pg_dump patch cleanups.
1997-07-23 17:42:25 +00:00
Bruce Momjian
a7d417cc2f
Fix problems with pg_dump for iheritance, sequences, archive tables.
1997-07-23 17:15:13 +00:00
Bruce Momjian
5eb4fadeaa
Prevent psql optarg free-ing
1997-07-14 22:08:56 +00:00
Bruce Momjian
a89f9731e9
Have pg_dumpall return proper status on exit
1997-07-12 15:57:31 +00:00
Bruce Momjian
43deb7a45f
Fox case-sensitivity for \d and allow trailing ; on backslash commands.
1997-06-29 17:29:28 +00:00
Bruce Momjian
1952f15c5c
Fix memory leak in psql.
1997-06-29 05:06:43 +00:00
Bruce Momjian
7e75f5e8b3
Small pg_dumpall cleanup.
1997-06-25 21:24:57 +00:00
Bruce Momjian
a53d85404e
pg_dump, pg_dumpall cleanups.
1997-06-21 16:08:17 +00:00
Bruce Momjian
a75d6aaa41
Check pgdump return request.
1997-06-20 16:37:10 +00:00
Bruce Momjian
dd2c410616
Allow pg_dump to preserve owners of all objects.
1997-06-20 02:20:26 +00:00
Bruce Momjian
8f846a321c
Update psql EXPLAIN help description, from Thomas.
1997-06-12 16:43:08 +00:00
Marc G. Fournier
735bf0b7f2
From: Igor <igor@sba.miami.edu>
...
Subject: [PATCHES] sequences display in psql
Well, I am away at Progress training (not Postgres!!) and desided to do
this patch during a break. This will allow listing of sequences in
addition to listing of tables and indicies:
\d would should indicies, tables, and sequences
\ds would show sequences only.
1997-06-11 01:03:38 +00:00
Bruce Momjian
5c34462d9c
Make LO patter consistent with psql.
1997-06-07 05:29:22 +00:00
Bruce Momjian
51b03770d7
avoid xinv* table name conflict with large objects.
1997-06-07 05:19:06 +00:00
Marc G. Fournier
e721e58c03
From: Darren King <aixssd!darrenk@abs.net>
...
Subject: [PATCHES] psql and large objects fix
Psql was broken by using "Inv[0-9]+" instead of "xin[xv][0-9]+" to not
show large object files. Been this way for a long time too. Relic of
an older naming convention, perhaps?
1997-06-06 22:05:23 +00:00
Marc G. Fournier
8d1f52ef24
From: Igor <igor@sba.miami.edu>
...
Subject: [PATCHES] More psql and libpq patches
Well..these would be the last patches until the release (I hope)...
I ran the regression tests while watching psql under purify, and it did
not leak even one byte.
In this patch:
* Plugged a major leak when PSQL reads files for input (either through
\i options or through -f option)
* Fixed the one remaining leak in PSQL in not clearing PGresult *results
everywhere it is supposed to. (Thanks Tymm)
* Fixed A small leak in PSQL not clearing all the PGsettings correctly.
* A not-so-obvious (but small) leak in Libpq when PQsetdb fails for any
reason.
* Added \n to some Libpq error messages to make them easier to digest..
* Finally, added /* PURIFY */ comment to some of the code indicating
the reason for why it was added/changed...for future developers.
1997-06-06 01:42:02 +00:00
Bruce Momjian
a668b7ac2d
Fix for large objects and case sensitivity, from Raymond Toy.
1997-06-05 22:59:45 +00:00
Vadim B. Mikheev
9d14ef9465
SET var TO '...'
...
^^ - added
1997-06-03 06:19:11 +00:00
Vadim B. Mikheev
cd3f1bcab0
cc1: warnings being treated as errors
...
psql.c: In function `HandleSlashCmds':
psql.c:1141: warning: `optarg3' might be used uninitialized in this function
psql.c:1157: warning: `optarg3' might be used uninitialized in this function
-> char *optarg3 = NULL;
1997-06-03 06:17:34 +00:00