On 6/1/20 3:09 AM, Hans wrote:
I've had a weird problem in a production system. The customer had
installed a new server with our software on it. The software installs
a Postgres database schema that includes a number of triggers. The
triggers perform inserts into an additional table.
How is t
you trigger can be much faster if you replace FOREACH cycle by unnest
INSERT INTO generic.usergroup_test(test_id, usergroup_id) VALUES(NEW.id,
UNNEST(NEW.usergroup_ids));
Thanks! Appreciated :-)
Hans
po 1. 6. 2020 v 12:09 odesÃlatel Hans napsal:
> >> I've had a weird problem in a production system. The customer had
> >> installed a new server with our software on it. The software installs
> >> a Postgres database schema that includes a number of triggers. The
> >> triggers perform inserts int
I've had a weird problem in a production system. The customer had
installed a new server with our software on it. The software installs
a Postgres database schema that includes a number of triggers. The
triggers perform inserts into an additional table.
How is the install done?
Our instructi
On 5/31/20 6:19 AM, Hans wrote:
Hi,
I've had a weird problem in a production system. The customer had
installed a new server with our software on it. The software installs a
Postgres database schema that includes a number of triggers. The
triggers perform inserts into an additional table.