mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-27 08:39:28 +08:00
Prevent \do from wrapping.
This commit is contained in:
parent
5346488bf7
commit
cc494cebbb
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.136 1998/02/26 04:39:09 momjian Exp $
|
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.137 1998/03/16 14:27:38 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -1788,7 +1788,7 @@ HandleSlashCmds(PsqlSettings *pset,
|
|||||||
SELECT t.typname as return_type, \
|
SELECT t.typname as return_type, \
|
||||||
p.proname as function, \
|
p.proname as function, \
|
||||||
substr(oid8types(p.proargtypes),1,20) as arguments, \
|
substr(oid8types(p.proargtypes),1,20) as arguments, \
|
||||||
substr(obj_description(p.oid),1,28) \
|
substr(obj_description(p.oid),1,28) as description \
|
||||||
FROM pg_proc p, pg_type t \
|
FROM pg_proc p, pg_type t \
|
||||||
WHERE p.prorettype = t.oid and \
|
WHERE p.prorettype = t.oid and \
|
||||||
(pronargs = 0 or oid8types(p.proargtypes) != '') and \
|
(pronargs = 0 or oid8types(p.proargtypes) != '') and \
|
||||||
@ -1799,7 +1799,7 @@ HandleSlashCmds(PsqlSettings *pset,
|
|||||||
SELECT t.typname as rtns, \
|
SELECT t.typname as rtns, \
|
||||||
p.proname as function, \
|
p.proname as function, \
|
||||||
oid8types(p.proargtypes) as arguments, \
|
oid8types(p.proargtypes) as arguments, \
|
||||||
substr(obj_description(p.oid),1,34) \
|
substr(obj_description(p.oid),1,34) as description \
|
||||||
FROM pg_proc p, pg_type t \
|
FROM pg_proc p, pg_type t \
|
||||||
WHERE p.prorettype = t.oid and \
|
WHERE p.prorettype = t.oid and \
|
||||||
(pronargs = 0 or oid8types(p.proargtypes) != '') and \
|
(pronargs = 0 or oid8types(p.proargtypes) != '') and \
|
||||||
@ -1818,7 +1818,7 @@ HandleSlashCmds(PsqlSettings *pset,
|
|||||||
t0.typname AS result, \
|
t0.typname AS result, \
|
||||||
t1.typname AS left_type, \
|
t1.typname AS left_type, \
|
||||||
t2.typname AS right_type, \
|
t2.typname AS right_type, \
|
||||||
obj_description(p.oid) as description \
|
substr(obj_description(p.oid),1,42) as description \
|
||||||
FROM pg_proc p, pg_type t0, \
|
FROM pg_proc p, pg_type t0, \
|
||||||
pg_type t1, pg_type t2, \
|
pg_type t1, pg_type t2, \
|
||||||
pg_operator o \
|
pg_operator o \
|
||||||
|
Loading…
Reference in New Issue
Block a user