Re: when does CREATE VIEW not create a view?

Поиск
Список
Период
Сортировка
От Brook Milligan
Тема Re: when does CREATE VIEW not create a view?
Дата
Msg-id 200008222021.OAA06596@biology.nmsu.edu
обсуждение исходный текст
Ответ на Re: when does CREATE VIEW not create a view?  ("Mark Hollomon" <mhh@nortelnetworks.com>)
Ответы Re: when does CREATE VIEW not create a view?  ("Ross J. Reedstrom" <reedstrm@rice.edu>)
Список pgsql-hackers
   This is probably wrong, but could it be the length of the name?
  Try replacing 'english' with some other seven letters e.g.  precipitation_abdefgh_verify

Good guess, but I'm still confused.  precipitation_abcdefgh_verify
does not work; precipitation_abcdef_verify does.  The latter is 27
characters.  I thought identifiers could be 32 before truncation
occurred (and for tables the name is just truncated anyway but
otherwise unchanged).

Does the backend add something to a view identifier to push it over 32
characters?  Is that added as a prefix or a suffix?  If the latter,
perhaps it should be a prefix?  Or is the problem with the select rule
formed by CREATE VIEW?  If the latter, should there be different
truncation rules for view names than for table names so that the
associated rule and table names have the appropriate relationship?

Cheers,
Brook


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

Предыдущее
От: "Ross J. Reedstrom"
Дата:
Сообщение: Re: Re: [GENERAL] +/- Inf for float8's
Следующее
От: "Ross J. Reedstrom"
Дата:
Сообщение: Re: when does CREATE VIEW not create a view?