Skip to content

Commit 4345c66

Browse files
authored
Fix Postgres 19 support
The postgres/postgres@bab2f27 commit replaced the bits32 type with uint32. Replace it in the InitPostgresCompat function definition.
1 parent 365ac1a commit 4345c66

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

compat.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,11 @@ shm_mq_send_compat(shm_mq_handle *mqh, Size nbytes, const void *data,
3232
static inline void
3333
InitPostgresCompat(const char *in_dbname, Oid dboid,
3434
const char *username, Oid useroid,
35+
#if PG_VERSION_NUM >= 190000
36+
uint32 flags,
37+
#else
3538
bits32 flags,
39+
#endif
3640
char *out_dbname)
3741
{
3842
#if PG_VERSION_NUM >= 170000

0 commit comments

Comments
 (0)