From: Denis Laxalde Date: Fri, 3 Dec 2021 08:23:25 +0000 (+0100) Subject: Add _PQencryptPasswordConn() in _pq_ctypes.pyi X-Git-Tag: pool-3.1~96 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59de2f6a58e88d6dca7bf6fa6c88ece621ec217e;p=thirdparty%2Fpsycopg.git Add _PQencryptPasswordConn() in _pq_ctypes.pyi Running the generation script produces this diff. --- diff --git a/psycopg/psycopg/pq/_pq_ctypes.pyi b/psycopg/psycopg/pq/_pq_ctypes.pyi index c2fe57ca6..d451832e5 100644 --- a/psycopg/psycopg/pq/_pq_ctypes.pyi +++ b/psycopg/psycopg/pq/_pq_ctypes.pyi @@ -198,6 +198,7 @@ def PQgetCancel(arg1: Optional[PGconn_struct]) -> PGcancel_struct: ... def PQfreeCancel(arg1: Optional[PGcancel_struct]) -> None: ... def PQputCopyData(arg1: Optional[PGconn_struct], arg2: bytes, arg3: int) -> int: ... def PQfreemem(arg1: Any) -> None: ... +def _PQencryptPasswordConn(arg1: Optional[PGconn_struct], arg2: bytes, arg3: bytes, arg4: bytes) -> Optional[bytes]: ... def PQmakeEmptyPGresult(arg1: Optional[PGconn_struct], arg2: int) -> PGresult_struct: ... def _PQpipelineStatus(arg1: Optional[PGconn_struct]) -> int: ... def _PQenterPipelineMode(arg1: Optional[PGconn_struct]) -> int: ...