Re: minor error message enhance: print RLS policy name when only one permissive policy exists - Mailing list pgsql-hackers

From Florin Irion
Subject Re: minor error message enhance: print RLS policy name when only one permissive policy exists
Date
Msg-id CA+HEvJD01xKucXQuA4R=6Xx6LOESHKVaPP=+AwkCwJUcKh1M0w@mail.gmail.com
Whole thread Raw
In response to Re: minor error message enhance: print RLS policy name when only one permissive policy exists  (jian he <jian.universality@gmail.com>)
Responses Re: minor error message enhance: print RLS policy name when only one permissive policy exists
List pgsql-hackers
Hi Jian,

I reviewed your patch. The change is relevant primarily when there is a single
permissive policy, the most common case. When multiple policies are in place,
the error message remains generic, which is appropriate. All test updates
confirm that the enhancement performs correctly across various RLS scenarios.

In summary, this enhancement effectively improves the developer experience
while maintaining simplicity.

LGTM

Cheers,
Florin
--
     Florin Irion      
💼 https://www.enterprisedb.com
☎️  +39 328 5904901
🏘  59100, Prato, PO
🇮🇹  Italia

pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: CURL_IGNORE_DEPRECATION
Next
From: Tom Lane
Date:
Subject: Re: CURL_IGNORE_DEPRECATION