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

Commitfba3665

Browse files
committed
Avoid duplicate typedef for SharedRecordTypmodRegistry.
This isn't our usual solution for such problems, and older compilers(not terribly old, either) don't like it.Per buildfarm and local testing.
1 parent6b65a7f commitfba3665

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/include/access/session.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414

1515
#include"lib/dshash.h"
1616

17-
/*Defined in typcache.c */
18-
typedefstructSharedRecordTypmodRegistrySharedRecordTypmodRegistry;
17+
/*Avoid including typcache.h */
18+
structSharedRecordTypmodRegistry;
1919

2020
/*
2121
* A struct encapsulating some elements of a user's session. For now this
@@ -28,7 +28,7 @@ typedef struct Session
2828
dsa_area*area;/* The session-scoped DSA area. */
2929

3030
/* State managed by typcache.c. */
31-
SharedRecordTypmodRegistry*shared_typmod_registry;
31+
structSharedRecordTypmodRegistry*shared_typmod_registry;
3232
dshash_table*shared_record_table;
3333
dshash_table*shared_typmod_table;
3434
}Session;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp