Unix Technical Forum

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

This is a discussion on BUG #1966: Single OUT PARM does not return param name. within the pgsql Bugs forums, part of the PostgreSQL category; --> The following bug has been logged online: Bug reference: 1966 Logged by: Tony Caduto Email address: tony_caduto@amsoftwaredesign.com PostgreSQL version: ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Bugs

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 10:19 AM
Tony Caduto
 
Posts: n/a
Default BUG #1966: Single OUT PARM does not return param name.


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.

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-10-2008, 10:19 AM
Bruce Momjian
 
Posts: n/a
Default Re: BUG #1966: Single OUT PARM does not return param name.

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

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:54 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com