Re: Problem with insert related to different schemas

From: Gonzalo Aguilar Delgado <gaguilar(at)aguilardelgado(dot)com>
To: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Problem with insert related to different schemas
Date: 2010-04-20 17:01:54
Message-ID: 1271782914.6136.62.camel@azul1
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


El mar, 20-04-2010 a las 10:34 -0600, Scott Marlowe escribió:
> On Tue, Apr 20, 2010 at 10:32 AM, Gonzalo Aguilar Delgado
> <gaguilar(at)aguilardelgado(dot)com> wrote:
> >
> >> Hi Everyone,
> >>
> >> I've come along with a problem that appeared with latest version of
> >> Postgresql 8.4.2.
> >>
> >> I'm trying to insert a row in the analysis schema:
> >>
> >
> > This is an insert query:
> >
> > Yes it is...
> >
> >
> >> INSERT INTO
> >> "analisys"."response_quality"
> >> ("uuid","id_survey_question","id_survey","id_survey_status","id_shop","survey_question_response","id_survey_answer","date_survey_answer")
> >> VALUES ('83968de5-eac7-4f52-bbec-7392a198f556',7,1,1,16,3,9987,'2009-12-01
> >> 00:00:00.000000 +01:00:00')
> >>
> >>
> >> But it fails because:
> >
> > This is a select query. I don't think that's the right error message.
> >
> > Yes, but IS the correct error message. It appeared just after upgrading to
> > 8.4 as 8.3 had no problem processing this query.
>
> A self-contained example would be helpful.
>

Ok. I will try to reproduce this in a small example...

Give me some time...

Thank you!

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Pavel Stehule 2010-04-20 17:02:21 Re: How to max() make null as biggest value?
Previous Message Tom Lane 2010-04-20 17:01:25 Re: Problem with insert related to different schemas