G
G
Guzh2017-06-25 20:58:46
PostgreSQL
Guzh, 2017-06-25 20:58:46

What command is needed in the pre insert trigger to cancel the command to insert a row into a table (postgre)?

Whether I want to check up in the trigger there are already records in the table with parameters transferred on an insertion.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2017-06-25
@Guzh

You just need to return NULL.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question