diff --git a/contrib/babelfishpg_tds/src/backend/tds/tds_srv.c b/contrib/babelfishpg_tds/src/backend/tds/tds_srv.c index fd3083c61d..b05d1a1f33 100644 --- a/contrib/babelfishpg_tds/src/backend/tds/tds_srv.c +++ b/contrib/babelfishpg_tds/src/backend/tds/tds_srv.c @@ -87,7 +87,8 @@ static ProtocolExtensionConfig pe_config = { TdsShutdown, TdsDestroy, pe_process_command, - pe_report_param_status + pe_report_param_status, + TdsDirectSSLHandshake }; /* diff --git a/contrib/babelfishpg_tds/src/backend/tds/tdsprinttup.c b/contrib/babelfishpg_tds/src/backend/tds/tdsprinttup.c index bc1b9251cb..00f0960d41 100644 --- a/contrib/babelfishpg_tds/src/backend/tds/tdsprinttup.c +++ b/contrib/babelfishpg_tds/src/backend/tds/tdsprinttup.c @@ -122,3 +122,10 @@ TdsDestroy(DestReceiver *self) { pfree(self); } + +static int +TdsDirectSSLHandshake(struct Port *port) +{ + /* Always return STATUS_OK for TDS connections */ + return STATUS_OK; +}