Re: Row data is reflected in DETAIL message when constraints fail on insert/update

2019-06-22 Thread William Denton
>I guess the original question basically boils down to "Given a >rogue/dumb app, and a DBA who neglected his job, is it PG's >business (or even within its possibilities) to mop up ?" It feels like you aren't setting people up to land in the pit of success. It's easy to sit back and call people neg

Row data is reflected in DETAIL message when constraints fail on insert/update

2019-06-19 Thread William Denton
"test" as user "postgres". test=# create table person (firstname text not null, lastname text not null, email text not null); CREATE TABLE test=# insert into person values ('william', 'denton', null); ERROR: null value in column "email" violates