postgresql/src/test/modules/test_ddl_deparse
Bruce Momjian ca3b37487b Update copyright for 2021
Backpatch-through: 9.5
2021-01-02 13:06:25 -05:00
..
expected Fix handling of CREATE TABLE LIKE with inheritance. 2020-08-21 15:00:47 -04:00
sql Introduce xid8-based functions to replace txid_XXX. 2020-04-07 12:04:32 +12:00
.gitignore
Makefile
README
test_ddl_deparse--1.0.sql
test_ddl_deparse.c Update copyright for 2021 2021-01-02 13:06:25 -05:00
test_ddl_deparse.control

test_ddl_deparse is an example of how to use the pg_ddl_command datatype.
It is not intended to do anything useful on its own; rather, it is a
demonstration of how to use the datatype, and to provide some unit tests for
it.

The functions in this extension are intended to be able to process some
part of the struct and produce some readable output, preferably handling
all possible cases so that SQL test code can be written.