serializePgRecord

Attempting to serialize an anonymous record will throw an exception, since PostgreSQL does not accept anonymous records as bound parameters.