Re: query builder / system objects
От | efesar |
---|---|
Тема | Re: query builder / system objects |
Дата | |
Msg-id | NGBBKFMOILMAGDABPFEGAEINDMAA.efesar@nmia.com обсуждение исходный текст |
Ответ на | query builder / system objects (efesar <efesar@nmia.com>) |
Список | pgadmin-hackers |
correction relowner > 1 instead of >=1 // We need to know if we're going to show system objects wxString sysobjstr; if (!settings->GetShowSystemObjects()) sysobjstr = " AND relowner > 1 "; -----Original Message----- From: efesar [mailto:efesar@nmia.com] Sent: Monday, March 03, 2003 5:18 PM To: pgadmin-hackers Subject: query builder / system objects dave, pga3 question i can tell system columns easily (and hopefully correctly): // We need to know if we're going to show system objects wxString sysobjstr; if (!settings->GetShowSystemObjects()) sysobjstr = " WHERE attnum >= 0 "; but is this an adequate way to check for system tables/views? this is what i'm using now. // We need to know if we're going to show system objects wxString sysobjstr; if (!settings->GetShowSystemObjects()) sysobjstr = " AND relowner >= 1 "; the other way i was going to do it was if the first three letters are "PG_" but maybe you have a more correct way of doing this. -keith
В списке pgadmin-hackers по дате отправления: