Re: [GENERAL] Client's variables

2005-01-20 Thread Richard Huxton
Marek Lewczuk wrote: fryk napisaÅ(a): 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_table

Re: [GENERAL] Client's variables

2005-01-20 Thread Marek Lewczuk
fryk napisaÅ(a): 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 ~*