eelke
e32c82ac6f
Created Pgsql::Transaction class for handling of transactions. It auto rollsback if no commit has been done.
...
Also moved some code out of the connection files to their own files.
2018-12-09 20:24:11 +01:00
eelke
cfc218c43b
Added to functions to Pgsql::Result to help in doing smart things based on a result.
...
- ftable, return from which table the column in the result originates
- ftableCol, returns the column number within that table (attnum)
Ofcourse columns can also be expressions in which case these functions return InvalidOid and 0.
2018-11-10 11:36:35 +01:00
eelke
628c16e2f4
Updating rows kinda works.
...
Blocking calls are still used.
2018-02-18 07:15:43 +01:00
eelke
d1114793a1
Fixed missing comman in pg_class query.
...
Added checks on row and column indexes in Pgsql::Result to detect these kind of problems earlier in the future.
2017-12-17 20:28:02 +01:00
eelke
bebb3391c3
Builds on windows again
2017-11-26 13:07:21 +01:00