mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-19 12:56:59 +08:00
exec_eval_simple_expr() needs to do CommandCounterIncrement() not just
GetTransactionSnapshot() to ensure ActiveSnapshot advances properly. Sigh. Extend regression test so it reveals this error too.
This commit is contained in:
@ -1802,6 +1802,8 @@ end$$ language plpgsql;
|
||||
select sp_add_user('user1');
|
||||
select sp_add_user('user2');
|
||||
select sp_add_user('user2');
|
||||
select sp_add_user('user3');
|
||||
select sp_add_user('user3');
|
||||
|
||||
drop function sp_add_user(text);
|
||||
drop function sp_id_user(text);
|
||||
|
||||
Reference in New Issue
Block a user