Re: Bug #711: Automatic created indexes can in some cases not be referenced to - Mailing list pgsql-bugs

From Hugo Jonker
Subject Re: Bug #711: Automatic created indexes can in some cases not be referenced to
Date
Msg-id 20020712140257.Y19515@gewis.win.tue.nl
Whole thread Raw
In response to Bug #711: Automatic created indexes can in some cases not be referenced to  (pgsql-bugs@postgresql.org)
List pgsql-bugs
On Fri, Jul 12, 2002 at 07:19:58AM -0400, pgsql-bugs@postgresql.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
exampleSQL 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.

pgsql-bugs by date:

Previous
From: pgsql-bugs@postgresql.org
Date:
Subject: Bug #711: Automatic created indexes can in some cases not be referenced to
Next
From: Andrew Kohlsmith
Date:
Subject: Re: pg_dumpall forces plain text format