@Override
public PostgresStatement finishGenerating(PostgresServerSession server,
String sql, StatementNode stmt,
List<ParameterNode> params, int[] paramTypes) {
ExecuteStatementNode execute = (ExecuteStatementNode)stmt;
this.name = execute.getName();
paramValues = new ArrayList<>();
for (ValueNode param : execute.getParameterList()) {
TInstance type = null;
if (!(param instanceof ConstantNode)) {
throw new UnsupportedSQLException("EXECUTE arguments must be constants", param);
}
if (param.getType() != null)