Client's variables - Mailing list pgsql-general

From fryk
Subject Client's variables
Date
Msg-id 000901c4ff1f$b4c64be0$56e4acd9@FRYK
Whole thread Raw
Responses Re: Client's variables
List pgsql-general
Hi,

How to set such variable after (during?) client connection (PHP)?

I want to use it in view - so view could depends on it:

If I could set client's variable i.e. MY_VAR='hello' then I could do
something like this:

CREATE VIEW my_view AS SELECT * FROM pg_tables WHERE tablename ~* (SELECT
MY_VAR FROM ???)

Cheers!
___
fryk



pgsql-general by date:

Previous
From: troyston campano
Date:
Subject: Postgresql Security Pen Test
Next
From: "Dann Corbit"
Date:
Subject: Re: Unique Index