Set table name and structure for refdb.
Comment out old prepared statements.
Implement refdb exists.
Move get_int_from_result into new helpers.c
Change refdb target column to binary bytea and add a peel column.
Implement refdb lookup.
Implement refdb del.
Move complete_pq_exec to helpers.
Implement refdb write.
Remove apparently optional rename function.
Add prepared statement for refdb iterator.
Add glob_to_like_pattern() and escape the like pattern in query.
Add row parameter to get_int_from_result.
Implement refdb iterator.
Add missing includes to helpers.c.
Add helpers.c to build.
Add another missing include to helpers.c.
Fix error message in get_int_from_result.
Update lookup statement to match get_ref_from_result.