mirror of
https://github.com/postgres/postgres.git
synced 2025-08-22 21:53:06 +03:00
Remove now-dead code for !HAVE_INT64_TIMESTAMP.
This is a basically mechanical removal of #ifdef HAVE_INT64_TIMESTAMP tests and the negative-case controlled code. Discussion: https://postgr.es/m/26788.1487455319@sss.pgh.pa.us
This commit is contained in:
@@ -208,8 +208,8 @@ GetConnection(void)
|
||||
PQconninfoFree(conn_opts);
|
||||
|
||||
/*
|
||||
* Ensure we have the same value of integer timestamps as the server we
|
||||
* are connecting to.
|
||||
* Ensure we have the same value of integer_datetimes (now always "on") as
|
||||
* the server we are connecting to.
|
||||
*/
|
||||
tmpparam = PQparameterStatus(tmpconn, "integer_datetimes");
|
||||
if (!tmpparam)
|
||||
@@ -221,11 +221,7 @@ GetConnection(void)
|
||||
exit(1);
|
||||
}
|
||||
|
||||
#ifdef HAVE_INT64_TIMESTAMP
|
||||
if (strcmp(tmpparam, "on") != 0)
|
||||
#else
|
||||
if (strcmp(tmpparam, "off") != 0)
|
||||
#endif
|
||||
{
|
||||
fprintf(stderr,
|
||||
_("%s: integer_datetimes compile flag does not match server\n"),
|
||||
|
Reference in New Issue
Block a user