select from sequences

From: "Jaime Casanova" <systemguards(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: select from sequences
Date: 2007-02-12 03:58:07
Message-ID: c2d9e70e0702111958w68f4f580pb5969ad398043c53@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-02-12 04:47:40 Re: select from sequences
Previous Message Pavan Deolasee 2007-02-12 03:54:19 Re: HOT for PostgreSQL 8.3