"Joel Burton" <joel@joelburton.com> writes:
> In the psql client, you can set a variable with the "\set" command, or using
> "--set" at startup. So "psql --set UID=xxxx" will let you use the the UID as
> "SELECT * FROM USER WHERE uid= :UID".
>
> Will this work for you?
>
> - J.
well, i'm using the php functions for communicating with postgresql. but
this means that it is possible.
has someone an idea how i can set such a variable when i open the
connection with php?
thanks,
moritz
--
<grin> seen jhm
<dpkg> jhm is Sarek, and jhm is on the channel right now!
* JHM wonders why dpkg remembers that particular nick.
<grin> dpkg: Sarek? ermm, sure, and I am Khan
-- Seen on #Debian