Re: RULES and QUALIFICATION for INSERT

From: srdjan <srdjan(dot)matic(at)anche(dot)no>
To: Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: RULES and QUALIFICATION for INSERT
Date: 2008-03-26 12:36:04
Message-ID: 47EA4334.9050004@anche.no
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Albe Laurenz wrote:
> srdjan wrote:
>
>>> What is the desired response to
>>>
>>> INSERT INTO vvv (name, town, num) VALUES ('Karl', 'Leipzig', 18);
>>>
>>> Should this generate an error message, do nothing, or insert something?
>>>
>> In this case you shouldn't be able to do this insert.
>>
>
> Should it generate an error message or do nothing?
>
> Yours,
> Laurenz Albe
>
It's not important, but maybe an error message would be preferred.

Regards,
Srdjan Matic

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Raymond O'Donnell 2008-03-26 12:40:34 Re: pgplsql, how to save row variable to a table row
Previous Message Anton Andreev 2008-03-26 12:34:07 Re: How to "use" database?