update comic.panels set medium = x'2a958'::int where page = ( select page from comic.pages where comic = x'1db'::int and which = 0); Unfortunately, I forgot that the column in the "pages" table was named "id" not "page". This would have been the correct query: update comic.panels set medium = x'2a958'::int where page = ( select id from comic.pages where comic = x'1db'::int and which = 0);
So... please have errors in subqueries cause the surrounding query to fail.
I'm using version 13devel, git commit 9f87ae38eaffcc7f72c45bfeb79e09dd6e8c2f48 so if the bug has been fixed since then, feel free to ignore me.
pgsql-bugs by date:
Соглашаюсь с условиями обработки персональных данных