Re: Can user specification of a column value be required when querying a view ?

From: Ron Johnson <ronljohnsonjr(at)gmail(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Can user specification of a column value be required when querying a view ?
Date: 2023-11-24 18:06:45
Message-ID: CANzqJaBwVqMJoZEYjhqQjSW+EQNnv7aNy7vyLZiDszBUWm_Xsg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Nov 24, 2023 at 1:01 PM Peter J. Holzer <hjp-pgsql(at)hjp(dot)at> wrote:

> On 2023-11-20 22:03:06 -0500, Ron Johnson wrote:
> > Or row level security.
>
> Does that help here? AIUI row level security can be used to limit access
> to specific rows (e.g. user alex can access info about ssn '106-91-9930'
> but not '234-56-7890') but not how many rows can be accessed in a single
> query.
>

I don't think OP indicated that ssn in a unique key.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2023-11-24 18:43:32 Re: Odd Shortcut behaviour in PG14
Previous Message Peter J. Holzer 2023-11-24 18:00:56 Re: Can user specification of a column value be required when querying a view ?