From: | Jasmin Dizdarevic <jasmin(dot)dizdarevic(at)gmail(dot)com> |
---|---|
To: | pgadmin-hackers(at)postgresql(dot)org |
Subject: | Fwd: Foreign Table without options |
Date: | 2011-06-16 16:50:03 |
Message-ID: | BANLkTimrOt9BP8HzOHPXORVxSCv5Y=mvkA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
here's the patch.
---------- Forwarded message ----------
From: Jasmin Dizdarevic <jasmin(dot)dizdarevic(at)gmail(dot)com>
Date: 2011/6/16
Subject: Foreign Table without options
To: pgadmin-hackers(at)postgresql(dot)org
There is a Problem in "void pgForeignTable::iSetOptions(const wxString
&tmpoptions)" when tmpoptions is empty (no options specified during creation
of FT) we're running into an infinite loop.
I would like to provide a patch, but currently I've some troubles with my
local branches ;)
Could somebody add
if(tmpoptions == wxT(""))
return;
on top of the method.
Tested with 1.14 Beta 2
Attachment | Content-Type | Size |
---|---|---|
0001-Fix-infinite-loop-when-foreign-table-has-no-options-.patch | application/octet-stream | 822 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Guillaume Lelarge | 2011-06-16 19:37:06 | pgAdmin III commit: Fix infinite loop when decoding options |
Previous Message | Jasmin Dizdarevic | 2011-06-16 16:45:25 | Re: wrong sql code for fk covering index |