Re: Trigger to run @ connection time?
От | Tom Lane |
---|---|
Тема | Re: Trigger to run @ connection time? |
Дата | |
Msg-id | 6187.1205270905@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: Trigger to run @ connection time? ("Kynn Jones" <kynnjo@gmail.com>) |
Ответы |
Re: Trigger to run @ connection time?
Re: Trigger to run @ connection time? Re: Trigger to run @ connection time? Re: Trigger to run @ connection time? |
Список | pgsql-general |
"Kynn Jones" <kynnjo@gmail.com> writes: > If one can set up this insert operation so that it happens automatically > whenever a new connection is made, I'd like to learn how it's done. For manual psql sessions, you can put some setup commands in ~/.psqlrc. In any other context I'm afraid you're stuck with modifying your client application code. An ON CONNECT trigger enforced by the database seems a bit scary to me. If it's broken, how you gonna get into the DB to fix it? regards, tom lane
В списке pgsql-general по дате отправления: