[PostgresPlugin] Allow ID of type VARCHAR only for policy_table.

A single row is inserted into this table with a "uuid" set to
"policy_table" which is not a valid UUID.
[Bug] Ensure PostgresPlugin#insert_or_update uses encoded_object_doc.