7
7
*
8
8
*
9
9
* 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 $
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
@@ -1788,7 +1788,7 @@ HandleSlashCmds(PsqlSettings *pset,
1788
1788
SELECT t.typname as return_type, \
1789
1789
p.proname as function, \
1790
1790
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 \
1792
1792
FROM pg_proc p, pg_type t \
1793
1793
WHERE p.prorettype = t.oid and \
1794
1794
(pronargs = 0 or oid8types(p.proargtypes) != '') and \
@@ -1799,7 +1799,7 @@ HandleSlashCmds(PsqlSettings *pset,
1799
1799
SELECT t.typname as rtns, \
1800
1800
p.proname as function, \
1801
1801
oid8types(p.proargtypes) as arguments, \
1802
- substr(obj_description(p.oid),1,34) \
1802
+ substr(obj_description(p.oid),1,34) as description \
1803
1803
FROM pg_proc p, pg_type t \
1804
1804
WHERE p.prorettype = t.oid and \
1805
1805
(pronargs = 0 or oid8types(p.proargtypes) != '') and \
@@ -1818,7 +1818,7 @@ HandleSlashCmds(PsqlSettings *pset,
1818
1818
t0.typname AS result, \
1819
1819
t1.typname AS left_type, \
1820
1820
t2.typname AS right_type, \
1821
- obj_description(p.oid) as description \
1821
+ substr( obj_description(p.oid),1,42 ) as description \
1822
1822
FROM pg_proc p, pg_type t0, \
1823
1823
pg_type t1, pg_type t2, \
1824
1824
pg_operator o \
0 commit comments