Add COLLPROVIDER_BUILTIN option

Relevant PG commit:
f69319f2f1fb16eda4b535bcccec90dff3a6795e
f69319f2f1
m3hm3t/pg17_isolation_test_cmd_from
naisila 2024-07-31 17:21:57 +02:00
parent ba0b06b609
commit 6c12b10c3a
No known key found for this signature in database
GPG Key ID: A824BA9862D73E6D
2 changed files with 3 additions and 0 deletions

View File

@ -132,6 +132,7 @@ CreateCollationDDLInternal(Oid collationId, Oid *collowner, char **quotedCollati
char *schemaName = get_namespace_name(collnamespace);
*quotedCollationName = quote_qualified_identifier(schemaName, collname);
const char *providerString =
collprovider == COLLPROVIDER_BUILTIN ? "builtin" :
collprovider == COLLPROVIDER_DEFAULT ? "default" :
collprovider == COLLPROVIDER_ICU ? "icu" :
collprovider == COLLPROVIDER_LIBC ? "libc" : NULL;

View File

@ -145,6 +145,8 @@ getStxstattarget_compat(HeapTuple tup)
#define getProcNo_compat(a) (a->pgprocno)
#define getLxid_compat(a) (a->lxid)
#define COLLPROVIDER_BUILTIN 'b'
#endif
#if PG_VERSION_NUM >= PG_VERSION_16