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

Commita986b7b

Browse files
committed
Move descriptions to pg_proc, add descriptions.
1 parent4965634 commita986b7b

File tree

3 files changed

+781
-1270
lines changed

3 files changed

+781
-1270
lines changed

‎src/bin/psql/psql.c

Lines changed: 4 additions & 4 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.113 1997/11/19 03:14:19 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.114 1997/11/24 13:43:15 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -1747,7 +1747,7 @@ HandleSlashCmds(PsqlSettings *pset,
17471747
t0.typname AS result, \
17481748
t1.typname AS left_type, \
17491749
t2.typname AS right_type, \
1750-
obj_description(o.oid) as description \
1750+
obj_description(p.oid) as description \
17511751
FROMpg_proc p, pg_type t0, \
17521752
pg_type t1, pg_type t2, \
17531753
pg_operator o \
@@ -1762,7 +1762,7 @@ HandleSlashCmds(PsqlSettings *pset,
17621762
SELECTo.oprname AS left_unary, \
17631763
t0.typname AS return_type, \
17641764
t1.typname AS operand, \
1765-
obj_description(o.oid) as description \
1765+
obj_description(p.oid) as description \
17661766
FROMpg_operator o, pg_proc p, pg_type t0, pg_type t1 \
17671767
WHERERegprocToOid(o.oprcode) = p.oid AND \
17681768
o.oprresult = t0.oid AND \
@@ -1774,7 +1774,7 @@ HandleSlashCmds(PsqlSettings *pset,
17741774
SELECTo.oprname AS right_unary, \
17751775
t0.typname AS return_type, \
17761776
t1.typname AS operand, \
1777-
obj_description(o.oid) as description \
1777+
obj_description(p.oid) as description \
17781778
FROMpg_operator o, pg_proc p, pg_type t0, pg_type t1 \
17791779
WHERERegprocToOid(o.oprcode) = p.oid AND \
17801780
o.oprresult = t0.oid AND \

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp