Re: GET DIAGNOSTICS (was Re: Open 7.1 items) - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: GET DIAGNOSTICS (was Re: Open 7.1 items)
Date
Msg-id 200102190429.XAA26463@candle.pha.pa.us
Whole thread Raw
In response to Re: GET DIAGNOSTICS (was Re: Open 7.1 items)  (Philip Warner <pjw@rhyme.com.au>)
Responses Re: GET DIAGNOSTICS (was Re: Open 7.1 items)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> >>     GET DIAGNOSTICS :c = OID;
> >
> >It looks to me like SQL99 allows
> >
> >    GET DIAGNOSTICS :a = ROW_COUNT, :b = OID, ...;
> 
> Yes, but condition information (eg. SPI RESULT or SQLCODE), needs a
> separate statement to row information (eg. ROW_COUNT). ie.
> 
>      GET DIAGNOSTICS :a = ROW_COUNT, :c = OID;
>      GET DIAGNOSTICS EXCEPTION 1 :b = SQLCODE;
> 
> but it's not much of a problem, really. And I agree the 'x = y' syntax is
> better.
> 
> Unfortunately, I don't have an awful lot of free time at the moment, so I
> won't be able to look at this for at *least* as week.

Well, this clearly is a release-stopper because we don't want to release
a non-standard GET DIAGNOSTICS.  It will be fixed before 7.1 final by
someone.  I have added it to the open items list.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: PHP 4.0.4pl1 / Beta 5
Next
From: Larry Rosenman
Date:
Subject: Re: PHP 4.0.4pl1 / Beta 5