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

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

Commit: 56aa84a69c282840afc3be3cba0b0e374373b9b4
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2006-03-02T21:49:09Z
Releases: 8.2.0
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