From: | Robert Voinea <robert(dot)voinea(at)topex(dot)ro> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: Server crash when using dblink_build_sql_* after alter table |
Date: | 2010-06-14 11:15:09 |
Message-ID: | 201006141415.09471.robert.voinea@topex.ro |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
On Friday 11 June 2010 17:21:28 Tom Lane wrote:
> Robert Voinea <robert(dot)voinea(at)topex(dot)ro> 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 not provided sufficient information to let
> someone else reproduce it. If you're unclear on what a complete bug
> report requires, see
> http://www.postgresql.org/docs/8.4/static/bug-reporting.html
>
> regards, tom lane
Sorry about that. I wrote the mail in a hurry.
OS: Linux
Postgres Versions: 8.4.2 -- 8.4.4
Kernels
Linux vr 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 22:02:19 UTC 2010 i686
GNU/Linux
PostgreSQL 8.4.4
Linux topex_server 2.6.31-gentoo-r2 #1 SMP Tue Oct 13 15:48:58 EEST 2009 i686
Intel(R) Xeon(R) CPU E5504 @ 2.00GHz GenuineIntel GNU/Linux
PostgreSQL 8.4.4
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 varchar column and an int
column. Then use dblink_build_sql_update.
I am yet to identify the crash scenario...
I hope this helps...
--
Robert Voinea <robert (dot) voinea (at) topex (dot) ro>
Software Developer
Phone: +40 21 408 38 00 / ext. 343
Fax: +40 21 408 38 08
Local time: GMT+2
http://www.topex.ro
Attachment | Content-Type | Size |
---|---|---|
postgresql-2010-06-14_110014.log | text/x-log | 2.4 KB |
dblink_test.log | text/x-log | 1.3 KB |
dblink_test_server.log | text/x-log | 1.3 KB |
dblink_test.sql | text/x-sql | 444 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2010-06-14 17:36:27 | Re: Server crash when using dblink_build_sql_* after alter table |
Previous Message | Prasad DVN | 2010-06-14 08:42:16 | Re: nmsbdmgr doesnt start |