Skip to content

Commit d57753e

Browse files
committed
Add cash_words_out and fix \df width.
1 parent 594aae9 commit d57753e

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/bin/psql/psql.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.129 1998/01/23 19:22:24 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.130 1998/01/25 20:23:36 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -1770,7 +1770,7 @@ HandleSlashCmds(PsqlSettings *pset,
17701770
SendQuery(&success, pset,"\
17711771
SELECT t.typname as return_type, \
17721772
p.proname as function, \
1773-
oid8types(p.proargtypes) as arguments, \
1773+
substr(oid8types(p.proargtypes),1,20) as arguments, \
17741774
substr(obj_description(p.oid),1,23) \
17751775
FROM pg_proc p, pg_type t \
17761776
WHERE p.prorettype = t.oid and \

src/include/catalog/pg_proc.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: pg_proc.h,v 1.43 1998/01/24 22:48:41 momjian Exp $
9+
* $Id: pg_proc.h,v 1.44 1998/01/25 20:23:40 momjian Exp $
1010
*
1111
* NOTES
1212
* 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
11781178
DESCR("(internal)");
11791179
DATA(insert OID = 887 ( cash_out PGUID 11 f t f 1 f 23 "0" 100 0 0 100 foo bar ));
11801180
DESCR("(internal)");
1181+
DATA(insert OID = 1273 ( cash_words_out PGUID 11 f t f 1 f 23 "0" 100 0 0 100 foo bar ));
1182+
DESCR("output amount as words");
11811183
DATA(insert OID = 888 ( cash_eq PGUID 11 f t f 2 f 16 "790 790" 100 0 0 100 foo bar ));
11821184
DESCR("equals");
11831185
DATA(insert OID = 889 ( cash_ne PGUID 11 f t f 2 f 16 "790 790" 100 0 0 100 foo bar ));

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy