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

Commit9acc962

Browse files
author
Michael Paquier
committed
Remove outdated functions in pgut
1 parent9e35dd0 commit9acc962

File tree

2 files changed

+0
-27
lines changed

2 files changed

+0
-27
lines changed

‎pgut/pgut.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -882,14 +882,6 @@ prompt_for_password(const char *username)
882882
}
883883
#endif
884884

885-
#ifPG_VERSION_NUM<80300
886-
staticbool
887-
PQconnectionNeedsPassword(PGconn*conn)
888-
{
889-
returnstrcmp(PQerrorMessage(conn),PQnoPasswordSupplied)==0&& !feof(stdin);
890-
}
891-
#endif
892-
893885
PGconn*
894886
pgut_connect(intelevel)
895887
{

‎pgut/pgut.h

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -233,25 +233,6 @@ extern bool parse_time(const char *value, time_t *time);
233233
externintwait_for_socket(intsock,structtimeval*timeout);
234234
externintwait_for_sockets(intnfds,fd_set*fds,structtimeval*timeout);
235235

236-
/*
237-
* import from postgres.h and catalog/genbki.h in 8.4
238-
*/
239-
#ifPG_VERSION_NUM<80400
240-
241-
typedefunsigned longDatum;
242-
typedefstructMemoryContextData*MemoryContext;
243-
244-
#defineCATALOG(name,oid)typedef struct CppConcat(FormData_,name)
245-
#defineBKI_BOOTSTRAP
246-
#defineBKI_SHARED_RELATION
247-
#defineBKI_WITHOUT_OIDS
248-
#defineDATA(x) extern int no_such_variable
249-
#defineDESCR(x) extern int no_such_variable
250-
#defineSHDESCR(x) extern int no_such_variable
251-
typedefintaclitem;
252-
253-
#endif
254-
255236
#ifdefWIN32
256237
externintsleep(unsignedintseconds);
257238
externintusleep(unsignedintusec);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp