Re: Retail DDL - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Retail DDL
Date
Msg-id 1791509.1753415611@sss.pgh.pa.us
Whole thread Raw
In response to Re: Retail DDL  (Dilip Kumar <dilipbalaut@gmail.com>)
Responses Re: Retail DDL
List pgsql-hackers
Dilip Kumar <dilipbalaut@gmail.com> writes:
> OTOH, we can have a common function and pass object type as parameter
> i.e. select pg_get_ddl('table', 'mytable'), with this the same
> function can be extended for different object types.

And you'll work regclass/regtype/etc into that how?  AFAICS the
only way would involve fundamentally redundant typing:

    select pg_get_ddl('table', 'mytable'::regclass);

How is that better?

            regards, tom lane



pgsql-hackers by date:

Previous
From: Dilip Kumar
Date:
Subject: Re: Retail DDL
Next
From: Japin Li
Date:
Subject: Re: [WIP]Vertical Clustered Index (columnar store extension) - take2