class PG::Connection

def get_result

In this instance, conn.exec returns the value of the block.
and the PG::Result object will automatically be cleared when the block terminates.
If the optional code block is given, it will be passed result as an argument,

you will not be able to issue further commands.
Note: call this function repeatedly until it returns +nil+, or else

it. Returns +nil+ if no more results are available.
#send_query (or another asynchronous command), and returns
Blocks waiting for the next result from a call to

conn.get_result() {|pg_result| block }
conn.get_result() -> PG::Result
call-seq:
def get_result
	block
	sync_get_result
end