Search Postgresql Archives

Getting linux $USER (and perhaps other env vars) in PL/pg-sql?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi:

 

Running 8.3.4 on Linux.

 

From inside a stored procedure, is there a way to capture the linux user (environment var = $USER) that is attached to the DB?  

 

A simplistic (though meaningless) example would be echo $USER from something like “select get_linux_user()”.

 

Thanks

-dave


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux