Cleanup the contrib/lo module: there is no need anymore to implement
Tom Lane <tgl@sss.pgh.pa.us>
Cleanup the contrib/lo module: there is no need anymore to implement a physically separate type. Defining 'lo' as a domain over OID works just fine and is more efficient. Improve documentation and fix up the test script. (Would like to turn test script into a proper regression test, but right now its output is not constant because of numeric OIDs; plus it makes Unix-specific assumptions about files it can import.)
Files
| Path | Change | +/− |
|---|---|---|
| contrib/lo/lo.c | modified | +12 −116 |
| contrib/lo/lo_drop.sql | modified | +2 −5 |
| contrib/lo/lo.sql.in | modified | +15 −48 |
| contrib/lo/lo_test.sql | modified | +14 −9 |
| contrib/lo/README.lo | modified | +43 −24 |
| contrib/vacuumlo/README.vacuumlo | modified | +5 −1 |