odd error creating index in -current...

From: The Hermit Hacker <scrappy(at)hub(dot)org>
To: pgsql-hackers(at)postgresql(dot)org
Subject: odd error creating index in -current...
Date: 1998-02-20 04:58:08
Message-ID: Pine.BSF.3.96.980220005044.226q-100000@thelab.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Someone want to tell me why the below CREATE INDEX fails?

I've tried everything I can think of, and can't get that INDEX to be
created :(

-- $Id: groups.psql,v 1.2 1997/08/14 20:05:08 shevett Exp $
-- postgresql 6.1
--
-- Host: localhost Database: pts
----------------------------------------------------------

--
-- Table structure for table 'groups'
--
CREATE TABLE groups (
id CHAR(10) NOT NULL,
detail CHAR(30)
) \g

CREATE INDEX groups_indx ON groups ( id ) \g

--
-- Dumping data for table 'groups'
--

INSERT INTO groups (id, detail) VALUES ('PTS','PTS Development')\g

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message The Hermit Hacker 1998-02-20 05:12:32 Another one I thought should work...
Previous Message Bruce Momjian 1998-02-20 04:14:42 Re: [HACKERS] atttypmod