Re: [HACKERS] odd error creating index in -current...

From: "Vadim B(dot) Mikheev" <vadim(at)sable(dot)krasnoyarsk(dot)su>
To: The Hermit Hacker <scrappy(at)hub(dot)org>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] odd error creating index in -current...
Date: 1998-02-20 05:38:26
Message-ID: 34ED16D2.FD0D4100@sable.krasnoyarsk.su
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

The Hermit Hacker wrote:
>
> 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
^^^
??? NOT NULL appeared in 6.2...

6.3:
vac=> CREATE TABLE groups (
vac-> id CHAR(10) NOT NULL,
vac-> detail CHAR(30)
vac-> ) \g
CREATE
vac=>
vac=> CREATE INDEX groups_indx ON groups ( id ) \g
CREATE
vac=>
vac=> INSERT INTO groups (id, detail) VALUES ('PTS','PTS Development')\g
INSERT 43725 1

Vadim

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Vadim B. Mikheev 1998-02-20 05:39:46 Re: [HACKERS] Another one I thought should work...
Previous Message The Hermit Hacker 1998-02-20 05:35:13 Re: [HACKERS] odd error creating index in -current...