Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit cc494ce

Browse files
committed
Prevent \do from wrapping.
1 parent 5346488 commit cc494ce

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/bin/psql/psql.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.136 1998/02/26 04:39:09 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.137 1998/03/16 14:27:38 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -1788,7 +1788,7 @@ HandleSlashCmds(PsqlSettings *pset,
17881788
SELECT t.typname as return_type, \
17891789
p.proname as function, \
17901790
substr(oid8types(p.proargtypes),1,20) as arguments, \
1791-
substr(obj_description(p.oid),1,28) \
1791+
substr(obj_description(p.oid),1,28) as description \
17921792
FROM pg_proc p, pg_type t \
17931793
WHERE p.prorettype = t.oid and \
17941794
(pronargs = 0 or oid8types(p.proargtypes) != '') and \
@@ -1799,7 +1799,7 @@ HandleSlashCmds(PsqlSettings *pset,
17991799
SELECT t.typname as rtns, \
18001800
p.proname as function, \
18011801
oid8types(p.proargtypes) as arguments, \
1802-
substr(obj_description(p.oid),1,34) \
1802+
substr(obj_description(p.oid),1,34) as description \
18031803
FROM pg_proc p, pg_type t \
18041804
WHERE p.prorettype = t.oid and \
18051805
(pronargs = 0 or oid8types(p.proargtypes) != '') and \
@@ -1818,7 +1818,7 @@ HandleSlashCmds(PsqlSettings *pset,
18181818
t0.typname AS result, \
18191819
t1.typname AS left_type, \
18201820
t2.typname AS right_type, \
1821-
obj_description(p.oid) as description \
1821+
substr(obj_description(p.oid),1,42) as description \
18221822
FROM pg_proc p, pg_type t0, \
18231823
pg_type t1, pg_type t2, \
18241824
pg_operator o \

0 commit comments

Comments
 (0)