On 9/4/14 10:42 AM, Pavel Stehule wrote:
> 2014-09-04 10:06 GMT+02:00 Joel Jacobson <joel@trustly.com>:
>> *) but there are probably equally who prefer to handle business logics
>> outside the database
>>
> It is maybe main difference between me and you. Usually I don't write CRUD
> applications, and I am not sure if plpgsql is good for CRUD.
>
> Mainly I would not to optimize plpgsql primary for CRUD.
I don't think providing syntax to support the CRUD-like use case would
be "optimizing it primarily for CRUD". Changing how UPDATE and DELETE
work by default would be, but that's not being suggested here (anymore).
.marko