Re: [SQL] simple "select / if found" isn't
| От | Gary Stainburn |
|---|---|
| Тема | Re: [SQL] simple "select / if found" isn't |
| Дата | |
| Msg-id | 201612161124.41580.gary.stainburn@ringways.co.uk обсуждение |
| Ответ на | Re: [SQL] simple "select / if found" isn't (Karsten Hilbert <Karsten.Hilbert@gmx.net>) |
| Ответы |
Re: [SQL] simple "select / if found" isn't
|
| Список | 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.
В списке pgsql-sql по дате отправления: