mirror of https://github.com/citusdata/citus.git
PG17 renamed Anum_pg_database_daticulocale to Anum_pg_database_datlocale
parent
17b4122e84
commit
08913e27d7
|
@ -839,7 +839,7 @@ GetDatabaseCollation(Oid dbOid)
|
|||
Datum ctypeDatum = heap_getattr(tup, Anum_pg_database_datctype, tupdesc, &isNull);
|
||||
info.datctype = TextDatumGetCString(ctypeDatum);
|
||||
|
||||
Datum icuLocaleDatum = heap_getattr(tup, Anum_pg_database_daticulocale, tupdesc,
|
||||
Datum icuLocaleDatum = heap_getattr(tup, Anum_pg_database_datlocale, tupdesc,
|
||||
&isNull);
|
||||
if (!isNull)
|
||||
{
|
||||
|
|
|
@ -111,6 +111,7 @@ getStxstattarget_compat(HeapTuple tup)
|
|||
#else
|
||||
|
||||
#define Anum_pg_collation_colllocale Anum_pg_collation_colliculocale
|
||||
#define Anum_pg_database_datlocale Anum_pg_database_daticulocale
|
||||
|
||||
#include "access/htup_details.h"
|
||||
static inline int
|
||||
|
|
Loading…
Reference in New Issue