Skip to content

Releases: darold/pgtt

Version 4.4

02 Jul 18:18

Choose a tag to compare

Version 4.4 - July 02 2025

This is a maintenance release to fix a search_path error when using pg_dump.

  • Fix pg_dump error with invalid search_path. pg_dump set search_path to
    empty string, appending the pgtt schema in this case make it fail.
  • Update regression test expected output file related to search_path test.

Version 4.3

09 Jun 06:50

Choose a tag to compare

Version 4.3 - June 09 2025

This is a quick maintenance release to fix an issue introduced in latest
release.

  • Drop extension before running tests on search_path.
  • Fix invalid search_path error. When pgtt isn't preloaded and pg_catalog
    is the last element in search_path, results in error message "invalid
    value for parameter 'search_path'" due to invalid list syntax. Thanks
    to Japin Li for the patch.

Version 4.2

08 Jun 18:26

Choose a tag to compare

Version 4.2 - June 08 2025

This is a maintenance release to fix issues reported by users since latest
release and especially a search_path modification issue.

  • Preserve pg_catalog at end of search path if it is the case to allow
    pg_catalog overloaded function to be executed.
  • Add regression test on search_path forcing.
  • Preserve $user and other elements in search_path. Thanks to Japin Li
    for the patch.
  • Remove the LOAD command from documentation. Thanks to Li Jianping for the
    patch.
  • Fix session_preload_libraries documentation for non-superusers. Thanks
    to Japin Li for the patch.
  • Resolve a warning regarding incompatible pointer types. Thanks to Li
    Jianping for the patch.

Version 4.1

18 Mar 06:44

Choose a tag to compare

Version 4.1 - March 18 2025

This is a maintenance release to fix issues reported by users since latest
release.

  • Use query instead of \d to list indexes in regression tests.
  • Fix wrong complain about temporary table created and active when a
    regular temporary table is created with (LIKE ... INCLUDING INDEXES).
    Thanks to Benjamin Wirth for the report.
  • Remove documentation for non-superuser configuration. Thanks to Julien
    Rouhaud for the patch.
  • Fix config in README. The concrete path to the shared library is not
    needed in postgresql.conf. Thanks to Simon Martin for the patch.
  • Install docs to a non-generic name, add a symlink to README.md that is
    referenced in DOCS. Thanks to Christoph Berg for the patch.
  • Add vaccum pg_class + pg_sleep(1) after each drop table in regression
    tests to wait that the temporary table is really removed.
  • Add missing PGDLLEXPORT tags on callback functions, those are needed on
    windows. Thanks to Julien Rouhaud for the patch.

Version 4.0

31 May 03:06

Choose a tag to compare

Version 4.0 - May 31 2024

This major release allow preloading pgtt in session_preload_libraries
and adds support to Windows operating system. Here is the complete list
of changes.

  • Add port to Windows operating system. Thanks to Julien Rouhaud for
    the patch
  • Allow preloading pgtt in session_preload_libraries. The module is now lazily
    loaded when it might be needed (after parse analysis, before executor
    startup and before utility statements execution), and all the code is simply
    bypassed if the underlying extension has not been created. Thanks to Julien
    Rouhaud for the patch.
  • Fix first query execution after a LOAD command. If the extension is loaded
    with a plain LOAD command, the search_path will only be set during the next
    query execution. It means that the very first query executed after such a
    LOAD wouldn't see the global temporary tables. Thanks to Julien Rouhaud for
    the patch.
  • Remove the relocation test, the extension is not relocatable anymore.
  • Fix crash with RESET ALL. RESET ALL has a NULL "name" field, so we can't use
    strcmp in that case. Since the existing code is only interested in SET
    commands, just move up the check that the command is a VAR_SET_VALUE to
    ensure that we will have a GUC name. Thanks to Julien Rouhaud for the patch.
  • Fix various minor whitespace and indent issues. Thanks to Julien Rouhaud for
    the patch.
  • Add Julien Rouhaud in the authors and maintainers list.

Version 3.2

12 Apr 01:48

Choose a tag to compare

Version 3.2 - Apr 12 2024

This is a maintenance release to fix issues reported by users since latest
release and compatibility with future PG 17.

  • Add information about privilege on the pgtt schema.
  • Make test on lock compatible with version <= 14
  • The temporary table needs to be locked. Thanks to Leo X.M. Zeng for the patch.
  • Replace MyBackendId with MyProcNumber for PG > 16
  • Check extension when loading pgtt. Thanks to Japin Li for the patch.
  • Release lock on global template temporary table. Thanks to Japin Li for the patch.

Version 3.1

26 Dec 12:09

Choose a tag to compare

Version 3.1 - Dec 26 2023

This is a maintenance release to fix issues reported by users since latest
release.

  • Fix ERROR: attempt to redefine parameter "pgtt.enabled". Thanks to Japin Li for the report.
  • Forget acquiring lock for temporary table. Thanks to Japin Li for the patch.
  • Add temporisation after vacuum in 08_plplgsql test.
  • Update main.yml to remove PG versions prior 12.

Version 3.0

17 Sep 20:48

Choose a tag to compare

Version 3.0 - Sep 17 2023

This major release fix several issues related to PostgreSQL v16 port and remove support to PostgreSQL version prior 12. Here is the complete
list of changes.

  • Remove support to PostgreSQL prior v12.
  • Fix compilation error: static declaration of get_extension_schema follows non-static declaration. Thanks to Devrim Gunduz for the report.
  • Remove grouping set in regexp.
  • Add -Wno-ignored-attributes to CPPFLAGS to avoid compilation warning on pg_vsnprintf call.
  • Replace GetOverrideSearchPath() call by GetSearchPathMatcher() with PG > 16
  • Fix debug information print on Windows. Thanks to Lanlan for the patch.
  • Replace reg* regexp function with the pg_reg* function. Thanks to Lanlan for the report.
  • Fix port to PostgreSQL v16. Thanks to Julien Rouhaud for the patch.

Version 2.10

23 Feb 18:46

Choose a tag to compare

Version 2.10 - Feb 23 2023

This is a maintenance release to fix a lock issue in multi parallel process
environment, many locks were generated. Here are the complete list of changes:

  • Delegate locks on per session temporary tables to PostgreSQL when the table
    will be used.
  • Release lock on parent table after temporary table creation based on this
    relation. Thanks to jayhsiang and liyaojinli for the report.
  • Use vacuum in test 08 to not look at pg_class too early before the temporary
    table is remove.
  • Fix setting default value of the parent table's persistence that can be
    misleading in future development. Thanks to songjinzhou for the patch.
  • Fix documentation. Thanks to Luca Ferrari for the patch.

Version 2.9

16 Aug 10:50

Choose a tag to compare

Version 2.9 - Aug 16 2022

This is a maintenance release per CVE-2022-2625 and new PostgreSQL minor
versions updates.

  • Remove creation of the pgtt_schema if it not exists from extension files per CVE-2022-2625. Thanks to Dmitry Ukolov for the report.
  • Add regression test for regular table drop.