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

Commit4857de6

Browse files
committed
Cleanup wrapping in \d commands.
1 parenta986b7b commit4857de6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎src/bin/psql/psql.c

Lines changed: 5 additions & 5 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.114 1997/11/2413:43:15 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.115 1997/11/2414:05:02 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -1717,23 +1717,23 @@ HandleSlashCmds(PsqlSettings *pset,
17171717
SELECTt.typname as return_type, \
17181718
p.proname as function, \
17191719
oid8types(p.proargtypes) as arguments, \
1720-
obj_description(p.oid) \
1720+
substr(obj_description(p.oid),1,23) \
17211721
FROM pg_proc p, pg_type t \
17221722
WHERE p.prorettype = t.oid and \
17231723
(pronargs = 0 or oid8types(p.proargtypes) != '') and \
17241724
t.typname != 'bool' \
17251725
ORDER BY return_type, function;",
17261726
false, false,0);
17271727
SendQuery(&success,pset,"\
1728-
SELECTt.typname asreturn_type, \
1728+
SELECTt.typname asrets, \
17291729
p.proname as function, \
17301730
oid8types(p.proargtypes) as arguments, \
1731-
obj_description(p.oid) \
1731+
substr(obj_description(p.oid),1,34) \
17321732
FROM pg_proc p, pg_type t \
17331733
WHERE p.prorettype = t.oid and \
17341734
(pronargs = 0 or oid8types(p.proargtypes) != '') and \
17351735
t.typname = 'bool' \
1736-
ORDER BYreturn_type, function;",
1736+
ORDER BYrets, function;",
17371737
false, false,0);
17381738
}
17391739
elseif (strncmp(cmd,"di",2)==0)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp