Fix ancient error in large objects usage example: overwrite() subroutine

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 69f69808c5c4185e729f489720e6c4c04efdd85b
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2006-03-02T21:49:19Z
Releases: 8.1.4
Fix ancient error in large objects usage example: overwrite() subroutine
was opening with INV_READ flag and then writing.  Prior to 8.1 the backend
did not reject this, but now it does.

Files

PathChange+/−
doc/src/sgml/lobj.sgml modified +6 −5
src/test/examples/testlo.c modified +4 −4