Add cash_words_out and fix \df width.

This commit is contained in:
Bruce Momjian 1998-01-25 20:23:40 +00:00
parent 594aae99ae
commit d57753efd4
2 changed files with 5 additions and 3 deletions

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.129 1998/01/23 19:22:24 scrappy Exp $
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.130 1998/01/25 20:23:36 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -1770,7 +1770,7 @@ HandleSlashCmds(PsqlSettings *pset,
SendQuery(&success, pset,"\
SELECT t.typname as return_type, \
p.proname as function, \
oid8types(p.proargtypes) as arguments, \
substr(oid8types(p.proargtypes),1,20) as arguments, \
substr(obj_description(p.oid),1,23) \
FROM pg_proc p, pg_type t \
WHERE p.prorettype = t.oid and \

View File

@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: pg_proc.h,v 1.43 1998/01/24 22:48:41 momjian Exp $
* $Id: pg_proc.h,v 1.44 1998/01/25 20:23:40 momjian Exp $
*
* NOTES
* The script catalog/genbki.sh reads this file and generates .bki
@ -1178,6 +1178,8 @@ DATA(insert OID = 886 ( cash_in PGUID 11 f t f 1 f 790 "0" 100 0 0 100 fo
DESCR("(internal)");
DATA(insert OID = 887 ( cash_out PGUID 11 f t f 1 f 23 "0" 100 0 0 100 foo bar ));
DESCR("(internal)");
DATA(insert OID = 1273 ( cash_words_out PGUID 11 f t f 1 f 23 "0" 100 0 0 100 foo bar ));
DESCR("output amount as words");
DATA(insert OID = 888 ( cash_eq PGUID 11 f t f 2 f 16 "790 790" 100 0 0 100 foo bar ));
DESCR("equals");
DATA(insert OID = 889 ( cash_ne PGUID 11 f t f 2 f 16 "790 790" 100 0 0 100 foo bar ));