Comment out suspected line

This may be causing the error

     ERROR:  could not compile PL/Python function "__cdb_fs_tcp_foreign_server_latency"
     DETAIL:  SyntaxError: invalid syntax (<string>, line 26)

when testing in PG12 + plpythonu3
This commit is contained in:
Rafa de la Torre 2019-11-13 14:52:24 +01:00
parent 4b9c048235
commit 19c6de2096

View File

@ -159,7 +159,7 @@ AS $$
t_stop = timer()
s.shutdown(socket.SHUT_RD)
except (socket.timeout, OSError, socket.error), ex:
plpy.warning('could not connect to server %s:%d, %s' % (host, port, str(ex)))
#-- TODO uncomment & fix: plpy.warning('could not connect to server %s:%d, %s' % (host, port, str(ex)))
n_errors += 1
finally:
s.close()