Skip to content

Releases: darold/pgtt

Version 4.0

31 May 03:06
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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.

Version 2.8

02 Jun 13:28
Compare
Choose a tag to compare

Version 2.8 - Jun 02 2022

This is a maintenance release to add support to PostgreSQL 15 and fix an error when trying to drop a regular table.

  - Add support to PostgreSQL 15.
  - Fix impossibility to drop a regular table when the extension is loaded.
    Thanks to basildba for the report.

Version 2.7

23 Nov 18:29
Compare
Choose a tag to compare

Version 2.7 - Nov 23 2021

This is a maintenance release to fix an issue with parallelism and improve performances.

  • Prevent code to be executed in parallel processes. Thanks to Dmitry Ukolov for the report.
  • Improve performances by not looking for an existing GTT table if the table is a temporary table or part of the pg_catalog.
  • Update ChangeLog to acknowledge patch on PG14 support to Dmitry Ukolov.
  • Update copyright year.

Version 2.6

22 Sep 18:54
Compare
Choose a tag to compare

Version 2.6 - Sep 22 2021

This is a maintenance release to add support for upcoming PostgreSQL 14.

  • Add support to PostgreSQL 14. Thanks to Devrim Gunduz for the report and Dmitry Ukolov for the patch.
  • Remove support to PG 9.5 which obviously was not working. Minimal PostgreSQL version for this extension is 9.6.
  • Fix documentation menu.
  • Fix creation of GTT when there is a CHECK constraint with string constant.

Version 2.5

08 Jun 17:37
Compare
Choose a tag to compare

Version 2.5 - Jun 08 2021

This is a maintenance release to hot fix port on PostgreSQL 9.6.

  • Fix port to PostgreSQL 9.6. Thanks to Devrim Gunduz for the report.