Re: VIEWs and FOREIGN keys
| От | Jan Wieck | 
|---|---|
| Тема | Re: VIEWs and FOREIGN keys | 
| Дата | |
| Msg-id | 200206101720.g5AHKAK29836@saturn.janwieck.net обсуждение исходный текст | 
| Ответ на | VIEWs and FOREIGN keys (Achilleus Mantzios <achill@matrix.gatewaynet.com>) | 
| Ответы | Re: [GENERAL] VIEWs and FOREIGN keys | 
| Список | pgsql-sql | 
Achilleus Mantzios wrote:
>
> can someone have a foreign key constraint that references
> a view??
    No,  and  this is not planned either. Remember that it is not
    only required for referential integrity to  check  if  a  key
    exists  on  INSERT  or  UPDATE  to the referencing table. The
    system must guarantee that you cannot  remove  existing  keys
    while  they  are  referenced  (or  more  precise  perform the
    requested referential action).
Jan
--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== JanWieck@Yahoo.com #
		
	В списке pgsql-sql по дате отправления: