Fix conversion of regclass to indentifier

This commit is contained in:
Javier Goizueta
2016-04-07 07:07:20 +02:00
parent 34c39662ec
commit fb910be12f

View File

@@ -231,7 +231,7 @@ AS $$
-- This is the typical ERROR: stats for "mytable" do not exist
WHEN internal_error THEN
-- Get stats and execute again
EXECUTE format('ANALYZE %1$I', reloid);
EXECUTE format('ANALYZE %1$s', reloid);
EXECUTE ext_query INTO ext;
END;