Re: RULES and QUALIFICATION for INSERT

From: "Albe Laurenz" <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "srdjan *EXTERN*" <srdjan(dot)matic(at)anche(dot)no>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: RULES and QUALIFICATION for INSERT
Date: 2008-03-26 12:27:26
Message-ID: D960CB61B694CF459DCFB4B0128514C201E677A6@exadv11.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Roberts, Jon 2008-03-26 12:27:49 Re: select any table
Previous Message Sam Mason 2008-03-26 12:26:14 Re: pgplsql, how to save row variable to a table row