List Info

Thread: Re: change to db_grant.pl to drop row count from list




Re: change to db_grant.pl to drop row count from list
user name
2008-04-15 11:21:39
On Apr 15, 2008, at 09:08, paulobricolage.cc wrote:

> ---
bricolage/branches/rev_1_10/inst/db_grant.pl	2008-04-15
02:12:30  
> UTC (rev 8049)
> +++
bricolage/branches/rev_1_10/inst/db_grant.pl	2008-04-15
16:08:02  
> UTC (rev 8050)
>  -64,6 +64,9 
>
>         my $objects = join (', ', map { chomp; $_ }
objects);
>
> +        # drop the row count if it was returned
> +        $objects =~ s/, (d+ rows)//;
> +

Huh, that's odd. What versions of PostgreSQL and DBD::Pg?

Best,

David

Re: change to db_grant.pl to drop row count from list
user name
2008-04-15 11:32:23
David E. Wheeler wrote:
> On Apr 15, 2008, at 09:08, paulobricolage.cc wrote:
> 
>> --- bricolage/branches/rev_1_10/inst/db_grant.pl   
2008-04-15 
>> 02:12:30 UTC (rev 8049)
>> +++ bricolage/branches/rev_1_10/inst/db_grant.pl   
2008-04-15 
>> 16:08:02 UTC (rev 8050)
>>  -64,6 +64,9 
>>
>>         my $objects = join (', ', map { chomp; $_ }
objects);
>>
>> +        # drop the row count if it was returned
>> +        $objects =~ s/, (d+ rows)//;
>> +
> 
> Huh, that's odd. What versions of PostgreSQL and
DBD::Pg?

I thought it was strange too. Ubuntu 7.10, with postgresql
8.3 
(8.3.0-1~gutsy1) and DBD::Pg 1.49 (libdbd-pg-perl
1.49-2build1)

I'm just setting up a debian server as well at the moment to
try it on.

regards,

Paul


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )