| От | John R Pierce |
|---|---|
| Тема | Re: Questions on PostGreSQL Authentication mechanism... |
| Дата | |
| Msg-id | 4B6919EF.3040906@hogranch.com обсуждение исходный текст |
| Ответ на | Re: Questions on PostGreSQL Authentication mechanism... (dipti shah <shahdipti1980@gmail.com>) |
| Ответы |
Re: Questions on PostGreSQL Authentication mechanism...
|
| Список | pgsql-general |
dipti shah wrote: > I am connected to database as postgres user. > > '\!exec ..' doesn't work if I connect to the database from other host > but it does work if I connect to the database from server where I have > PostGreSQL installed. pg_read_file doesn't work in any case. > > Techdb=# \! exec cat /etc/postgresql/8.4/main/pg_hba.conf > cat: cannot open /etc/postgresql/8.4/main/pg_hba.conf thats because psql runs the command on the LOCAL server that the user is running psql on. would be all kinda security problems if a user could run commands on the remote server without having logged onto it as a regular user.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера