Input validation - Mailing list pgsql-general

From stan
Subject Input validation
Date
Msg-id 20190807180717.GA21152@panix.com
Whole thread Raw
Responses Re: Input validation  (Adrian Klaver <adrian.klaver@aklaver.com>)
Re: Input validation  (Rob Sargent <robjsargent@gmail.com>)
List pgsql-general
 Have table that contains employee keys, paired up with work type keys
 (both foreign keys) and a 3rd column that you enter a billing rate in.
 Then I have a table where employees enter their work. I need to validate
 that the employee, work type pair exists, before allowing the new record
 to be inserted.

 Any thoughts as to good way to do this?


-- 
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
                        -- Benjamin Franklin



pgsql-general by date:

Previous
From: Rob Sargent
Date:
Subject: Re: pg_wal fills up on big update query
Next
From: Adrian Klaver
Date:
Subject: Re: Input validation