Re: Few Simple Questions
| От | Jonathan Bartlett |
|---|---|
| Тема | Re: Few Simple Questions |
| Дата | |
| Msg-id | Pine.GSU.4.44.0302281218350.13762-100000@eskimo.com обсуждение исходный текст |
| Ответ на | Re: Few Simple Questions (Ivan <iv@psycho.pl>) |
| Список | pgsql-general |
> tru, bat its not very good idea, because there can be duplicate keys,
Create the temporary table with a primary key.
> or what with broken transmision ???
How is that different than a normal session variable?
> better will be something like SET .. ???
How would it be any different?
You could wrap it with functions. create_session() set_variable('name',
'value') get_variable('name')
Jon
>
> > > > 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 holding
> > key/value pairs.
> >
> > Jon
> >
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 4: Don't 'kill -9' the postmaster
> >
>
В списке pgsql-general по дате отправления: