Re: pgsql: Avoid duplicates in ALTER ... DEPENDS ON EXTENSION

2020-03-11 Thread Alvaro Herrera
On 2020-Mar-11, Alvaro Herrera wrote: > Avoid duplicates in ALTER ... DEPENDS ON EXTENSION > Reviewed-by: Ibrar Ahmed, Tom Lane (offlist) I failed to credit Ahsan Hadi as a reviewer here. Apologies. -- Álvaro Herrerahttps://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Sup

pgsql: Avoid duplicates in ALTER ... DEPENDS ON EXTENSION

2020-03-11 Thread Alvaro Herrera
Avoid duplicates in ALTER ... DEPENDS ON EXTENSION If the command is attempted for an extension that the object already depends on, silently do nothing. In particular, this means that if a database containing multiple such entries is dumped, the restore will silently do the right thing and record

pgsql: Avoid duplicates in ALTER ... DEPENDS ON EXTENSION

2020-03-11 Thread Alvaro Herrera
Avoid duplicates in ALTER ... DEPENDS ON EXTENSION If the command is attempted for an extension that the object already depends on, silently do nothing. In particular, this means that if a database containing multiple such entries is dumped, the restore will silently do the right thing and record

pgsql: Avoid duplicates in ALTER ... DEPENDS ON EXTENSION

2020-03-11 Thread Alvaro Herrera
Avoid duplicates in ALTER ... DEPENDS ON EXTENSION If the command is attempted for an extension that the object already depends on, silently do nothing. In particular, this means that if a database containing multiple such entries is dumped, the restore will silently do the right thing and record

pgsql: Avoid duplicates in ALTER ... DEPENDS ON EXTENSION

2020-03-11 Thread Alvaro Herrera
Avoid duplicates in ALTER ... DEPENDS ON EXTENSION If the command is attempted for an extension that the object already depends on, silently do nothing. In particular, this means that if a database containing multiple such entries is dumped, the restore will silently do the right thing and record

pgsql: Avoid duplicates in ALTER ... DEPENDS ON EXTENSION

2020-03-11 Thread Alvaro Herrera
Avoid duplicates in ALTER ... DEPENDS ON EXTENSION If the command is attempted for an extension that the object already depends on, silently do nothing. In particular, this means that if a database containing multiple such entries is dumped, the restore will silently do the right thing and record