here's the patch.

---------- Forwarded message ----------
From: Jasmin Dizdarevic <jasmin.dizdare...@gmail.com>
Date: 2011/6/16
Subject: Foreign Table without options
To: pgadmin-hackers@postgresql.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: 0001-Fix-infinite-loop-when-foreign-table-has-no-options-.patch
Description: Binary data

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

Reply via email to