diff --git a/README.md b/README.md index 8ce3275..cb6a8bd 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,8 @@ There are examples for writing TLEs in several languages, including: ## Supported PostgreSQL versions +`pg_tle` 1.5.2 supports PostgreSQL major versions 12 to 18. + `pg_tle` 1.5.0 supports PostgreSQL major versions 12 to 17. `pg_tle` 1.4.0 supports PostgreSQL major versions 11 to 17. diff --git a/include/compatibility.h b/include/compatibility.h index 4662b41..35587d5 100644 --- a/include/compatibility.h +++ b/include/compatibility.h @@ -131,8 +131,10 @@ #define GETOBJECTDESCRIPTION(a) getObjectDescription(a, false) #endif -/* if prior to pg13, upgrade to newer macro defs. - * This also adds support for PG_FINALLY */ +/* + * if prior to pg13, upgrade to newer macro defs. + * This also adds support for PG_FINALLY + */ #if PG_VERSION_NUM < 130000 #ifdef PG_TRY #undef PG_TRY diff --git a/src/clientauth.c b/src/clientauth.c index 5dc9537..1127d1a 100644 --- a/src/clientauth.c +++ b/src/clientauth.c @@ -519,7 +519,8 @@ clientauth_launcher_main(Datum arg) } } -/* Run the user's functions. +/* + * Run the user's functions. * * This procedure should not do any transaction management (other than opening an SPI connection) * or shared memory accesses. diff --git a/src/tleextension.c b/src/tleextension.c index 68c7d33..0b920c4 100644 --- a/src/tleextension.c +++ b/src/tleextension.c @@ -1888,11 +1888,11 @@ find_install_path(List *evi_list, ExtensionVersionInfo *evi_target, } /* -* Figures out which script(s) we need to run to install the desired -* version of the extension. If we do not have a script that directly -* does what is needed, we try to find a sequence of update scripts that -* will get us there. -*/ + * Figures out which script(s) we need to run to install the desired + * version of the extension. If we do not have a script that directly + * does what is needed, we try to find a sequence of update scripts that + * will get us there. + */ static List * find_versions_to_apply(ExtensionControlFile *pcontrol, const char **versionName) { @@ -5207,12 +5207,12 @@ pg_tle_set_default_version(PG_FUNCTION_ARGS) } /* -* Convert text array to list of strings. -* -* Note: the resulting list of strings is pallocated here. -* -* This is borrowed from pg_subscription.c -*/ + * Convert text array to list of strings. + * + * Note: the resulting list of strings is pallocated here. + * + * This is borrowed from pg_subscription.c + */ static List * textarray_to_stringlist(ArrayType *textarray) {