Re: FDWs, foreign servers and user mappings

Поиск
Список
Период
Сортировка
От Shigeru Hanada
Тема Re: FDWs, foreign servers and user mappings
Дата
Msg-id 4F583E61.1080001@gmail.com
обсуждение исходный текст
Ответ на FDWs, foreign servers and user mappings  (Joe Abbate <jma@freedomcircle.com>)
Ответы Re: FDWs, foreign servers and user mappings  (Joe Abbate <jma@freedomcircle.com>)
Список pgsql-general
(2012/03/08 6:16), Joe Abbate wrote:
> Does that make sense?  And if so, will it make sense in the future
> (considering potential FDW developments)?

I think that makes, and will make sense.  Because SQL/MED standard
mentions about schema for only foreign table in "4.12 SQL-schemas" section.

FYI, pgAdmin III shows them as a tree like:

Database
  FDW
    Server
      User Mapping
  Schema
    Foreign Table

> A related question was whether user mapping options, which may include
> sensitive data such as passwords, should be output by default.  I'm not
> sure if this should extend to other FDW-related options, since a server
> option could presumably be a URI that includes logon information.

FDW options of user mappings are hidden from non-superusers for security
reason.  So, I think it's reasonable to show every visible option for
the user who is used for the dbtoyaml invocation.

I'm not sure about other object types, but IMO secure information such
as URI which includes password should be stored in user mappings rather
than servers.

Regards,
--
Shigeru Hanada

В списке pgsql-general по дате отправления:

Предыдущее
От: Aleksey Tsalolikhin
Дата:
Сообщение: Re: [Slony1-general] A 154 GB table swelled to 527 GB on the Slony slave. How to compact it?
Следующее
От: Aleksey Tsalolikhin
Дата:
Сообщение: Re: Re: A 154 GB table swelled to 527 GB on the Slony slave. How to compact it?