Re: merge with view

2024-03-11 Thread Adrian Klaver
. Moreover also "insert + on conflict" doesn't work with view (in my case is a view on a single table with an instead of trigger) Reply with: Postgres version View definition Example Merge query. Definition of doesn't work, with actual complete error message. There is a way to

merge with view

2024-03-11 Thread Lorusso Domenico
Hello guys, Merge isn't work on view; anyone know why? I mean, merge could be performed in many way, but essentially is: - join sets - if matched update or delete - if not matched insert it doesn't seem to be relevant if set is a table or a view. Moreover also "insert + on conflict"