Retain PREPARE or CONNECT TRIGGER

Поиск
Список
Период
Сортировка
От Justin Funk
Тема Retain PREPARE or CONNECT TRIGGER
Дата
Msg-id a4c12a480904010714p4e52130dj670decedcbc0c4ed@mail.gmail.com
обсуждение исходный текст
Список pgsql-general
I am using rsyslog (a syslog to database application) to connect to my
postgresql database. It then executes Insert after Insert 100s a
minute.... I have been reading about the PREPARE statement and think
that could dramatically increase my insert speed. The problem is, as
you all know, that PREPARE only works for the session that it was
executed. I cannot make rsyslog prepare the statement when it start's
it's session, so how can I use the ability of "PREPARE" in this
situation?

I was thinking maybe that there would be away to trigger the prepare
statement when the rsyslog user connects. Or is there another option
like PREPARE that persists?

Thanks for your help.

Justin Funk

В списке pgsql-general по дате отправления:

Предыдущее
От: Justin Funk
Дата:
Сообщение: Retain PREPARE or connect trigger
Следующее
От: Patrick Desjardins
Дата:
Сообщение: Re: [GENERAL] Re: [GENERAL] ERROR: XX001: could not read block 2354 of relation…