Re: Problem with insert related to different schemas

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: Problem with insert related to different schemas
Дата
Msg-id m2rdcc563d11004200904r22b7b34fhea678e04c930beb7@mail.gmail.com
обсуждение исходный текст
Ответ на Problem with insert related to different schemas  (Gonzalo Aguilar Delgado <gaguilar@level2crm.com>)
Ответы Re: Problem with insert related to different schemas  (Gonzalo Aguilar Delgado <gaguilar@aguilardelgado.com>)
Список pgsql-sql
On Wed, Apr 14, 2010 at 2:23 AM, Gonzalo Aguilar Delgado
<gaguilar@level2crm.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:

> 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.

>
> ERROR:  permiso denegado al esquema public
> LÍNEA 1: SELECT 1 FROM ONLY "public"."survey_question" x WHERE "id_su...
>                            ^
> CONSULTA:  SELECT 1 FROM ONLY "public"."survey_question" x WHERE
> "id_survey_question" OPERATOR(pg_catalog.=) $1 FOR SHARE OF x


В списке pgsql-sql по дате отправления:

Предыдущее
От: "Oliveiros"
Дата:
Сообщение: Re: How to max() make null as biggest value?
Следующее
От: Gonzalo Aguilar Delgado
Дата:
Сообщение: Re: Problem with insert related to different schemas