Re: pgadmin III query

From: Peter Kroon <plakroon(at)gmail(dot)com>
To: Ian Lawrence Barwick <barwick(at)gmail(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: pgadmin III query
Date: 2013-12-06 11:04:32
Message-ID: CAOh+DOmzY=oUtqAdsf1vSnhSgTN5pw8tY3NQLdDSRt5BZSgmSg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thanks, but i need a non command line option.

2013/12/6 Ian Lawrence Barwick <barwick(at)gmail(dot)com>

> 2013/12/6 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?
>
> You can use the pg_dump command line function for this:
>
> pg_dump -s -t name_of_table name_of_database
>
> Regards
>
> Ian Barwick
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Janek Sendrowski 2013-12-06 14:22:41 Re: Similarity search for sentences
Previous Message Ian Lawrence Barwick 2013-12-06 11:02:38 Re: pgadmin III query