Re: Patch: database version check - Mailing list pgadmin-hackers

From Quan Zongliang
Subject Re: Patch: database version check
Date
Msg-id 20090114103115.409B.4125B4E5@gmail.com
Whole thread Raw
In response to Re: Patch: database version check  ("Dave Page" <dpage@pgadmin.org>)
Responses Re: Patch: database version check  ("Dave Page" <dpage@pgadmin.org>)
List pgadmin-hackers
> Without the whole patch it's somewhat tricky to apply :-p
>
> I've manually hacked up something roughly equivalent and committed it.

The patch file has been attached. But that definition is strange.
So I tried to describe it.
After thought cursorily, I think minor-version + 1 is wrong.
(foolish man -.- )

Thanks for your right patch.

BTW:
With import function, some base class changed.
Two new methods: CanImport and CanExport added to pgObject class.
For pgTable, if it has column, both return true. If not, both return false.
For pgView, CanImport return false and CanExport return true.

As them are base class. Apply them now?

-----------------------------------------------
Quan Zongliang
quanzongliang@gmail.com
CIT Japan:  http://www.cit.co.jp
CIT China:  http://www.citbj.com.cn


pgadmin-hackers by date:

Previous
From: Quan Zongliang
Date:
Subject: Re: about new module to software
Next
From: "Dave Page"
Date:
Subject: Re: about new module to software