Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5173fc4

Browse files
committed
Remove PQunixsocket, per Peter's recommendation. PQhost shows the socket directory.
1 parent811749b commit5173fc4

File tree

2 files changed

+2
-20
lines changed

2 files changed

+2
-20
lines changed

‎doc/src/sgml/libpq.sgml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.48 2000/11/22 01:41:12 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.49 2000/11/28 06:53:32 momjian Exp $
33
-->
44

55
<chapter id="libpq-chapter">
@@ -564,16 +564,6 @@ char *PQport(const PGconn *conn)
564564
</para>
565565
</listitem>
566566

567-
<listitem>
568-
<para>
569-
<function>PQunixsocket</function>
570-
Returns the directory of the Unix-domain socket of the connection.
571-
<synopsis>
572-
char *PQunixsocket(const PGconn *conn)
573-
</synopsis>
574-
</para>
575-
</listitem>
576-
577567
<listitem>
578568
<para>
579569
<function>PQtty</function>

‎src/interfaces/libpq/fe-connect.c

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.149 2000/11/27 21:12:25 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.150 2000/11/28 06:53:33 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -2627,14 +2627,6 @@ PQport(const PGconn *conn)
26272627
returnconn->pgport;
26282628
}
26292629

2630-
char*
2631-
PQunixsocket(constPGconn*conn)
2632-
{
2633-
if (!conn)
2634-
return (char*)NULL;
2635-
returnconn->pgunixsocket;
2636-
}
2637-
26382630
char*
26392631
PQtty(constPGconn*conn)
26402632
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp