Re: What's the CURRENT schema ?

Поиск
Список
Период
Сортировка
От Hiroshi Inoue
Тема Re: What's the CURRENT schema ?
Дата
Msg-id 3CAD05D5.15F34612@tpf.co.jp
обсуждение исходный текст
Ответ на Re: What's the CURRENT schema ?  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
Ответы Re: What's the CURRENT schema ?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> 
> Hiroshi Inoue <Inoue@tpf.co.jp> writes:
> > Oh I see but I think using the search SCHEMA path for
> > table name resolution is harmful.
> 
> Huh?  That's more or less the entire *point* of these changes, IMHO.
> What's harmful about having a search path?

I don't object to use a search path to resolve unqualified
function, type etc names. But it is very siginificant for
users to be able to be sure what tables they are handling.
Where's the necessity to use a common search path to resolve
table and other objects' name in the first place ? I don't
know any OS commands which use the command search path to
resolve ordinary file name.

We(at least I)'ve been often confused and damaged even when
using OS's command search path. Does the flexibilty worth
the risk ? The damage would be immeasurable if unexpected
tables are chosen. Would PostgreSQL be a dbms unavailable
for careless users like me ?

regards,
Hiroshi Inoue


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

Предыдущее
От: Thomas Lockhart
Дата:
Сообщение: Re: Changing column types...
Следующее
От: Tom Lane
Дата:
Сообщение: Sketch for nonunique searches in syscaches