Re: PL/pgSQL 'i = i + 1' Syntax - Mailing list pgsql-hackers

From Tom Lane
Subject Re: PL/pgSQL 'i = i + 1' Syntax
Date
Msg-id 15344.1147837911@sss.pgh.pa.us
Whole thread Raw
In response to Re: PL/pgSQL 'i = i + 1' Syntax  (David Wheeler <david@kineticode.com>)
Responses Re: PL/pgSQL 'i = i + 1' Syntax
Re: PL/pgSQL 'i = i + 1' Syntax
List pgsql-hackers
David Wheeler <david@kineticode.com> writes:
> Even if PL/SQL disallows it, why would you not allow it in PL/pgSQL?  

Um ... design sanity and consistency, maybe?  Not that I think PL/SQL
is any paragon of those virtues, but surely "we'll invent any feature
we feel like whether it's sane or not" is not a recipe for a
maintainable language.

(No, I'm not particularly in favor of the BY feature mentioned upthread,
either.)
        regards, tom lane


pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: Compression and on-disk sorting
Next
From: Bruce Momjian
Date:
Subject: Re: pg_dump and backslash escapes