Re: [PATCH] Add pg_get_table_ddl() to reconstruct CREATE TABLE statements - Mailing list pgsql-hackers

From Zsolt Parragi
Subject Re: [PATCH] Add pg_get_table_ddl() to reconstruct CREATE TABLE statements
Date
Msg-id CAN4CZFONwnCCdPyJ0ZdJYx=eGDgueBd5o_dZRyh1DNJw+tPhDg@mail.gmail.com
Whole thread
In response to Re: [PATCH] Add pg_get_table_ddl() to reconstruct CREATE TABLE statements  (Akshay Joshi <akshay.joshi@enterprisedb.com>)
List pgsql-hackers
Thanks, I can confirm that only_foreign_keys works properly.

> Combining `only_foreign_keys=true` with `includes_foreign_keys=false` is
> rejected upfront since it would produce no output.

Shouldn't only_foreign_keys=true with include_constraints=false also error out?



pgsql-hackers by date:

Previous
From: Zsolt Parragi
Date:
Subject: Re: More jsonpath methods: translate, split, join
Next
From: Tomas Vondra
Date:
Subject: Re: Is there value in having optimizer stats for joins/foreignkeys?