However,, I'd like to still insert the record and I'd like to do something like: INSERT INTO test VALUES( 0, 'abc', 12345, IF( (SELECT foo FROM bar) == NULL, "postgres", <select_result>), /*more data follow*/); What would be the best way to achieve this?
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных