Re: Win32 version question - Mailing list pgsql-hackers

From Merlin Moncure
Subject Re: Win32 version question
Date
Msg-id 6EE64EF3AB31D5448D0007DD34EEB34101AEA5@Herge.rcsinc.local
Whole thread Raw
In response to Win32 version question  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
List pgsql-hackers
> Does the win32 build have a pg_tablespace table? are there any rows in
> it?
>
> Was thinking the combination of the two queries would be able to
> determine table space support in some fashion:
>
> select * from pg_class where relnamespace = (select oid from
> pg_namespace where nspname = 'pg_catalog') and relname =
> 'pg_tablespace';
>
> select count(*) from pg_tablespace ;

select count(*) from pg_tablespace;
works normally, but you can do something like this:

You can do this:
test=# create tablespace ts location 'c:/temp';
ERROR:  tablespaces are not supported on this platform
test=#



pgsql-hackers by date:

Previous
From: Robert Treat
Date:
Subject: Re: Win32 version question
Next
From: Mark Kirkwood
Date:
Subject: Re: Compile Failue on win32 - pipe.c using ereport