Unix Technical Forum

Re: postgres 8.3 (Centos 5.1) create tablespace problem

This is a discussion on Re: postgres 8.3 (Centos 5.1) create tablespace problem within the pgsql Novice forums, part of the PostgreSQL category; --> "Nicholas Hemley" <nic.hemley@sidonis.com> writes: > I am trying to create a new tablespace using postgres 8.3 (Centos 5.1) and ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Novice

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 10:51 PM
Tom Lane
 
Posts: n/a
Default Re: postgres 8.3 (Centos 5.1) create tablespace problem

"Nicholas Hemley" <nic.hemley@sidonis.com> writes:
> I am trying to create a new tablespace using postgres 8.3 (Centos 5.1) and
> am getting a permissions problem when trying to do so.


You didn't say exactly what happens, so this is just a guess, but seeing
that it's Centos I'm going to guess that you're being tripped up by
SELinux. SELinux puts more permissions restrictions on daemon processes
(such as the postmaster) than exist for interactive shell sessions.
What you need to do is give the desired tablespace directory the same
SELinux context (see ls -Z) that the $PGDATA directory has, not just
the same ownership and permissions.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:02 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com