Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 9D0D9634CA6 for ; Mon, 3 Aug 2009 19:03:12 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 87915-05 for ; Mon, 3 Aug 2009 22:03:02 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from out01.mta.xmission.com (out01.mta.xmission.com [166.70.13.231]) by mail.postgresql.org (Postfix) with ESMTP id 1F401633F68 for ; Mon, 3 Aug 2009 19:03:02 -0300 (ADT) Received: from in02.mta.xmission.com ([166.70.13.52]) by out01.mta.xmission.com with esmtp (Exim 4.62) (envelope-from ) id 1MY5ci-0008Ly-II; Mon, 03 Aug 2009 16:03:16 -0600 Received: from [208.187.158.94] (helo=[172.16.1.221]) by in02.mta.xmission.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1MY5cR-00082V-8a; Mon, 03 Aug 2009 16:02:59 -0600 Message-ID: <4A775E91.4090608@gmail.com> Date: Mon, 03 Aug 2009 16:02:57 -0600 From: Rob Sargent User-Agent: Thunderbird 2.0.0.22 (X11/20090608) MIME-Version: 1.0 To: Venkateswara Rao Bondada CC: "pgsql-sql@postgresql.org" References: <22640DE58AF78445BA8AB69FF76F07321AA2C20BAB@BLRKECMBX01.ad.infosys.com> In-Reply-To: <22640DE58AF78445BA8AB69FF76F07321AA2C20BAB@BLRKECMBX01.ad.infosys.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-XM-SPF: eid=; ; ; mid=; ; ; hst=in02.mta.xmission.com; ; ; ip=208.187.158.94; ; ; frm=robjsargent@gmail.com; ; ; spf=neutral X-SA-Exim-Connect-IP: 208.187.158.94 X-SA-Exim-Rcpt-To: Venkateswara_B@infosys.com, pgsql-sql@postgresql.org, robjsargent@gmail.com X-SA-Exim-Mail-From: robjsargent@gmail.com X-Spam-DCC: XMission; sa03 1397; Body=1 Fuz1=1 Fuz2=1 X-Spam-Combo: ;Venkateswara Rao Bondada X-Spam-Relay-Country: Subject: Re: Create table command fails with permission denied X-SA-Exim-Version: 4.2.1 (built Thu, 25 Oct 2007 00:26:12 +0000) X-SA-Exim-Scanned: Yes (on in02.mta.xmission.com) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.185 tagged_above=-10 required=5 tests=BAYES_40=-0.185 X-Spam-Level: X-Archive-Number: 200908/10 X-Sequence-Number: 32919 Looks to me as though you are not the owner of the schema nor superuser nor in a role with permission to create tables in said schema. See the DBA if it's not you. If it is sign on as postgres (superuser) and grant yourself some access rights. Venkateswara Rao Bondada wrote: > > Hi, > > I’m new to PostgreSQL, and currently facing an issue with PostgreSQL > 7.4 database. I’m getting the following error when tried to create a > table. Please let me know the steps (with queries) that I should take > care to resolve this issue. > > cms=# create table test(id character varying(80)); > > ERROR: could not create relation "test": Permission denied > > Thanks in advance, > > Venkat >