Re: About temporary table
От | Dan Langille |
---|---|
Тема | Re: About temporary table |
Дата | |
Msg-id | 20020325041537.EE3BF3F28@bast.unixathome.org обсуждение исходный текст |
Ответ на | Re: About temporary table ("jack" <datactrl@tpg.com.au>) |
Список | pgsql-sql |
Why don't you just create it at the start of where it is needed and then never worry about it. It is automatically deleted when the session finishes. On 25 Mar 2002 at 14:11, jack wrote: > But when I write SQL in pl/pgSQL, I can't test to drop a temporary table. If > it fails, the whole procedure will be aborted. That's my problem! > > JACK > > ----- Original Message ----- > From: "Bruce Momjian" <pgman@candle.pha.pa.us> > To: "jack" <datactrl@tpg.com.au> > Cc: <pgsql-sql@postgresql.org> > Sent: Monday, March 25, 2002 1:54 PM > Subject: Re: [SQL] About temporary table > > > > jack wrote: > > > HI, > > > > > > I installed postgreSql v7.2. There is a question about temporary tables. > How > > > can I drop a temporary table only if it exists? Thank you! > > > > Uh, just issue the drop and ignore the possible error. -- Dan Langille The FreeBSD Diary - http://freebsddiary.org/ - practical examples
В списке pgsql-sql по дате отправления: