aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/basics.source
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2020-03-11 11:04:59 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2020-03-11 11:04:59 -0300
commit7c094a11c70d4790ae4067023806a026c6fd2fe1 (patch)
treeb463cf002b5cf15c53d103bb179cee7e8d9ade63 /src/tutorial/basics.source
parentf5d49f22653e6af61eee027153dcfd13e0256d85 (diff)
downloadpostgresql-7c094a11c70d4790ae4067023806a026c6fd2fe1.tar.gz
postgresql-7c094a11c70d4790ae4067023806a026c6fd2fe1.zip
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
Diffstat (limited to 'src/tutorial/basics.source')
0 files changed, 0 insertions, 0 deletions