How to check if a comma separated argument provided to a shell script is a subset of the values of a column in a postgres table, in shell scripting – Postgresql
I have a script that's taking some comma separated IDs as an argument, and I want to check if they are valid inputs, i.e. they should be a subset of IDs present in a postgres table. I have this one…