on conflict do nothing

This commit is contained in:
Paul Trowbridge 2018-09-18 23:07:10 -04:00
parent 191043acf3
commit 8a5bfcbd4b
2 changed files with 2 additions and 0 deletions

View File

@ -119,6 +119,7 @@ CREATE OR REPLACE FUNCTION evt.log_insert() RETURNS trigger
,'{}'::jsonb prop ,'{}'::jsonb prop
FROM FROM
ex_gl_line ex_gl_line
ON CONFLICT DO NOTHING
RETURNING * RETURNING *
) )
INSERT INTO INSERT INTO

View File

@ -98,6 +98,7 @@ CREATE OR REPLACE FUNCTION evt.log_insert() RETURNS trigger
,'{}'::jsonb prop ,'{}'::jsonb prop
FROM FROM
ex_gl_line ex_gl_line
ON CONFLICT DO NOTHING
RETURNING * RETURNING *
) )
INSERT INTO INSERT INTO