HiFollowing command finishing without any error, but (as expected) do nothingpostgres=# create table foo(a int);CREATE TABLETime: 51,363 mspostgres=# DO $$postgres$# DECLARE t text;postgres$# BEGINpostgres$# t := 'INSERT INTO foo VALUES(10)';postgres$# PERFORM t;postgres$# END;postgres$# $$;DOTime: 4,375 mspostgres=# select * from foo;┌───┐│ a │╞═══╡└───┘(0 rows)Time: 1,367 msRelated to http://stackoverflow.com/questions/41294888/plpgsql-error-query-has-no-destination-for-result-data-on-a-parameter-declarati Regards
Pavel Stehule
pgsql-bugs by date:
Соглашаюсь с условиями обработки персональных данных