TODO
====

dbd_st_finish/dbd_st_destroy need attention since they break table_info.

Check parameter memory is being freed.

Review PQfsize : should this always return the storage size (not the converted size)? Is this redundant? Looks like a throw back to PG. Might be best to retain but remove this from the docs.

Make sure backwards compatible with previous DBI versions. Use dbivport.h.

Improve database method table_info to support arguments.
Improve database method tables to support arguments.

Add support for database method 'last_insert_id'.
Add support for database method 'column_info'.
Add support for database method 'primary_key_info'.
Add support for database method 'foreign_key_info'.
Add support for database method 'statistics_info'.

Add support for passing BIT data as hexstrings.

Review fb_auto_escape.
Review parsing a statement at prepare.