Re: reset implementation

Поиск
Список
Период
Сортировка
От Federico Di Gregorio
Тема Re: reset implementation
Дата
Msg-id 4FB64C11.8080705@dndg.it
обсуждение исходный текст
Ответ на Re: reset implementation  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
Список psycopg
On 18/05/12 11:53, Daniele Varrazzo wrote:
>> > IMHO that's correct for connection.reset() but I don't know how many
>> > people out there are using NOTIFY and .reset() togheter and I don't want
>> > to break their code.
> My assumption is that if somebody calls reset() he doesn't expect the
> connection to keep on doing what it was before. But I've already
> created more than one issue thinking something wouldn't have had side
> effects, while in real world... so I don't want to push too much on
> this.

If nobody comment on this issue at all we can suppose the number of
affected people would be extremely low (and I know no big framework out
there uses connection.reset()). So it is a +1 unless someone objects.

federico

--
Federico Di Gregorio                         federico.digregorio@dndg.it
Studio Associato Di Nunzio e Di Gregorio                  http://dndg.it
   Abandon the search for Truth; settle for a good fantasy. -- Anonymous

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

Предыдущее
От: Daniele Varrazzo
Дата:
Сообщение: Re: reset implementation
Следующее
От: Daniele Varrazzo
Дата:
Сообщение: Re: Using a psycopg2 converter to retrieve bytea data from PostgreSQL