Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Releases: lacanoid/pgddl

SET COMPRESSION

22 Sep 20:25
Compare
Choose a tag to compare
SET COMPRESSION Pre-release
Pre-release
  • column compression support with ALTER COLUMN SET COMPRESSION
  • use correct routine type in ddlx_grants()
  • test updates for Postgres 17
  • fixed bug with duplicate foreign key constraints for self referencing tables
  • few more functions have comments

GRANTED BY

20 Oct 17:35
Compare
Choose a tag to compare
GRANTED BY Pre-release
Pre-release

This release contains a lot of improvements and bugfixes and is recommended for all users.

Changes include:

  • include GRANTED BY when grantor is distinct from current role
  • include table partitions in a script, nopartitions option to omit
  • new nocomments option to hide all comments
  • new comments option to show all comments, even null ones
  • more execute tests
  • bug fixes in script order, now much better!
  • bug fixes in GENERATED columns
  • improved CREATE TYPE for base types, shell types support
  • improved dropping of indexes which are really constraints
  • improved support for publications (columns and qualifiers)
  • improved handling of owned sequences
  • compatibility improvements with old postgres versions

EXECUTE

03 Oct 21:02
Compare
Choose a tag to compare
EXECUTE Pre-release
Pre-release
  • added new lite option, which moves defaults and constraints into create table section and removes some postgres specific things (such as settings and storage)
  • nowrap option for scripts to omit begin/end
  • nostorage option to omit storage settings
  • nosettings option to omit settings
  • notriggers option to omit triggers
  • added 'CREATE SEQUENCE'+'ALTER SEQUENCE' for owned sequences
  • new execute tests which actually runs generated scripts
  • updated tests for postgres 16
  • bug fixes

DEFAULTS

17 Sep 22:16
Compare
Choose a tag to compare
DEFAULTS Pre-release
Pre-release

Release for postgres 16

New lite option to move defaults and constraints into create table section.

CREATEONLY

06 Jun 18:19
Compare
Choose a tag to compare
CREATEONLY Pre-release
Pre-release
  • added ddlx_createonly() function, to create only pre-data stuff
  • few small fixes and improvements

CREATE OPERATOR CLASS

31 Jul 21:06
Compare
Choose a tag to compare
CREATE OPERATOR CLASS Pre-release
Pre-release

Objects from pg_amop and pg_amproc now handled by create_operator_class().

New option nodrop to omit drop statements alltogether.

Bug fixes with respect to partitions, where too many constraint/indexes were dumped.

CREATE SUBSCRIPTION

13 Jul 11:41
a9d6c9a
Compare
Choose a tag to compare
CREATE SUBSCRIPTION Pre-release
Pre-release

Extensions are now supported.

New options: nodcl, noowner, nogrants, noalter.

Bug fixes.

CREATE TABLE

20 Jun 21:51
Compare
Choose a tag to compare
CREATE TABLE Pre-release
Pre-release

New option ie will add IF EXISTS to a bunch of places.
New option ine will add IF NOT EXISTS to a bunch of places.
New option drop will add drop statements in the beginning of the script.

One can pass options as text array to ddlx_create and ddlx_script and other functions. Like:

mydb=# select ddlx_create('my_table'::regclass , '{ine}')

Now one can get individual parts of object definition. Try:

mydb=# select * from ddlx_definitions('my_table'::regclass)

Some internal factorization to make this more sensible.

CREATE TRIGGER

13 Jun 20:38
cbecd0d
Compare
Choose a tag to compare
CREATE TRIGGER Pre-release
Pre-release

Tests on Postgres 14 no longer fail.

ddlx_apropos() function now uses POSIX regular expressions.

CREATE EVENT TRIGGER

15 May 21:10
Compare
Choose a tag to compare
CREATE EVENT TRIGGER Pre-release
Pre-release

A bug in generated create event trigger was fixed.
Objects from extensions are now excluded from script unless 'ext' option is specified.