Re: What is the point of create or replace view command

Поиск
Список
Период
Сортировка
От Chris Velevitch
Тема Re: What is the point of create or replace view command
Дата
Msg-id b0a3bf780606042221g629b0553wc3436074fb54a955@mail.gmail.com
обсуждение исходный текст
Ответ на Re: What is the point of create or replace view command  (brian ally <brian@zijn-digital.com>)
Ответы Re: What is the point of create or replace view command  (Joe Conway <mail@joeconway.com>)
Список pgsql-general
On 6/5/06, brian ally wrote:
> Chris Velevitch wrote:
> > Yes, please, what is point of CREATE OR REPLACE FUNCTION, when it
> > doesn't let you change the function's parameter list or result type?
>
> The way that user-created functions work allows one to have the same
> function name with different numbers & types of parameters. Thus, you
> must specify the param list when replacing.

Ok, so postgres allows function overloading. That makes that if you
need to change the parameter list or result type, so you need to drop
the function to change teh parameter list or result type.

But what about my original question?

     "What is the point of the create or replace view command if you
can't change the
     column and data types?"


Chris
--
Chris Velevitch
Manager - Sydney Flash Platform Developers Group
www.flashdev.org.au

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

Предыдущее
От: Tim Allen
Дата:
Сообщение: Re: What is the point of create or replace view command
Следующее
От: Joe Conway
Дата:
Сообщение: Re: What is the point of create or replace view command