Re: create temp table .. on commit delete rows

Поиск
Список
Период
Сортировка
От David Fetter
Тема Re: create temp table .. on commit delete rows
Дата
Msg-id 20061012194825.GE24237@fetter.org
обсуждение исходный текст
Ответ на Re: create temp table .. on commit delete rows  ("Jim C. Nasby" <jim@nasby.net>)
Ответы Re: create temp table .. on commit delete rows  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
On Thu, Oct 12, 2006 at 02:07:28PM -0500, Jim C. Nasby wrote:
> On Thu, Oct 12, 2006 at 12:01:12PM -0700, David Fetter wrote:
> > On Thu, Oct 12, 2006 at 03:51:39PM +0400, Teodor Sigaev wrote:
> > > >You're running in auto-commit, mode.  An implicit commit
> > > >happens after this statement.  Which clears the table.  Looks
> > > >right to me.
> > > 
> > > Oops, I see
> > 
> > Should something notice and raise a warning when people create a
> > TEMP table and have AUTOCOMMIT on?
> 
> Maybe if ON COMMIT is set to DELETE ROWS or DROP...

Sounds good :)

Cheers,
D
-- 
David Fetter <david@fetter.org> http://fetter.org/
phone: +1 415 235 3778        AIM: dfetter666                             Skype: davidfetter

Remember to vote!


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

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: [PERFORM] Hints proposal
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: [PATCHES] array_accum aggregate