Bruce Momjian wrote:
This documentation bug has been fixed. We currently have:
=> SELECT * FROM a;
x
---
1 -- no rows in a (0) + 1
(1 row)
=> INSERT INTO a VALUES (execq('SELECT * FROM a', 0) + 1);
INFO: EXECQ: 1
INSERT 0 1
Is the "INSERT 0 1" right? I see an oid in your example, but that might
be because we no longer user oids by default.
Yes. IIRC, Tom had already pointed out that and fixed.
http://archives.postgresql.org/pgsql-bugs/2005-12/msg00071.php
Regards,
Yoshihisa Nakano
---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?
http://www.postgresql.org/docs/faq