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

Поиск
Список
Период
Сортировка
От pgsql-bugs@postgresql.org
Тема Bug #711: Automatic created indexes can in some cases not be referenced to
Дата
Msg-id 20020712111958.DCF8D47589D@postgresql.org
обсуждение исходный текст
Ответы Re: Bug #711: Automatic created indexes can in some cases not be referenced to  (Hugo Jonker <hugo@gewis.win.tue.nl>)
Re: Bug #711: Automatic created indexes can in some cases not be referenced to  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Lasse L. Johnsen (lassejohnsen@bulldogcommunications.com) reports a bug with a severity of 3
The lower the number the more severe it is.

Short Description
Automatic created indexes can in some cases not be referenced to

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. 

Sample Code
# CREATE TABLE WHOIS_BLOCK_TABLE_DATE (
#         BLOCK           SERIAL     UNIQUE,
#         CREATE          INT,            -- Timestamp
#         UPDATE          INT             -- Timestamp
# );
NOTICE:  CREATE TABLE will create implicit sequence 'whois_block_table_dat_block_seq' for SERIAL column
'whois_block_table_date.block'
NOTICE:  CREATE TABLE / UNIQUE will create implicit index 'whois_block_table_dat_block_key' for table
'whois_block_table_date'
CREATE
# GRANT ALL ON WHOIS_BLOCK_TABLE_DATE_BLOCK_SEQ TO freeipdb;
NOTICE:  identifier "whois_block_table_date_block_seq" will be truncated to "whois_block_table_date_block_se"
ERROR:  relation "whois_block_table_date_block_se" not found
#

No file was uploaded with this report

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: 7.2.1 backend crash (convert_string_datum, locale)
Следующее
От: Hugo Jonker
Дата:
Сообщение: Re: Bug #711: Automatic created indexes can in some cases not be referenced to