Bruce Momjian <br...@momjian.us> writes: > I have just discovered if you try to lo_import() an empty file, and oid > is returned, but nothing is added to pg_largeobject:
Why would you expect there to be? There's no data to store. There should be an entry in pg_largeobject_metadata, though. regards, tom lane