flesh out postgres interface

Run query to get a result, look at properties of that result,
step through data rows, decode data values from strings
according to column types.