PL/PgSQL GET DIAGNOSTICS command
PL/PgSQL GET DIAGNOSTICS command
От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:
I see the new PL/PgSQL command: GET DIAGNOSTICS This seems like a poorly-worded command to me. It is meant to return the number of rows affected by a previous query, right? -- 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, Pennsylvania 19026
Re: PL/PgSQL GET DIAGNOSTICS command
От:
"Ross J. Reedstrom" <reedstrm@rice.edu>
Дата:
On Fri, Feb 09, 2001 at 12:04:08PM -0500, Bruce Momjian wrote: > I see the new PL/PgSQL command: > > GET DIAGNOSTICS > > This seems like a poorly-worded command to me. It is meant to return > the number of rows affected by a previous query, right? Among other things, eventually. You get to blame the SQL standards committee, again: wallace$ grep 'GET DIAGNOSTICS' sql1992.txt GET DIAGNOSTICS Ross
Re: PL/PgSQL GET DIAGNOSTICS command
От:
Peter Eisentraut <peter_e@gmx.net>
Дата:
Bruce Momjian writes: > I see the new PL/PgSQL command: > > GET DIAGNOSTICS > > This seems like a poorly-worded command to me. It is meant to return > the number of rows affected by a previous query, right? That's how SQL wants it. -- Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/
Re: PL/PgSQL GET DIAGNOSTICS command
От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:
> On Fri, Feb 09, 2001 at 12:04:08PM -0500, Bruce Momjian wrote: > > I see the new PL/PgSQL command: > > > > GET DIAGNOSTICS > > > > This seems like a poorly-worded command to me. It is meant to return > > the number of rows affected by a previous query, right? > > Among other things, eventually. You get to blame the SQL standards > committee, again: > > > wallace$ grep 'GET DIAGNOSTICS' sql1992.txt > GET DIAGNOSTICS > That is unbelievable! (But true.) -- 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, Pennsylvania 19026