> > how can declare and define my own variables in each connect to db, and> > read it / or change it in plpgsql function ?
You can do this, I believe, by creating a temporary table holdingkey/value pairs.
Jon