pgsql: Fix timing issue with ALTER TABLE's validate constraint

2020-07-13 Thread David Rowley
Fix timing issue with ALTER TABLE's validate constraint An ALTER TABLE to validate a foreign key in which another subcommand already caused a pending table rewrite could fail due to ALTER TABLE attempting to validate the foreign key before the actual table rewrite takes place. This situation coul

pgsql: Fix timing issue with ALTER TABLE's validate constraint

2020-07-13 Thread David Rowley
Fix timing issue with ALTER TABLE's validate constraint An ALTER TABLE to validate a foreign key in which another subcommand already caused a pending table rewrite could fail due to ALTER TABLE attempting to validate the foreign key before the actual table rewrite takes place. This situation coul

pgsql: Fix timing issue with ALTER TABLE's validate constraint

2020-07-13 Thread David Rowley
Fix timing issue with ALTER TABLE's validate constraint An ALTER TABLE to validate a foreign key in which another subcommand already caused a pending table rewrite could fail due to ALTER TABLE attempting to validate the foreign key before the actual table rewrite takes place. This situation coul

pgsql: Fix timing issue with ALTER TABLE's validate constraint

2020-07-13 Thread David Rowley
Fix timing issue with ALTER TABLE's validate constraint An ALTER TABLE to validate a foreign key in which another subcommand already caused a pending table rewrite could fail due to ALTER TABLE attempting to validate the foreign key before the actual table rewrite takes place. This situation coul

pgsql: Fix timing issue with ALTER TABLE's validate constraint

2020-07-13 Thread David Rowley
Fix timing issue with ALTER TABLE's validate constraint An ALTER TABLE to validate a foreign key in which another subcommand already caused a pending table rewrite could fail due to ALTER TABLE attempting to validate the foreign key before the actual table rewrite takes place. This situation coul

pgsql: Fix timing issue with ALTER TABLE's validate constraint

2020-07-13 Thread David Rowley
Fix timing issue with ALTER TABLE's validate constraint An ALTER TABLE to validate a foreign key in which another subcommand already caused a pending table rewrite could fail due to ALTER TABLE attempting to validate the foreign key before the actual table rewrite takes place. This situation coul

pgsql: Fix timing issue with ALTER TABLE's validate constraint

2020-07-13 Thread David Rowley
Fix timing issue with ALTER TABLE's validate constraint An ALTER TABLE to validate a foreign key in which another subcommand already caused a pending table rewrite could fail due to ALTER TABLE attempting to validate the foreign key before the actual table rewrite takes place. This situation coul