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

Commit0e032a2

Browse files
committed
Place "extern" declaration in the right part of pg_class.h.
errdetail_relkind_not_supported() was declared withinEXPOSE_TO_CLIENT_CODE, which is mistaken since that functionisn't available client-side. While relatively harmless,this isn't good precedent.Discussion:https://postgr.es/m/1134562.1742507765@sss.pgh.pa.us
1 parentcd72c1b commit0e032a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/include/catalog/pg_class.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,8 @@ MAKE_SYSCACHE(RELNAMENSP, pg_class_relname_nsp_index, 128);
231231
(relkind)==RELKIND_TOASTVALUE|| \
232232
(relkind)==RELKIND_MATVIEW)
233233

234-
externinterrdetail_relkind_not_supported(charrelkind);
235-
236234
#endif/* EXPOSE_TO_CLIENT_CODE */
237235

236+
externinterrdetail_relkind_not_supported(charrelkind);
237+
238238
#endif/* PG_CLASS_H */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp