]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
Add _PQencryptPasswordConn() in _pq_ctypes.pyi
authorDenis Laxalde <denis.laxalde@dalibo.com>
Fri, 3 Dec 2021 08:23:25 +0000 (09:23 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Fri, 3 Dec 2021 10:28:43 +0000 (11:28 +0100)
Running the generation script produces this diff.

psycopg/psycopg/pq/_pq_ctypes.pyi

index c2fe57ca640f09a886c18b2a00fc13651be54b38..d451832e5d3edb76596ffff991c6b169260d6ba8 100644 (file)
@@ -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: ...