Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 4 additions & 2 deletions include/compatibility.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion src/clientauth.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
22 changes: 11 additions & 11 deletions src/tleextension.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down Expand Up @@ -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)
{
Expand Down
Loading