8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b65a7f commit fba3665Copy full SHA for fba3665
src/include/access/session.h
@@ -14,8 +14,8 @@
14
15
#include "lib/dshash.h"
16
17
-/* Defined in typcache.c */
18
-typedef struct SharedRecordTypmodRegistry SharedRecordTypmodRegistry;
+/* Avoid including typcache.h */
+struct SharedRecordTypmodRegistry;
19
20
/*
21
* A struct encapsulating some elements of a user's session. For now this
@@ -28,7 +28,7 @@ typedef struct Session
28
dsa_area *area; /* The session-scoped DSA area. */
29
30
/* State managed by typcache.c. */
31
- SharedRecordTypmodRegistry *shared_typmod_registry;
+ struct SharedRecordTypmodRegistry *shared_typmod_registry;
32
dshash_table *shared_record_table;
33
dshash_table *shared_typmod_table;
34
} Session;
0 commit comments