Skip site navigation (1) Skip section navigation (2)

Re: Bug #711: Automatic created indexes can in some cases not be referenced to

From: Hugo Jonker <hugo(at)gewis(dot)win(dot)tue(dot)nl>
To: lassejohnsen(at)bulldogcommunications(dot)com, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Bug #711: Automatic created indexes can in some cases not be referenced to
Date: 2002-07-12 12:02:57
Message-ID: 20020712140257.Y19515@gewis.win.tue.nl (view raw or flat)
Thread:
Lists: pgsql-bugs
On Fri, Jul 12, 2002 at 07:19:58AM -0400, pgsql-bugs(at)postgresql(dot)org wrote:
> Long Description
> It looks as if automatic created indexes can in some cases not be referenced to because long names are truncated. See example SQL statement below.

There's a typo in your statement.

The sequence name gets truncated to  'whois_block_table_dat_block_seq' 
instead of                           'whois_block_table_date_block_seq',
which is the name you're using in the GRANT statement.

See the two notices:
> NOTICE:  CREATE TABLE will create implicit sequence
 'whois_block_table_dat_block_seq'
	 for SERIAL column 'whois_block_table_date.block'
> NOTICE:  identifier
 "whois_block_table_date_block_seq" 
	will be truncated to "whois_block_table_date_block_se"

Hugo.

In response to

pgsql-bugs by date

Next:From: praveen vejandlaDate: 2002-07-12 13:23:50
Subject: getting only date
Previous:From: pgsql-bugsDate: 2002-07-12 11:19:58
Subject: Bug #711: Automatic created indexes can in some cases not be referenced to

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group