Re: How to use \restrict or \unrestirct in python

David G. Johnston <david.g.johnston@gmail.com>

From: "David G. Johnston" <david.g.johnston@gmail.com>
To: ma lz <ma100@hotmail.com>
Cc: "pgsql-general@lists.postgresql.org" <pgsql-general@lists.postgresql.org>
Date: 2025-09-15T12:32:19Z
Lists: pgsql-general
On Monday, September 15, 2025, ma lz <ma100@hotmail.com> wrote:

> To fix CVE-2025-8714, PG introduce \restrict , but if we use python ( like
> psycopg2), it does not support slash command.
>

Great, then you are unaffected by the CVE that targets the psql application.

David J.