}
@JRubyMethod(required = 1)
public IRubyObject describe_prepared(ThreadContext context, IRubyObject query_name) {
try {
PostgresqlString queryName = rubyStringAsPostgresqlString(query_name);
ResultSet resultSet = postgresqlConnection.describePrepared(queryName);
return createResult(context, resultSet, NULL_ARRAY, Block.NULL_BLOCK);
} catch (PostgresqlException e) {
throw newPgError(context, e.getLocalizedMessage(), e.getResultSet(), getClientEncodingAsJavaEncoding(context));
} catch (Exception e) {