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.