Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id C662463326C for ; Tue, 20 Apr 2010 14:02:17 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 04679-03 for ; Tue, 20 Apr 2010 17:02:07 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from aguilardelgado.com (74.141.15.62.static.jazztel.es [62.15.141.74]) by mail.postgresql.org (Postfix) with ESMTP id 14A846329DA for ; Tue, 20 Apr 2010 14:02:06 -0300 (ADT) Received: from [192.168.10.100] (135.228.16.95.dynamic.jazztel.es [95.16.228.135]) (authenticated bits=0) by aguilardelgado.com (8.14.3/8.14.3/Debian-9ubuntu1) with ESMTP id o3KH1tZ4003762 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 20 Apr 2010 19:02:04 +0200 Subject: Re: Problem with insert related to different schemas From: Gonzalo Aguilar Delgado To: Scott Marlowe Cc: pgsql-sql@postgresql.org In-Reply-To: References: <1271233402.10390.5.camel@azul1> <1271781155.6136.57.camel@azul1> Content-Type: text/plain; charset="UTF-8" Date: Tue, 20 Apr 2010 19:01:54 +0200 Message-ID: <1271782914.6136.62.camel@azul1> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201004/73 X-Sequence-Number: 34000 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 > 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!