diff --git a/contrib/postgres_fdw/postgres_fdw.c b/contrib/postgres_fdw/postgres_fdw.c index 0f20f38c..7a770472 100644 --- a/contrib/postgres_fdw/postgres_fdw.c +++ b/contrib/postgres_fdw/postgres_fdw.c @@ -5876,7 +5876,7 @@ fetch_attstats(PGconn *conn, int server_version_num, " range_bounds_histogram"); else appendStringInfoString(&sql, - " NULL, NULL, NULL,"); + " NULL, NULL, NULL"); appendStringInfoString(&sql, " FROM pg_catalog.pg_stats"