Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd57753e

Browse files
committed
Add cash_words_out and fix \df width.
1 parent594aae9 commitd57753e

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
SELECTt.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(insertOID=887 (cash_outPGUID11ftf1f23"0"10000100foobar ));
11801180
DESCR("(internal)");
1181+
DATA(insertOID=1273 (cash_words_outPGUID11ftf1f23"0"10000100foobar ));
1182+
DESCR("output amount as words");
11811183
DATA(insertOID=888 (cash_eqPGUID11ftf2f16"790 790"10000100foobar ));
11821184
DESCR("equals");
11831185
DATA(insertOID=889 (cash_nePGUID11ftf2f16"790 790"10000100foobar ));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp