use pg_dump -s can get the DDL SQL.
jov
在 2013-12-6 下午6:50,"Peter Kroon" <plakroon(at)gmail(dot)com>写道:
> When you click on a table in the "Object browser" you'll see in the "SQL
> pane" the sql that is needed to create that table.
>
> Which function can I call to get that SQL?
>
> Best,
> Peter
>