]> granicus.if.org Git - postgresql/commitdiff
Add cash_words_out and fix \df width.
authorBruce Momjian <bruce@momjian.us>
Sun, 25 Jan 1998 20:23:40 +0000 (20:23 +0000)
committerBruce Momjian <bruce@momjian.us>
Sun, 25 Jan 1998 20:23:40 +0000 (20:23 +0000)
src/bin/psql/psql.c
src/include/catalog/pg_proc.h

index ab519b4143c8b220f1990c4439ab7a7dd95bdfee..a4b5bf600879392592ca947df18958f47e1274b2 100644 (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 \
index 1a1b7f01a3daaa9251f4932913e92271726e9140..b32dead7b4de9d6d955364a21f0c35d03ec1965f 100644 (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 ));