Re: [ADMIN] Server crash when using dblink_build_sql_* after alter table

2010-06-16 Thread Robert Voinea
On Tuesday 15 June 2010 23:31:26 Tom Lane wrote: > Robert Voinea writes: > >>> The problem is that after I update a table whenever I use a function > >>> that makes use of dblink_build_sql the server crashes. > > FYI, I've committed patches to deal with this and some related issues. > Thank you

Re: [ADMIN] Server crash when using dblink_build_sql_* after alter table

2010-06-15 Thread Tom Lane
Robert Voinea writes: >>> The problem is that after I update a table whenever I use a function that >>> makes use of dblink_build_sql the server crashes. FYI, I've committed patches to deal with this and some related issues. regards, tom lane -- Sent via pgsql-admin mai

Re: [ADMIN] Server crash when using dblink_build_sql_* after alter table

2010-06-14 Thread Tom Lane
Robert Voinea writes: > I attached the server log (for the crash case) and a test case with logs. > For that test case this is the error I get, no server crash. > ERROR: invalid memory alloc request size 4294967293 > The scenario is this: > Create a table, drop a column, any column then add a v

Re: [ADMIN] Server crash when using dblink_build_sql_* after alter table

2010-06-14 Thread Robert Voinea
On Friday 11 June 2010 17:21:28 Tom Lane wrote: > Robert Voinea writes: > > I have a development database that is altered a lot and a set of > > functions that make use of dblink_build_sql_*. > > The problem is that after I update a table whenever I use a function that > > makes use of dblink_buil

Re: [ADMIN] Server crash when using dblink_build_sql_* after alter table

2010-06-11 Thread Tom Lane
Robert Voinea writes: > I have a development database that is altered a lot and a set of functions > that make use of dblink_build_sql_*. > The problem is that after I update a table whenever I use a function that > makes use of dblink_build_sql the server crashes. This is a bug, but you have n

[ADMIN] Server crash when using dblink_build_sql_* after alter table

2010-06-11 Thread Robert Voinea
Hi I have the following issue: I have a development database that is altered a lot and a set of functions that make use of dblink_build_sql_*. The problem is that after I update a table whenever I use a function that makes use of dblink_build_sql the server crashes. The ALTER TABLE sequences u