Re: Get the table creation DDL - Mailing list pgsql-general

From Igor Korot
Subject Re: Get the table creation DDL
Date
Msg-id CA+FnnTwZVapcAFf=LsoW0ygLgVFf77rPxZjBCArqV7Q07NvY1g@mail.gmail.com
Whole thread Raw
In response to Re: Get the table creation DDL  (Michael Nolan <htfoot@gmail.com>)
Responses Re: Get the table creation DDL  (Igor Korot <ikorot01@gmail.com>)
Re: Get the table creation DDL  (Ray O'Donnell <ray@rodonnell.ie>)
Re: Get the table creation DDL  (Mladen Gogala <gogala.mladen@gmail.com>)
List pgsql-general
Hi, Michael,

On Sun, Jul 10, 2022 at 11:13 AM Michael Nolan <htfoot@gmail.com> wrote:
>
>
>
> On Sun, Jul 10, 2022 at 10:28 AM Igor Korot <ikorot01@gmail.com> wrote:
>>
>> Hi,
>> Is there a query I can execute that will give me CREATE TABLE() command
>> used to create a table?

So there is no "query" per se?
Also how do I pass the table name?

Thank you.

>>
>> Thank you.
>
>
> Use pg_dump --schema-only
> --
> Mike Nolan



pgsql-general by date:

Previous
From: Michael Nolan
Date:
Subject: Re: Get the table creation DDL
Next
From: Igor Korot
Date:
Subject: Re: Get the table creation DDL