Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Novice > Re: postgres 8....
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 3014 of 3323
Post > Topic >>

Re: postgres 8.3 (Centos 5.1) create tablespace problem

by tgl@[EMAIL PROTECTED] (Tom Lane) Feb 27, 2008 at 10:33 AM

"Nicholas Hemley" <nic.hemley@[EMAIL PROTECTED]
> 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 owner****p 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
 




 1 Posts in Topic:
Re: postgres 8.3 (Centos 5.1) create tablespace problem
tgl@[EMAIL PROTECTED] (T  2008-02-27 10:33:43 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Dec 5 5:00:21 CST 2008.