Re: RFD: schemas and different kinds of Postgres objects

Поиск
Список
Период
Сортировка
От Bill Studenmund
Тема Re: RFD: schemas and different kinds of Postgres objects
Дата
Msg-id Pine.NEB.4.33.0201231606090.7050-100000@vespasia.home-net.internetconnect.net
обсуждение исходный текст
Ответ на Re: RFD: schemas and different kinds of Postgres objects  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Ответы Re: RFD: schemas and different kinds of Postgres objects
Список pgsql-hackers
On Wed, 23 Jan 2002, Stephan Szabo wrote:

> On Wed, 23 Jan 2002, Bill Studenmund wrote:
>
> > True. But:
> >
> > 1) How often are you going to make routines with names that duplicate
> > those in the system schema, when you don't want them to be used?
>
> Sure, you want them used when the arguments match, but what about when
> they don't exactly?
> If the system schema has foo(integer) and in my schema I make a new type
> and then make a type(integer) and foo(type), when I call foo(1), do I
> really mean do a coersion to my type and call foo(type)?

Yes, you did. The documentation said that that would happen, so since you
made the call ambiguous, you wanted the coercion to happen. Or at least
you weren't concerned that it might.

Take care,

Bill



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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: PostgreSQL crashes with Qmail-SQL
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: RFD: schemas and different kinds of Postgres objects