"create extension" always executes strictly within the database you are connected to. It may have effects that go beyond that database, depending on what the extension does, but absent documentation to the contrary assume that an extension only operates within the database it was installed into.
Чтобы сделать работу с сайтом удобнее, мы используем cookie и аналитический сервис «Яндекс.Метрика». Продолжая пользоваться сайтом, вы соглашаетесь с их использованием.