File tree Expand file tree Collapse file tree 2 files changed +0
-27
lines changed Expand file tree Collapse file tree 2 files changed +0
-27
lines changed Original file line number Diff line number Diff line change @@ -882,14 +882,6 @@ prompt_for_password(const char *username)
882
882
}
883
883
#endif
884
884
885
- #if PG_VERSION_NUM < 80300
886
- static bool
887
- PQconnectionNeedsPassword (PGconn * conn )
888
- {
889
- return strcmp (PQerrorMessage (conn ), PQnoPasswordSupplied ) == 0 && !feof (stdin );
890
- }
891
- #endif
892
-
893
885
PGconn *
894
886
pgut_connect (int elevel )
895
887
{
Original file line number Diff line number Diff line change @@ -233,25 +233,6 @@ extern bool parse_time(const char *value, time_t *time);
233
233
extern int wait_for_socket (int sock , struct timeval * timeout );
234
234
extern int wait_for_sockets (int nfds , fd_set * fds , struct timeval * timeout );
235
235
236
- /*
237
- * import from postgres.h and catalog/genbki.h in 8.4
238
- */
239
- #if PG_VERSION_NUM < 80400
240
-
241
- typedef unsigned long Datum ;
242
- typedef struct MemoryContextData * MemoryContext ;
243
-
244
- #define CATALOG (name ,oid ) typedef struct CppConcat(FormData_,name)
245
- #define BKI_BOOTSTRAP
246
- #define BKI_SHARED_RELATION
247
- #define BKI_WITHOUT_OIDS
248
- #define DATA (x ) extern int no_such_variable
249
- #define DESCR (x ) extern int no_such_variable
250
- #define SHDESCR (x ) extern int no_such_variable
251
- typedef int aclitem ;
252
-
253
- #endif
254
-
255
236
#ifdef WIN32
256
237
extern int sleep (unsigned int seconds );
257
238
extern int usleep (unsigned int usec );
You can’t perform that action at this time.
0 commit comments