Re: Win32 version question
От | Merlin Moncure |
---|---|
Тема | Re: Win32 version question |
Дата | |
Msg-id | 6EE64EF3AB31D5448D0007DD34EEB34101AE9F@Herge.rcsinc.local обсуждение исходный текст |
Ответ на | Win32 version question (Christopher Kings-Lynne <chriskl@familyhealth.com.au>) |
Ответы |
Re: Win32 version question
Re: Win32 version question |
Список | pgsql-hackers |
> In phpPgAdmin, I need to know if the backend supports tablespaces or > not. What is the most reliable way of detecting that the backend is the > win32 native version and hence does not support tablespaces? Version > string info? > > Or alternatively, what is the most direct way of detecting its presence > or absence, regardless of backend OS? Check the uptime...if it's greater than 7 days, it's not win32 :). Seriously, you can check the version() string. If it's got mingw init, it's win32 native. Merlin ------------------------------------------------------------------------ ---------------------------- ----PostgreSQL 7.5devel on i686-pc-mingw32, compiled by GCC gcc.exe (GCC) 3.2.3 mingw special 20030504 -1)
В списке pgsql-hackers по дате отправления: