How to check constraints before call of simple_heap_insert()?

From: "Vanyel" <mgierw(at)wp(dot)pl>
To: pgsql-general(at)postgresql(dot)org
Subject: How to check constraints before call of simple_heap_insert()?
Date: 2006-12-14 08:16:01
Message-ID: 1166084160.970397.118630@73g2000cwn.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi all.
I'm writting some trigger i C, and I use simple_heap_insert() function
to insert HeapTuple to a table. But unfortunatelly that function does
not check constraints before inserting values to the table. Does anyone
know there is some function that checks constraints while inserting
HeapTuple structure?
Thanks in advice

Best regards.
Vanyel

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alban Hertroys 2006-12-14 09:05:52 Re: A VIEW mimicing a TABLE
Previous Message Richard Huxton 2006-12-14 07:55:06 Re: a question for the way-back machine