Re: insert into select from

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Jan Branbergen" <jan(at)entrisphere(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: insert into select from
Date: 2001-05-04 19:52:54
Message-ID: 27634.989005974@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Jan Branbergen" <jan(at)entrisphere(dot)com> writes:
> When i do a "NSERT INTO screen_filter_field( screen_filter_id,
> screen_field_id, seqno, visible, orderno ) SELECT 182, id, seqno, visible,
> orderno FROM screen_field WHERE screen_id = 1" i get a permission denied on
> table screen_field; i have select, insert, update & delete access to table
> screen_filter_field, and select access to table b. when i add update access
> to table b, the statement executes fine.

I can't duplicate this. Perhaps you have rules or triggers you didn't
tell us about?

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2001-05-04 20:05:20 Re: insert into select from
Previous Message pgsql-bugs 2001-05-04 03:40:14 error in make the example