pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Devrim GUNDUZ <devrim@gunduz.org>
To: PostgreSQL Mailing Lists-SQL <pgsql-sql@postgresql.org>
Subject: What am I doing wrong in here?
Date: Sat, 27 Dec 2003 17:12:58 +0200 (EET)
Message-ID: <Pine.LNX.4.44.0312271557410.26555-100000@emo.org.tr> (raw)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi,

I'm tyring to create a new table/database/user; and I get some errors.

I'm running:

postgres@[local]:template1=# SELECT version();
                                                version                                                                                 
- -------------------------------------------------------------------------------------------------------
 PostgreSQL 7.4 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 3.3.2 
20031022 (Red Hat Linux 3.3.2-1)

which has been installed using Lamar's RPMS.

Here is set of commands:
=========================================================
CREATE USER tdmsoftmailserveruser 
	WITH ENCRYPTED PASSWORD 'test'
	NOCREATEDB NOCREATEUSER;

CREATE DATABASE tdmsoftmailserver
	WITH ENCODING 'LATIN5' 
	OWNER=tdmsoftmailserveruser;

\c tdmsoftmailserver tdmsoftmailserveruser

CREATE TABLE public.tdmalias (
  mid serial,
  address varchar(255) NOT NULL default '' PRIMARY KEY,
  goto text NOT NULL,
  domain varchar(255) NOT NULL default '',
  create_date timestamp NOT NULL DEFAULT 'NOW',
  change_date timestamp NOT NULL DEFAULT 'NOW',
  active int2 NOT NULL default '1'
 );
============================

And I get:

NOTICE:  CREATE TABLE will create implicit sequence "tdmalias_mid_seq" for 
"serial" column "tdmalias.mid"
ERROR:  permission denied for schema pg_catalog


Google'd a bit; but could not find a solution for that.

Is is something with schemas?

Regards,
- -- 
Devrim GUNDUZ	       
devrim@gunduz.org				devrim.gunduz@linux.org.tr 
			http://www.TDMSoft.com
			http://www.gunduz.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/7aF+tl86P3SPfQ4RAtC7AJ974H/j5rWlTYP32De+LYLgEb2GmgCePZFW
QHbdSSw9OKvY0cF/nYbUM5g=
=3jq0
-----END PGP SIGNATURE-----




view thread (9+ messages)  latest in thread

Message-ID: <Pine.LNX.4.44.0312271557410.26555-100000@emo.org.tr>
Permalink:  ../Pine.LNX.4.44.0312271557410.26555-100000@emo.org.tr/
Also on:    postgresql.org/message-id/Pine.LNX.4.44.0312271557410.26555-100000@emo.org.tr

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: devrim@gunduz.org
  Subject: Re: What am I doing wrong in here?
  In-Reply-To: <Pine.LNX.4.44.0312271557410.26555-100000@emo.org.tr>
  References: <Pine.LNX.4.44.0312271557410.26555-100000@emo.org.tr>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox