Re: Problem with partition tables and schemas

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

I already tried that. even with prefixing the alter table statement
with the schema it does not work.

I suspect that has something to do that when I try to connect eg
visit_201002 with the session table, that there is not data in the
session table itself, but in its subtable, I can connect visit_201002
to session_201002 very fine, but that just not what I would like to
have.

On Wed, Feb 3, 2010 at 00:55, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> 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
>

--
★ Clemens 呉 Schwaighofer
★ IT Engineer/Web Producer/Planning
★ E-Graphics Communications SP Digital
★ 6-17-2 Ginza Chuo-ku, Tokyo 104-8167, JAPAN
★ Tel: +81-(0)3-3545-7706
★ Fax: +81-(0)3-3545-7343
http://www.e-gra.co.jp

This e-mail is intended only for the named person or entity to which
it is addressed and contains valuable business information that is
privileged, confidential and/or otherwise protected from disclosure.
If you received this e-mail in error, any review, use, dissemination,
distribution or copying of this e-mail is strictly prohibited.
Please notify us immediately of the error via e-mail to
disclaimer(at)tbwaworld(dot)com and please delete the e-mail from your system, retaining no copies in any media.
We appreciate your cooperation.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Florent THOMAS 2010-02-03 00:15:50 Re: Attribute a value to a record
Previous Message DM 2010-02-02 23:41:14 Re: pg_dump issues