Please find the modified patch with an option in Preferences for data sorting by the primary key. Also, the previous patch was not working with table has no primary key.
This patch is related to the default sort order for the view table data. In pgAdminIII default ordering is by primary key and this is not working in pgAdminIV.
Do I need to implement that really? I yes, Is preferences a good place for that? / Suggestions?
I think we should make this optional, and yes, Preferences is a good place. The reason is that sorting data is not without cost - at the very least it will require use of an index to access what may be the whole table.
--
Dave Page VP & Chief Architect, Database Infrastructure EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company