Re: BUG #16698: Create extension and search path - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #16698: Create extension and search path
Date
Msg-id 957260.1604425826@sss.pgh.pa.us
Whole thread Raw
In response to BUG #16698: Create extension and search path  (PG Bug reporting form <noreply@postgresql.org>)
Responses Re: BUG #16698: Create extension and search path
List pgsql-bugs
Miha Vrhovnik <miha.vrhovnik@gmail.com> writes:
> What are then extensions.. They live in some sort of limbo.. as they don't
> behave like a natural extension of the database... As they behave
> differently (because they "require" public shema in path if extensions are
> created while in public schema ).

You've got the wrong mental model.  Extensions are containers, which
may *contain* objects that live within schemas, but the extension itself
does not.  The key reason for doing it that way is that an extension might
itself contain a schema, or more than one schema.

            regards, tom lane



pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: User with BYPASSRLS privilege can't change password
Next
From: Wolfgang Walther
Date:
Subject: Re: User with BYPASSRLS privilege can't change password