Re: PG94RC1- plv8 functions - problem with input parameter length

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Misa Simic <misa(dot)simic(at)gmail(dot)com>
Cc: pgsql <pgsql-general(at)postgresql(dot)org>
Subject: Re: PG94RC1- plv8 functions - problem with input parameter length
Date: 2014-12-01 15:42:20
Message-ID: 547C8C5C.4040706@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 12/01/2014 07:20 AM, Misa Simic wrote:
>
>

> --
> Adrian Klaver
> adrian(dot)klaver(at)aklaver(dot)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(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2014-12-01 15:45:20 Re: The file of toc.dat (got by using the command: pg_dump -Fd ) may be need to have readability
Previous Message lin 2014-12-01 15:35:34 The file of toc.dat (got by using the command: pg_dump -Fd ) may be need to have readability