mirror of
https://github.com/postgres/postgres.git
synced 2025-06-22 02:52:08 +03:00
Clean up libpq's pollution of application namespace by renaming the
exported routines of ip.c, md5.c, and fe-auth.c to begin with 'pg_'. Also get rid of the vestigial fe_setauthsvc/fe_getauthsvc routines altogether.
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
<!--
|
||||
$PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.193 2005/10/13 17:55:18 momjian Exp $
|
||||
$PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.194 2005/10/17 16:24:18 tgl Exp $
|
||||
-->
|
||||
|
||||
<chapter id="libpq">
|
||||
@ -4049,15 +4049,13 @@ passed around freely between threads.
|
||||
|
||||
<para>
|
||||
The deprecated functions
|
||||
<function>PQrequestCancel</function>,
|
||||
<function>PQoidStatus</function> and
|
||||
<function>fe_setauthsvc</function>
|
||||
<function>PQrequestCancel</function> and
|
||||
<function>PQoidStatus</function>
|
||||
are not thread-safe and should not be used in multithread programs.
|
||||
<function>PQrequestCancel</function> can be replaced by
|
||||
<function>PQcancel</function>.
|
||||
<function>PQoidStatus</function> can be replaced by
|
||||
<function>PQoidValue</function>.
|
||||
There is no good reason to call <function>fe_setauthsvc</function> at all.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
|
Reference in New Issue
Block a user