     elog NOTICE, "Entering get_connection_info" if $_SHARED{debug};
     elog NOTICE, 'ref($args) is '.ref($args)."\n".Dump($args) if $_SHARED{debug};
     unless (defined $args->{data_source_id}) {
-        elog ERROR, "In get_connection_info, must provide a data_source_id"
+        elog ERROR, "In get_connection_info, must provide a data_source_id";
     }
     unless ($args->{data_source_id} =~ /^\d+$/) {
         elog ERROR, "In get_connection_info, must provide an integer data_source_id";

my $types = "'TABLE','VIEW'";


spi_exec_query("SELECT cache_connection( $params->{data_source_id} )");

my $sth = $_SHARED{dbh}{ $params->{data_source_id} }->table_info(
    $params->{remote_catalog},

#################################
spi_exec_query('SELECT dbi_link.dbi_link_init()');

spi_exec_query("SELECT dbi_link.cache_connection($_[0])");

$_SHARED{remote_exec_dbh}->({
    dbh => $_SHARED{dbh}{ $_[0] },
