1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-07 00:36:50 +03:00
Files
postgres/src/backend/commands
Alvaro Herrera b7739ebecd 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 just the first one.  (At least, in a world where pg_dump does
dump such entries -- which it doesn't currently, but it will.)

Backpatch to 9.6, where this kind of dependency was introduced.

Reviewed-by: Ibrar Ahmed, Tom Lane (offlist)
Discussion: https://postgr.es/m/20200217225333.GA30974@alvherre.pgsql
2020-03-11 11:04:59 -03:00
..
2019-05-22 12:55:34 -04:00
2019-05-22 13:04:48 -04:00
2019-01-21 12:15:02 -08:00
2019-05-22 12:55:34 -04:00
2019-01-02 12:44:25 -05:00
2019-01-02 12:44:25 -05:00
2019-01-02 12:44:25 -05:00
2019-05-22 13:04:48 -04:00
2019-05-08 13:20:16 -04:00
2019-05-22 13:04:48 -04:00
2019-01-15 12:06:19 -08:00
2019-05-22 13:04:48 -04:00
2019-05-22 13:04:48 -04:00
2019-01-02 12:44:25 -05:00
2019-05-22 13:04:48 -04:00
2019-05-22 13:04:48 -04:00
2019-05-22 13:04:48 -04:00
2019-12-19 09:30:12 -05:00
2019-05-22 13:04:48 -04:00
2019-05-22 13:04:48 -04:00
2019-01-02 12:44:25 -05:00