ownership of sequences by tables in pg_dumps? - Mailing list pgsql-general

From Andrew Hammond
Subject ownership of sequences by tables in pg_dumps?
Date
Msg-id CAAC-ZNX7LxeM=yPJLhLwJ1yzoreNsOOGLLK+e1=3UAsv0Pg9Hg@mail.gmail.com
Whole thread Raw
Responses Re: ownership of sequences by tables in pg_dumps?  (Adrian Klaver <adrian.klaver@gmail.com>)
List pgsql-general
Where foo is a number of different tables, I'm calling

pg_dump --format=custom --compress=9 --no-password
--file=public.foo.pgdump --table=public.foo --schema-only my_database

When I check the contents of that dump using

pg_restore -l public.foo.pgdump

in some cases it includes the foo_id_seq object and in others it does
not. How does pg_dump decide if an sequence is associated with a given
table or not?

Andrew

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Postgresql allow connections without password
Next
From: Adrian Klaver
Date:
Subject: Re: ownership of sequences by tables in pg_dumps?