From: | Gonzalo Paniagua Javier <gonzalo(at)gnome-db(dot)org> |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Reading from a read-only BLOB is allowed |
Date: | 2003-08-16 21:08:21 |
Message-ID: | 1061068101.5308.50.camel@k7 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Hi!
It seems that postgres allows writing to a read-only blob opened like:
fd = lo_open (cnc, oid, INV_READ);
I've attached a simple test case and the Makefile to build it.
I'm using postgresql 7.3.3 (7.3.3-1 is the debian package version).
Is that the intended behaviour or is it a bug?
-Gonzalo
P.S.: please, CC me as I'm not suscribed to this list. Thanks.
--
Gonzalo Paniagua Javier <gonzalo(at)gnome-db(dot)org>
http://www.gnome-db.org/~gonzalo/
Attachment | Content-Type | Size |
---|---|---|
inversion-bug.c | text/x-c | 1.1 KB |
Makefile | text/x-makefile | 164 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | andrea gelmini | 2003-08-16 22:34:51 | error in docs |
Previous Message | Bruce Momjian | 2003-08-16 20:54:56 | Re: Bug #926: if old postgresql.jar in CLASSPATH, ant fails |