Search Postgresql Archives

Re: PHP Web Auditing and Authorization

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

 



Bill,


We got this same kind of thing working by using PostgreSQL env variables.
First, set custom_variable_classes in your postgresql.conf. ÂYou can then
use the SET command to set variables of that class, and use them in your
functions:

that is an interesting hack. Just googled upÂ

http://developer.postgresql.org/pgdocs/postgres/runtime-config-custom.html

and now I am wondering, where did you get your confidence Âthat those variables are bound to sessions and NOT bound to server instances? My reading of that documentation let me stay in the assumption, those variables are the same across server instances....

Harald
--Â
GHUM GmbH
Harald Armin Massa
Spielberger StraÃe 49
70435 Stuttgart
0173/9409607

Amtsgericht Stuttgart, HRB 734971
-
persuadere.
et programmare

[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