Hey hackers@,<br /><br />libpq execution function works with OIDs. In some cases it is<br />highly recommended specify
OIDsof parameters according to<br />libpq documentation.<br />While developing a database application with libpq and
if<br/> application works with custom data types IMO reasonable to<br />provide developer extended type creation
syntax,e.g.<br /> CREATE TYPE my_type ... WITH OID = 12345;<br />Yes, it is possible to make dump of the database with
oids,<br/> but if developer prefer to hard code OIDs in the application it<br />would be more convenient for him to use
syntaxabove. <br />Btw, there is already Oid lo_import_with_oid function in large<br />objects libpq's API which are
veryuseful.<br /><br />What do you think about it?<br /><br />-- <br />// Dmitriy.<br /><br /><br />