Re: [Plperlng-devel] Re: [HACKERS] Concern about new PL/Perl

2004-11-19 Thread Andrew Dunstan
Tom Lane said: Josh Berkus [EMAIL PROTECTED] writes: I would agree that seems a little odd ;). Would this be something we want done for 8.0? I think we'd better. Otherwise, people will get used to the broken syntax. Agreed. Someone's going to step up and patch this, no? (Not me ---

Re: [Plperlng-devel] Re: [HACKERS] Concern about new PL/Perl

2004-11-19 Thread Joshua D. Drake
Humor the Canadian ... when is Thanksgiving? :) Next week.. :) Thursday. Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: [EMAIL PROTECTED] Yahoo!: yscrappy ICQ: 7615664 -- Command Prompt, Inc., home of Mammoth PostgreSQL - S/ODBC

Re: [Plperlng-devel] Re: [HACKERS] Concern about new PL/Perl

2004-11-19 Thread Marc G. Fournier
On Fri, 19 Nov 2004, Joshua D. Drake wrote: Humor the Canadian ... when is Thanksgiving? :) Next week.. :) Thursday. Thank you ... I knew you guys celebrated later then us, just didn't know why ... do you guys celebrate Remembrance Day same as us, or different too? Ours is Nov 11 ...

Re: [Plperlng-devel] Re: [HACKERS] Concern about new PL/Perl

2004-11-19 Thread Joshua D. Drake
Thank you ... I knew you guys celebrated later then us, just didn't know why ... do you guys celebrate Remembrance Day same as us, or different too? Ours is Nov 11 ... I don't even know what Rememberance Day is ;) Sincerely, Joshua D. Drake Marc G. Fournier Hub.Org Networking

Re: [Plperlng-devel] Re: [HACKERS] Concern about new PL/Perl

2004-11-19 Thread Doug McNaught
Joshua D. Drake [EMAIL PROTECTED] writes: Thank you ... I knew you guys celebrated later then us, just didn't know why ... do you guys celebrate Remembrance Day same as us, or different too? Ours is Nov 11 ... I don't even know what Rememberance Day is ;) WWI ended on November 11, 1918.

Re: [Plperlng-devel] Re: [HACKERS] Concern about new PL/Perl

2004-11-19 Thread David Fetter
On Fri, Nov 19, 2004 at 05:29:20AM -0600, Andrew Dunstan wrote: Tom Lane said: Josh Berkus [EMAIL PROTECTED] writes: I would agree that seems a little odd ;). Would this be something we want done for 8.0? I think we'd better. Otherwise, people will get used to the broken syntax.

Re: [Plperlng-devel] Re: [HACKERS] Concern about new PL/Perl

2004-11-19 Thread Tom Lane
David Fetter [EMAIL PROTECTED] writes: So it's a case of bad documentation, which we will fix very shortly. Sorry for the noise. Please find attached a patch that fixes this. Applied, thanks. regards, tom lane ---(end of

Re: [Plperlng-devel] Re: [HACKERS] Concern about new PL/Perl

2004-11-18 Thread Joshua D. Drake
Andrew Dunstan wrote: Peter Eisentraut wrote: It seems that in the new PL/Perl, the result of the spi_exec_query function changes in meaning depending on the command. For a SELECT, the value of $res-{rows} is a reference to an array of the result rows. For a different command $res-{rows} is a

Re: [Plperlng-devel] Re: [HACKERS] Concern about new PL/Perl

2004-11-18 Thread Josh Berkus
Josh, I would agree that seems a little odd ;). Would this be something we want done for 8.0? I think we'd better. Otherwise, people will get used to the broken syntax. -- Josh Berkus Aglio Database Solutions San Francisco ---(end of

Re: [Plperlng-devel] Re: [HACKERS] Concern about new PL/Perl

2004-11-18 Thread Tom Lane
Josh Berkus [EMAIL PROTECTED] writes: I would agree that seems a little odd ;). Would this be something we want done for 8.0? I think we'd better. Otherwise, people will get used to the broken syntax. Agreed. Someone's going to step up and patch this, no? (Not me --- I've already wasted

Re: [Plperlng-devel] Re: [HACKERS] Concern about new PL/Perl

2004-11-18 Thread Joshua D. Drake
Agreed. Someone's going to step up and patch this, no? (Not me --- I've already wasted more hours than I could afford this week on plperl.) We can do it, but it will have to be after thanksgiving. J regards, tom lane -- Command Prompt, Inc., home of Mammoth PostgreSQL - S/ODBC and

Re: [Plperlng-devel] Re: [HACKERS] Concern about new PL/Perl

2004-11-18 Thread Marc G. Fournier
On Thu, 18 Nov 2004, Joshua D. Drake wrote: Agreed. Someone's going to step up and patch this, no? (Not me --- I've already wasted more hours than I could afford this week on plperl.) We can do it, but it will have to be after thanksgiving. Humor the Canadian ... when is Thanksgiving? :)

Re: [Plperlng-devel] Re: [HACKERS] Concern about new PL/Perl

2004-11-16 Thread Josh Berkus
Andrew, Peter, It seems that in the new PL/Perl, the result of the spi_exec_query function changes in meaning depending on the command.  For a SELECT, the value of $res-{rows} is a reference to an array of the result rows. For a different command $res-{rows} is a scalar