On Sat, Sep 25, 2010 at 1:23 PM, Scott Marlowe <scott.marlowe@xxxxxxxxx> wrote:
On Sat, Sep 25, 2010 at 6:19 AM, Andre Lopes <lopes80andre@xxxxxxxxx> wrote:Don't.
> Hi,
>
> I have generate an *.sql file with the command:
>
> [quote]
> pg_dump -a --inserts databasename > exportfilename.sql
> [/quote]
>
> How can I use the pg_restore to import the data to the database?
Just use psql with plain sql dumps:
psql databasename -f exportfilename.sql