|
7 | 7 | * |
8 | 8 | * |
9 | 9 | * IDENTIFICATION |
10 | | - * $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.114 1997/11/2413:43:15 momjian Exp $ |
| 10 | + * $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.115 1997/11/2414:05:02 momjian Exp $ |
11 | 11 | * |
12 | 12 | *------------------------------------------------------------------------- |
13 | 13 | */ |
@@ -1717,23 +1717,23 @@ HandleSlashCmds(PsqlSettings *pset, |
1717 | 1717 | SELECTt.typname as return_type, \ |
1718 | 1718 | p.proname as function, \ |
1719 | 1719 | oid8types(p.proargtypes) as arguments, \ |
1720 | | -obj_description(p.oid) \ |
| 1720 | +substr(obj_description(p.oid),1,23) \ |
1721 | 1721 | FROM pg_proc p, pg_type t \ |
1722 | 1722 | WHERE p.prorettype = t.oid and \ |
1723 | 1723 | (pronargs = 0 or oid8types(p.proargtypes) != '') and \ |
1724 | 1724 | t.typname != 'bool' \ |
1725 | 1725 | ORDER BY return_type, function;", |
1726 | 1726 | false, false,0); |
1727 | 1727 | SendQuery(&success,pset,"\ |
1728 | | -SELECTt.typname asreturn_type, \ |
| 1728 | +SELECTt.typname asrets, \ |
1729 | 1729 | p.proname as function, \ |
1730 | 1730 | oid8types(p.proargtypes) as arguments, \ |
1731 | | -obj_description(p.oid) \ |
| 1731 | +substr(obj_description(p.oid),1,34) \ |
1732 | 1732 | FROM pg_proc p, pg_type t \ |
1733 | 1733 | WHERE p.prorettype = t.oid and \ |
1734 | 1734 | (pronargs = 0 or oid8types(p.proargtypes) != '') and \ |
1735 | 1735 | t.typname = 'bool' \ |
1736 | | -ORDER BYreturn_type, function;", |
| 1736 | +ORDER BYrets, function;", |
1737 | 1737 | false, false,0); |
1738 | 1738 | } |
1739 | 1739 | elseif (strncmp(cmd,"di",2)==0) |
|