> In SQLite or MySQL there is a statement INSERT OR REPLACE , is something> like this in postgres , or could be ?
No, there isn't and there currently isn't anyone working on adding it.
Chris