> 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=#