Re: Problem with partition tables and schemas

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Clemens Schwaighofer <clemens_schwaighofer(at)e-gra(dot)co(dot)jp>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Problem with partition tables and schemas
Date: 2010-02-02 15:55:04
Message-ID: 6088.1265126104@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Clemens Schwaighofer <clemens_schwaighofer(at)e-gra(dot)co(dot)jp> writes:
> my problem is, when I insert data into the visit table it tries to
> find the session data in the live schema. I have no idea why, because
> no schema was copied or inherited from the other side.

I think you need to schema-qualify the table names used in the triggers.
As-is they'll be sensitive to whatever your search_path is.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2010-02-02 16:11:20 Re: ERROR: relation xxx is still open (Re: Use Trigger to Remove Table ... )
Previous Message Josh Kupershmidt 2010-02-02 15:54:24 ERROR: relation xxx is still open (Re: Use Trigger to Remove Table ... )