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

Commit302262d

Browse files
committed
Add dummy PQsslAttributes function for non-SSL builds.
All the other new SSL information functions had dummy versions inbe-secure.c, but I missed PQsslAttributes(). Oops. Surprisingly, the linkerdid not complain about the missing function on most platforms represented inthe buildfarm, even though it is exported, except for a few Windows systems.
1 parent3a54f4a commit302262d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,14 @@ PQsslAttribute(PGconn *conn, const char *attribute_name)
407407
{
408408
returnNULL;
409409
}
410+
411+
constchar**
412+
PQsslAttributes(PGconn*conn)
413+
{
414+
staticconstchar*result[]= {NULL };
415+
416+
returnresult;
417+
}
410418
#endif/* USE_SSL */
411419

412420

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp