Skip to content

Commit

Permalink
Revert "PGRES_SINGLE_TUPLE is apparently new"
Browse files Browse the repository at this point in the history
This reverts commit b0b483a.

It was added in 9.2.  But the libpq-fe.h header file doesn't
define which version of PostgreSQL it's for.  <sigh>
  • Loading branch information
alandekok committed Feb 21, 2014
1 parent 9900fe3 commit b8376b4
Showing 1 changed file with 0 additions and 2 deletions.
Expand Up @@ -271,9 +271,7 @@ static sql_rcode_t sql_query(rlm_sql_handle_t * handle, UNUSED rlm_sql_config_t
/*
* Successful completion of a command returning data (such as a SELECT or SHOW).
*/
#ifdef PGRES_SINGLE_TUPLE
case PGRES_SINGLE_TUPLE:
#endif
case PGRES_TUPLES_OK:
conn->cur_row = 0;
conn->affected_rows = PQntuples(conn->result);
Expand Down

0 comments on commit b8376b4

Please sign in to comment.