Re: database export in pgsql

From: "Dinesh Pandey" <dpandey(at)secf(dot)com>
To: "'Vikas'" <vikas(dot)yadav(at)ctwoodapple(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: database export in pgsql
Date: 2005-05-11 05:47:13
Message-ID: 20050511055114.16E1553D6D@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


http://www.postgresql.org/docs/8.0/static/app-pgdump.html

Thanks
Dinesh Pandey

-----Original Message-----
From: pgsql-general-owner(at)postgresql(dot)org
[mailto:pgsql-general-owner(at)postgresql(dot)org] On Behalf Of Vikas
Sent: Wednesday, May 11, 2005 10:57 AM
To: pgsql-general(at)postgresql(dot)org
Subject: Re: [GENERAL] database export in pgsql

Im doing through the GUI...

pg_dump.exe -i -h 192.168.1.31 -p 5432 -U postgres -F p -v -f
"c:\del.sql" -n public "DBNAME"

Dinesh Pandey wrote:

> What is the command you have used while dumping the objects?
>
>
>
>
>
> Thanks
>
> Dinesh Pandey
>
>
>
> -----Original Message-----
> From: pgsql-general-owner(at)postgresql(dot)org
> [mailto:pgsql-general-owner(at)postgresql(dot)org] On Behalf Of Vikas
> Sent: Wednesday, May 11, 2005 10:00 AM
> To: pgsql-general(at)postgresql(dot)org
> Subject: Re: [GENERAL] database export in pgsql
>
>
>
>
>
> Richard Huxton wrote:
>
>
>
>> Vikas wrote:
>
>>
>
>>> Hi,
>
>>>
>
>>> Im having problems in exporting my local pgdb to my server with data.
>
>>> I do a backup and everytime i get stuck in functions or some $libdir
>
>>> or function pg_logdir_ls() etc.
>
>>
>
>>
>
>> pg_dump shouldn't ever "get stuck" at any point.
>
>
>
> It was not the pg_dump which got stuck. it was the importing the
>
> generated SQL where I got stuck.
>
> How do I prevent functions of other system type objects from being
>
> dumped in the SQL?
>
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
>
> TIP 4: Don't 'kill -9' the postmaster
>

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Sankaran Anupama 2005-05-11 05:48:56 Do dropdb and createdb read password from .pgpass file?
Previous Message Vikas 2005-05-11 05:27:28 Re: database export in pgsql