From: | Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com> |
---|---|
To: | gvim <gvimrc(at)gmail(dot)com> |
Cc: | pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Backup and restore sequences |
Date: | 2011-01-07 18:36:57 |
Message-ID: | 4D275D49.5020805@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 01/07/2011 08:26 AM, gvim wrote:
> On 07/01/2011 15:58, Adrian Klaver wrote:
>>
>> Details below. When you dump a specific table using -t it will not
>> automatically dump dependent objects. -t can be used to dump a
>> sequence because
>> they are just a special type of table.
>>
>> From:
>> http://www.postgresql.org/docs/9.0/interactive/app-pgdump.html
>> "
>> -t table
>> --table=table
>>
>
> Thanks. I just found this and it works great but wish pgAdmin had
> something similar.
>
> gvim
I broke down and installed pgAdmin. You can do what you want by finding
the sequence in the object browser on the left and right clicking and
selecting CREATE script.
--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | Bob Pawley | 2011-01-07 18:52:23 | Remote Connection |
Previous Message | Adrian Klaver | 2011-01-07 18:23:40 | Re: OOO and postgres |