Bruce Momjian
d57753efd4
Add cash_words_out and fix \df width.
1998-01-25 20:23:40 +00:00
Marc G. Fournier
b34c8ec3ec
From: James Hughes <jamesh@interpath.com>
...
This is a patch to fix crashes in psql when executing queries from
an external file. The code also adds error checking to verify that
memory for "query" was allocated. The conditional for the block of
code was changed from "query == NULL" to "query_alloced == false".
The conditional, "query == NULL", was never true. This prevented
the memory being allocated for "query". A few lines later, an attempt
to write to an un-allocated memory area generated a SIGSEGV causing
the frontend to crash.
1998-01-23 19:22:24 +00:00
Marc G. Fournier
b8476a09fe
From: Andrew Martin <martin@biochemistry.ucl.ac.uk>
...
psql .psqlrc file startup(Andrew)
1998-01-23 19:21:11 +00:00
Bruce Momjian
0fd8d60185
Allow \z to show sequences.
1998-01-22 18:50:22 +00:00
Bruce Momjian
b37bc65f44
Creates the SubLink structure, and the Query->hasSubLink field,
...
with supporting code.
Creates SubLink node in gram.y.
psql.c patch for newatttypmod field.
1998-01-17 04:53:46 +00:00
Bruce Momjian
bf8af2205b
PAGER \z in psql.
1998-01-09 19:34:38 +00:00
Bruce Momjian
3d8820a364
Remove un-needed quotes from psql \d DEFAULT display.
1998-01-05 13:56:05 +00:00
Bruce Momjian
0af9137f14
Add NOT NULL and DEFAULT to \d table.
1998-01-05 02:21:22 +00:00
Bruce Momjian
bbd5c21786
Make no-tty not use quiet in psql, fix group by copy failure, fix ccsym to delete tmp files.
1997-12-23 21:38:53 +00:00
Bruce Momjian
3827555869
Fix notty output to show status result. -q option still turns it off.
1997-12-22 20:03:53 +00:00
Bruce Momjian
a68a132a6c
Add VARHDRSZ where needed. Many places just used 4.
1997-12-06 22:57:36 +00:00
Bruce Momjian
5a5cb30096
Fix tolower loops to go in proper direction for cache.
1997-12-05 01:13:24 +00:00
Bruce Momjian
7059464335
Fix for \dd on types.
1997-11-30 17:46:01 +00:00
Bruce Momjian
97ad0b1cd4
\dd fix.
1997-11-26 02:34:28 +00:00
Bruce Momjian
91742c5c24
Change heading.
1997-11-24 14:15:11 +00:00
Bruce Momjian
4857de6be4
Cleanup wrapping in \d commands.
1997-11-24 14:05:02 +00:00
Bruce Momjian
a986b7ba4d
Move descriptions to pg_proc, add descriptions.
1997-11-24 13:43:29 +00:00
Bruce Momjian
b686104cd5
Change \df order.
1997-11-19 03:14:19 +00:00
Bruce Momjian
20858bdd96
Make \d commands not wrap over 80 cols.
1997-11-18 06:46:31 +00:00
Bruce Momjian
bd6733f9ce
Clean out pgbuiltin now that new psql \d commands exist.
1997-11-17 22:15:03 +00:00
Bruce Momjian
d0928a3af3
Fix \e for empty file.
1997-11-17 17:54:24 +00:00
Bruce Momjian
0f62b3024e
Fix for \e on empty file.
1997-11-17 05:23:11 +00:00
Bruce Momjian
930bce33db
Re-ordeer new \d command output.
1997-11-16 05:32:16 +00:00
Bruce Momjian
12fc33077b
New \dS psql command. initdb cleanup.
1997-11-16 04:36:52 +00:00
Bruce Momjian
4e9df155f0
Add new \df psql option and oid8types() function.
1997-11-15 16:32:25 +00:00
Bruce Momjian
4cbc06cff1
Add new psql \da, \do, and \dT options.
1997-11-14 21:38:25 +00:00
Bruce Momjian
ea4223c45f
FIx for indexing regex stuff. Change rowoid to objoid.
1997-11-14 05:57:46 +00:00
Bruce Momjian
145bae2759
pg_description cleanup.
1997-11-13 03:36:42 +00:00
Bruce Momjian
5071ae2972
Add pg_description table for info on tables, columns, operators, types, and aggregates. Modify psql with new \dd operator to access description
1997-11-13 03:23:18 +00:00
Thomas G. Lockhart
7e1a8a90f8
Support "delimited identifiers" for \d tablename command.
...
This allows mixed-case identifiers if surrounded by double quotes.
Add mention of "with location" clause for "create database" in help.
1997-11-07 06:27:55 +00:00
Bruce Momjian
475a8873b0
Add paging for \d, and fix \i.
1997-11-03 04:21:49 +00:00
Thomas G. Lockhart
c7dbd366ba
Remove debugging "puts" print statement.
1997-09-24 17:46:14 +00:00
Bruce Momjian
cad3e709fe
Fix for backslash quote.
1997-09-23 19:47:59 +00:00
Bruce Momjian
34ec62058a
Fix \e and \p after query.
1997-09-19 03:42:39 +00:00
Bruce Momjian
3f365ba0fc
Inline memset() as MemSet().
1997-09-18 20:22:58 +00:00
Bruce Momjian
48fd8b3e8f
Cleanup of use of settings as pointer and structure, and ps.
1997-09-13 13:03:41 +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
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
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
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
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
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