> Is "if" clause support in PG? > for example: > "drop table aa if exist" > "insert into aa values(1) if not exists select * from aa where i=1" No. afaict it is not in any SQL standard, so is unlikely to get much attention from developers. - Thomas
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных