Using DSN Connection and knowing windows username

Поиск
Список
Период
Сортировка
От Łukasz Jarych
Тема Using DSN Connection and knowing windows username
Дата
Msg-id CAGv31oegb7cwKb3T5yR5558oG0tcdB8Dd4uPxrotM9tKQmp5Vw@mail.gmail.com
обсуждение исходный текст
Ответы Re: Using DSN Connection and knowing windows username
Список pgsql-general
Hi,

i am using windows server 2012 and connecting from Access FE to Postgresql using DSN connection. 

When i am using "select current_user;" in postgresql i have always user "postgres" because it is my default user for database. 

How to know in postgresql which specific windows user is using database? 
How to solve this? 

I tried to use method from here:


but this is only to avoid inputing password by specific windows server user. 
(and this is not working also).

Please help,
Best,
Jacek 
Вложения

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

Предыдущее
От: Janning Vygen
Дата:
Сообщение: Suggestion about logging only every n-th statement
Следующее
От: Geoff Winkless
Дата:
Сообщение: Re: Suggestion about logging only every n-th statement