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  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
Re: Win32 version question  (Robert Treat <xzilla@users.sourceforge.net>)
Список 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 по дате отправления:

Предыдущее
От: Christopher Kings-Lynne
Дата:
Сообщение: Win32 version question
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Compile Failue on win32 - pipe.c using ereport