Search Postgresql Archives

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2014-12-01 16:20:54 +0100, Misa Simic wrote:
> 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...

I suggest running postgres under valgrind - it tends to be very useful
to analyze problems like this. To do so run valgrind like
valgrind --suppress
valgrind \
    --suppressions=/path/to/source/postgresql/src/tools/valgrind.supp \
    --trace-children=yes --track-origins=yes --read-var-info=yes \
    /path/to/postgres/install/bin/postgres -D ...

You should compile postgres with --enable-cassert to debug.

> Other wierd thing problem hapens just if input parametar length is 200-255.
> 256 work fine.

That sounds a bit like it might be toast related. Maybe plv8's parameter
handling isn't entirely correct?

Greetings,

Andres Freund

-- 
 Andres Freund	                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux