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

Commitefc9a91

Browse files
author
Thomas G. Lockhart
committed
Allow a null pointer to be returned from get_opname().
Previously, had thrown an error, but looking for alternate strategies for table indices utilization would prefer to continue.
1 parent4c91723 commitefc9a91

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎src/backend/utils/cache/lsyscache.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/utils/cache/lsyscache.c,v 1.18 1998/08/11 18:28:18 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/utils/cache/lsyscache.c,v 1.19 1998/08/16 05:38:41 thomas Exp $
1111
*
1212
* NOTES
1313
* Eventually, the index information should go through here, too.
@@ -220,7 +220,10 @@ get_opname(Oid opno)
220220
returnpstrdup(optup.oprname.data);
221221
else
222222
{
223+
/* don't throw an error anymore; we want to continue... */
224+
#ifFALSE
223225
elog(ERROR,"can't look up operator %d\n",opno);
226+
#endif
224227
returnNULL;
225228
}
226229
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp