Subject: | Cannot run on postgresql with RaiseError |
Hi,
I found a bug where running with Postgresql with RaiseError => 1 as the DBI Option, this cannot run.
This is due to the fact that the code in CHI::Driver::DBI::store first try to do an INSERT and then an UPDATE.
Doing an INSERT with an existing primary key will raise an exception (per DBI option RaiseError = 1), causing this store method to fail altogether with this setting.
Thanks,
Jerome.