Re: PG94RC1- plv8 functions - problem with input parameter length - Mailing list pgsql-general

From Adrian Klaver
Subject Re: PG94RC1- plv8 functions - problem with input parameter length
Date
Msg-id 547C8C5C.4040706@aklaver.com
Whole thread Raw
In response to Re: PG94RC1- plv8 functions - problem with input parameter length  (Misa Simic <misa.simic@gmail.com>)
List pgsql-general
On 12/01/2014 07:20 AM, Misa Simic wrote:
>
>

>     --
>     Adrian Klaver
>     adrian.klaver@aklaver.com
>
>
> Thanks Adrian,
>
> Not sure any more where problem could be....
>
> We have just found that it creates problems on machines with ubuntu
> 14.10 (pg94rc1) - we have tried to install 14.10 in different
> environments (cloud, xen, virtual box) - and everywhere problems happens...
>
> Other wierd thing problem hapens just if input parametar length is
> 200-255. 256 work fine.

Another thought. The above looks like the parameter is hitting a limit
within a byte and them when it gets big enough another byte is
allocated. If that is the case you should see the issue crop up again at
the 400-510 range.

Along this line what encoding are you using?

>
> We have noticed that other versions of pg (i.e 9.3, 94beta1) what work
> fine are on different version of ubuntu. So we have tried pg94rc1 on
> ubuntu 14.04 - and work fine...
>
> We haven't tried other OS...
>
> Thanks,
> Misa
>
>


--
Adrian Klaver
adrian.klaver@aklaver.com


pgsql-general by date:

Previous
From: lin
Date:
Subject: The file of toc.dat (got by using the command: pg_dump -Fd ) may be need to have readability
Next
From: Adrian Klaver
Date:
Subject: Re: The file of toc.dat (got by using the command: pg_dump -Fd ) may be need to have readability