Re: simple "select / if found" isn't

From: Gary Stainburn <gary(dot)stainburn(at)ringways(dot)co(dot)uk>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: simple "select / if found" isn't
Date: 2016-12-16 11:24:41
Message-ID: 201612161124.41580.gary.stainburn@ringways.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Friday 16 December 2016 11:12:13 Karsten Hilbert wrote:
> If the function somehow got installed as "security definer"
> and definer does not have RLS-based (!) permissions on
> user_previous_passwords then it won't find rows.
>
> A shot in the dark...
>
> Karsten

Thank you for the reply, but I'm not sure what you mean.

To give more context (which I should have not straight off)

I'm on an old box which is running PoshgreSQL 8.3 for both the server and
client (psql).

The select from table, create function, and select from function are all
happening in the same psql sesson, logged in the owner of the database.

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Karsten Hilbert 2016-12-16 11:29:09 Re: simple "select / if found" isn't
Previous Message Karsten Hilbert 2016-12-16 11:12:13 Re: simple "select / if found" isn't