Postgresql – Avoid repetition of strings in SQL query
I have a SQL query where the list of strings is repeated twice: ('foo', 'bar', 'baz', 'bletch'). What is the most maintainable method to avoid such repetition and make this code more DRY? I am not optimizing query performance, only…