new patch for index DESC/NULLS FIRST/NULLS LAST

From: Quan Zongliang <quanzongliang(at)gmail(dot)com>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: new patch for index DESC/NULLS FIRST/NULLS LAST
Date: 2008-11-19 12:38:49
Message-ID: 20081119205556.4D98.4125B4E5@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

hi, all

new version Patch for TODO item:
- Add support for DESC/NULLS FIRST/NULLS LAST when creating indexes.

The Go method in dlgIndex seems clumsy. Maybe we need a new
pgIndexColumn class or another coding?

Now, OnAddCol, OnRemoveCol, GetColumns and OnChangeSize methods have
different vesion in dlgIndex and dlgIndexConstraint.

The OnChangeSize for Mac in dlgIndex rewrite to:
lstColumns->SetSize(wxDefaultCoord, wxDefaultCoord,
ev.GetSize().GetWidth(), ev.GetSize().GetHeight() - 800);
I don't know whether the size is right.

New method OnDescChange added to dlgIndex.

Please review.

-----------------------------------------------
Quan Zongliang
quanzongliang(at)gmail(dot)com
CIT Japan: http://www.cit.co.jp
CIT China: http://www.citbj.com.cn

Attachment Content-Type Size
supportdescv2.patch application/octet-stream 18.7 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Guillaume Lelarge 2008-11-19 22:33:03 Re: TODO List
Previous Message Dave Page 2008-11-18 14:53:23 Re: TODO List