Hi, just for curiosity, why the code doesn't throw an error when using sequences in the from_list of a select?
allow selects from sequences confuses many people about the correct way of using sequences -- regards, Jaime Casanova "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs and the universe trying to produce bigger and better idiots. So far, the universe is winning." Richard Cook ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org