Re: CREATE TEMP TABLE AS SELECT/ GET DIAGNOSTICS ROW_COUNT

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: MLikharev(at)micropat(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: CREATE TEMP TABLE AS SELECT/ GET DIAGNOSTICS ROW_COUNT
Date: 2005-05-30 20:30:25
Message-ID: 200505302030.j4UKUPV25987@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Can someone in the community comment on this question? I don't know the
answer.

---------------------------------------------------------------------------

MLikharev(at)micropat(dot)com wrote:
> Hi, I was asking this question some time ago and was under impression
> that this will be fixed in 8.x. In general problem is, CREATE TEMP
> TABLE AS SELECT does not report any rows to the engine, seems like, so
> GET DIAGNOSTICS ROW_COUNT after the statement returns 0 as well as
> FOUND false. This was working in 7.3, but behavior changed in 7.4. My
> question is, will it be fixed or should I consider not stop using get
> diagnostic after ?create temp table as select? from now on. Honstly
> this was a very convinient feature especialy knowing that select
> count(*) not a fastes possible operation.
>
> Thank you.
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2005-05-30 20:58:43 Re: numeric precision when raising one numeric to
Previous Message Martijn van Oosterhout 2005-05-30 19:05:36 Re: Problem with void integer