pg_dump doesn't properly honor -O for sequences - Mailing list pgsql-bugs

From Jeff Davis
Subject pg_dump doesn't properly honor -O for sequences
Date
Msg-id 1177526192.28383.81.camel@dogma.v10.wvs
Whole thread Raw
Responses Re: not bug after all, sorry for the noise
Re: pg_dump doesn't properly honor -O for sequences
List pgsql-bugs
pg_dump -O apparently removes all instances of ALTER TABLE ... OWNER TO
from the output, but does not remove ALTER SEQUENCE ... OWNED BY from
the output.

Specifically this is with SERIAL sequences, which are dumped using the
ALTER SEQUENCE syntax (as of 8.2). Normal sequences are dumped using the
ALTER TABLE ... OWNER TO syntax, which properly honors -O.

Regards,
    Jeff Davis

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Postmaster can't stop with pg_ctl
Next
From: Jeff Davis
Date:
Subject: Re: not bug after all, sorry for the noise