473,405 Members | 2,300 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

postgreSQL user permission denied

Hi, all

I am new for psql and here is my problem.
I created a new psql user with no superuser no role creation and no DB creation. So when the new user tries to query a table and got:

postgis_test_db=> SELECT vessel_name, time, position FROM current_position;
postgis_test_db=> ERROR: permission denied for relation current_position


Any suggestions will be greatly appreciated

Yuan
Oct 25 '07 #1
1 25834
rski
700 Expert 512MB
Hi, all

I am new for psql and here is my problem.
I created a new psql user with no superuser no role creation and no DB creation. So when the new user tries to query a table and got:

postgis_test_db=> SELECT vessel_name, time, position FROM current_position;
postgis_test_db=> ERROR: permission denied for relation current_position


Any suggestions will be greatly appreciated

Yuan
User have no permittions for the table curent_position. Grant a select permission to this user .
Oct 26 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Klunk | last post by:
Hi, last week I moved the folder of my Intranet application to another disk of the same server. After this change all the ASP page return this error: Microsoft VBScript runtime error...
10
by: Anthony Best | last post by:
I'm working on an idea that uses sequences. I'm going to create a table like this: id serial, sequence int, keyword varchar(32), text text for every keyword there will be a uniq sequence...
2
by: Taishi | last post by:
New user of SQL Everything is on the same machine My error is close to the bottom After reading it today, I can see there is a problem with 2 dbases 'PUBS' and 'Master' There are also some...
1
by: Mr.KisS | last post by:
Hi, In my aspx page i use a stocked procedure and in this procedure, there is a SELECT query. And whene the aspx page calls the procedure i get this exception : ...
2
by: C G | last post by:
Dear All, I have a user_info table that has trigger which creates a user and switches session authorization to the new user, but it doesn't seem to work as I expect. I created the...
0
by: Francisco | last post by:
Getting recurring lines in log of ERROR: permission denied for relation logs Is there a way to tell from which DB this error is coming from? Or even what user? ...
2
by: Chris Green | last post by:
I have just installed Postgresql 7.3.4 on my slackware 9.1 system. The installation went fairly smoothly and the server process has started normally:- postgres 21027 20767 0 20:12 pts/5 ...
1
by: doctorhardik | last post by:
other interesting thing i observe during my work which i describe below: i am using dotproject2.0.4 on fc3. it is working fine. but i want to generate pdf file report during this time i face...
2
by: chris1611 | last post by:
hi, i started the postgresql client the first time and wanted to execute commands from file and got the following error code: \i x:\file.sql x:: Permission denied i have admin rights, so why?...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.