Using test_ddl_deparse as an extension - Mailing list pgsql-hackers

From Jeremy Finzel
Subject Using test_ddl_deparse as an extension
Date
Msg-id CAMa1XUj5WxNZxwEbMA1Fa0UbPxocCbFjcUqxAPbaAMJQe1=PiA@mail.gmail.com
Whole thread Raw
Responses Re: Using test_ddl_deparse as an extension  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
I am interested in using the exact functionality in test_ddl_deparse which provides the sub command types for alter table statements.  I would prefer to leverage this code which has already been vetted by the community, and also not just duplicate this code myself, or package it up myself.

It would be nice to just use the extension.  But I'm interested to hear what recommendations could be given for my use case (for that matter - what is the recommendation to anyone wanting to use the exact functionality provided in a postgres test module).

My specific intention is for sending DDL via logical replication, and ignoring, for example, enable/disable trigger statements when I am using selective replication.

Many thanks!
Jeremy

pgsql-hackers by date:

Previous
From: Dmitry Dolgov
Date:
Subject: Re: LLVM jit and matview
Next
From: Arcadiy Ivanov
Date:
Subject: Optimizer misses big in 10.4 with BRIN index