Re: View permission error after upgrading from 8.4 -> 9.2

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Brian Hirt <bhirt(at)me(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: View permission error after upgrading from 8.4 -> 9.2
Date: 2013-08-13 21:33:45
Message-ID: 19755.1376429625@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Brian Hirt <bhirt(at)me(dot)com> writes:
> None of the relations used by vcredit_info are views. They are all
> tables. Oddly, I dropped the view and recreated it and the problem went
> away. Earlier I was just using create or replace view and the problem
> persisted.

Hm. I think that CREATE OR REPLACE VIEW may not change the view owner,
so the behavior would be explainable if the view's original owner did
not have permissions to read that table.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2013-08-13 21:34:12 Re: [GENERAL] Possible bug with row_to_json
Previous Message Michael Cronenworth 2013-08-13 21:25:26 Re: MinGW compiled client library