Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id BECA8634AFE for ; Tue, 20 Apr 2010 13:28:07 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 46855-07-3 for ; Tue, 20 Apr 2010 16:27:47 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-gy0-f174.google.com (mail-gy0-f174.google.com [209.85.160.174]) by mail.postgresql.org (Postfix) with ESMTP id EC4FE6367DA for ; Tue, 20 Apr 2010 13:04:51 -0300 (ADT) Received: by gyg13 with SMTP id 13so3270916gyg.19 for ; Tue, 20 Apr 2010 09:04:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=1eWKuUcyj2ZjB0Zdv0tpJsmAS++sbdhhpuleiIqTrYo=; b=v3Ui3NWiOfkPaWIeIFDcyrltnoQ89oM3iD6/Vja1H1NtfCv+z2ijU3LO+fEUo9lRb5 z4x6WYiXBgcqYXqddm2kYozg+BkuZCJhyVgDOYd9ACg+yAXCyA34fxnpK4BnJ8Bp/CnX HjFrxUPOPvl06dtCHZVn0gdt8ZsXtndFZOYIo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=mp2g5YMLTULjEBJnC0hEDZ5kBubQGWCVJIjehh4Ixr68OkAH9MvUtpfK+K1FS4+5xA ZRCNQC7j3BN+jh8nsFkoFJHgDaLB5S1UXNISFU4ato25Ay6ce1+X1rwbKz3owpOEkR98 FjKQpUnaeDNYSdqKVR4zl8CT1RU91VxkpF55g= MIME-Version: 1.0 Received: by 10.150.218.9 with HTTP; Tue, 20 Apr 2010 09:04:51 -0700 (PDT) In-Reply-To: <1271233402.10390.5.camel@azul1> References: <1271233402.10390.5.camel@azul1> Date: Tue, 20 Apr 2010 10:04:51 -0600 Received: by 10.151.115.6 with SMTP id s6mr7616026ybm.294.1271779491344; Tue, 20 Apr 2010 09:04:51 -0700 (PDT) Message-ID: Subject: Re: Problem with insert related to different schemas From: Scott Marlowe To: Gonzalo Aguilar Delgado Cc: pgsql-sql@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.083 tagged_above=-10 required=5 tests=AWL=-0.183, BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201004/68 X-Sequence-Number: 33995 On Wed, Apr 14, 2010 at 2:23 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: > INSERT INTO > "analisys"."response_quality" ("uuid","id_survey_question","id_survey","i= d_survey_status","id_shop","survey_question_response","id_survey_answer","d= ate_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. > > ERROR: =A0permiso denegado al esquema public > L=CDNEA 1: SELECT 1 FROM ONLY "public"."survey_question" x WHERE "id_su..= . > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0^ > CONSULTA: =A0SELECT 1 FROM ONLY "public"."survey_question" x WHERE > "id_survey_question" OPERATOR(pg_catalog.=3D) $1 FOR SHARE OF x