mirror of
https://github.com/postgres/postgres.git
synced 2025-07-15 19:21:59 +03:00
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.
This commit is contained in:
@ -14,8 +14,8 @@
|
|||||||
|
|
||||||
#include "lib/dshash.h"
|
#include "lib/dshash.h"
|
||||||
|
|
||||||
/* Defined in typcache.c */
|
/* Avoid including typcache.h */
|
||||||
typedef struct SharedRecordTypmodRegistry SharedRecordTypmodRegistry;
|
struct SharedRecordTypmodRegistry;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* A struct encapsulating some elements of a user's session. For now this
|
* A struct encapsulating some elements of a user's session. For now this
|
||||||
@ -28,7 +28,7 @@ typedef struct Session
|
|||||||
dsa_area *area; /* The session-scoped DSA area. */
|
dsa_area *area; /* The session-scoped DSA area. */
|
||||||
|
|
||||||
/* State managed by typcache.c. */
|
/* State managed by typcache.c. */
|
||||||
SharedRecordTypmodRegistry *shared_typmod_registry;
|
struct SharedRecordTypmodRegistry *shared_typmod_registry;
|
||||||
dshash_table *shared_record_table;
|
dshash_table *shared_record_table;
|
||||||
dshash_table *shared_typmod_table;
|
dshash_table *shared_typmod_table;
|
||||||
} Session;
|
} Session;
|
||||||
|
Reference in New Issue
Block a user