Обсуждение: BUG #1966: Single OUT PARM does not return param name.

Поиск
Список
Период
Сортировка

BUG #1966: Single OUT PARM does not return param name.

От
"Tony Caduto"
Дата:
The following bug has been logged online:

Bug reference:      1966
Logged by:          Tony Caduto
Email address:      tony_caduto@amsoftwaredesign.com
PostgreSQL version: 8.1
Operating system:   Linux
Description:        Single OUT PARM does not return param name.
Details:

When creating a plpgsql function that has one OUT param the function returns
the name of the function as the column name instead of the OUT param name.
This behavior is not consistant with the behavior of other DB systems and
needs to be fixed so that if a single OUT param is specifed the name of the
param is returned.

Re: BUG #1966: Single OUT PARM does not return param name.

От
Bruce Momjian
Дата:
Tony Caduto wrote:
>
> The following bug has been logged online:
>
> Bug reference:      1966
> Logged by:          Tony Caduto
> Email address:      tony_caduto@amsoftwaredesign.com
> PostgreSQL version: 8.1
> Operating system:   Linux
> Description:        Single OUT PARM does not return param name.
> Details:
>
> When creating a plpgsql function that has one OUT param the function returns
> the name of the function as the column name instead of the OUT param name.
> This behavior is not consistant with the behavior of other DB systems and
> needs to be fixed so that if a single OUT param is specifed the name of the
> param is returned.

This will be fixed in 8.1beta3.  Thanks for the report.

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