<div xmlns="http://www.w3.org/1999/xhtml"><div>Problem solved.</div><div>The reason was that I used pgcli.</div><div>When I use psql, everything works as it should.</div><div>I assume that pgcli chooses transaction isolation level by itself.</div></div><div xmlns="http://www.w3.org/1999/xhtml"> </div><div xmlns="http://www.w3.org/1999/xhtml"><a href="https://www.sql.ru/forum/1310005/funkciya-v-pg11-2-ne-zapuskaetsya-s-urovnem-izolyacii-serializable">https://www.sql.ru/forum/1310005/funkciya-v-pg11-2-ne-zapuskaetsya-s-urovnem-izolyacii-serializable</a></div><div xmlns="http://www.w3.org/1999/xhtml"> </div><div xmlns="http://www.w3.org/1999/xhtml">Thank you!</div><div><br /></div><div><br /></div><div>08.03.2019, 22:13, "Andres Freund" <andres(at)anarazel(dot)de>:</div><blockquote type="cite"><p>On <span>2019-03-08 17</span>:38:33 +0000, PG Bug reporting form wrote:<br /></p><blockquote> The following bug has been logged on the website:<br /><br /> Bug reference: 15678<br /> Logged by: Vasiliy Korotkikh<br /> Email address: <a href="mailto:dhaenoor(at)yandex(dot)ru">dhaenoor(at)yandex(dot)ru</a><br /> PostgreSQL version: 11.2<br /> Operating system: Debian Stretch<br /> Description: <br /><br /> In the configuration file of my server there is the following line:<br /> default_transaction_isolation = 'serializable'<br /></blockquote><p><br />Did you reload the configuration after making that change? SELECT<br />pg_reload_conf();<br /><br />Greetings,<br /><br />Andres Freund<br /></p></blockquote>