I was under the impression that every command that references a relation makes use of the search path, regardless of what it is *doing*. Maybe this is different in older versions though?
I actually ran into this recently and had to remove all the xx. schema components using vi before I could run the dump to move to a different schema.
Just to be sure:
postgres=# create schema test;
CREATE SCHEMA
postgres=# set search_path to test;
SET
postgres=# create table test1(id serial);
NOTICE: CREATE TABLE will create implicit sequence "test1_id_seq" for serial column "
test1.id"
CREATE TABLE
postgres=# alter table test1 owner to postgres;
ALTER TABLE
The contents of this email are confidential and may be subject to legal or professional privilege and copyright. No representation is made that this email is free of viruses or other defects. If you have received this communication in error, you may not copy or distribute any part of it or otherwise disclose its contents to anyone. Please advise the sender of your incorrect receipt of this correspondence.