Обсуждение: [PERFORM] Create a materialized view in PostgreSQL which can be access by allthe user account

Поиск
Список
Период
Сортировка

[PERFORM] Create a materialized view in PostgreSQL which can be access by allthe user account

От
Dinesh Chandra 12108
Дата:

Hi Experts,

 

How can we create a materialized view in PostgreSQL which can be access by all the user account in all Database?

 

Regards,

Dinesh Chandra

Re: [PERFORM] Create a materialized view in PostgreSQL which can beaccess by all the user account

От
"David G. Johnston"
Дата:
On Mon, Apr 17, 2017 at 10:00 AM, Dinesh Chandra 12108 <Dinesh.Chandra@cyient.com> wrote:

Hi Experts,

 

How can we create a materialized view in PostgreSQL which can be access by all the user account in all Database?


​Databases are isolated - while connected to one you cannot directly see objects in another.  You need to use something like postgres_fdw to link current database and the one containing the materialized view together.​

And ensure the proper permissions are setup.


David J.