Re: Starting with pl/pgsql..

Поиск
Список
Период
Сортировка
От Terry Yapt
Тема Re: Starting with pl/pgsql..
Дата
Msg-id 3D288EC9.C1651AFC@technovell.com
обсуждение исходный текст
Ответ на Starting with pl/pgsql..  (Terry Yapt <yapt@technovell.com>)
Ответы Re: Starting with pl/pgsql..  (Josh Jore <josh@greentechnologist.org>)
Список pgsql-novice
Only a note:
===========

Oracle do it without any problem... :-)  So because of that It is something normal for me...
In oracle you can looking for INVALID objects... In our example, function 'x' will be an invalid object..

Perhaps it is the solution for postgreSQL..

Thanks Josh and best regards..


Josh Jore wrote:
>
> You examine the oid attribute in the pg_class system table (from
> [hackers], this might not be valid advice past 7.3). This assumes you
> looked at the oid *before* deleting the table. This behaviour doesn't mean
> you have to track which things have which oid - what you suggested. It
> does mean you have to know that the function "x"(..,..) depends on the
> table "pepe". You should already know your application's dependancies
> to begin with. This isn't rocket science - either your developer documents
> the design or you inspect the source.
>
> Now... it would be *nice* if the symbols could be re-resolved as needed
> either as a manual or automatic process. I can dream can't I?
>
> Joshua b. Jore ; http://www.greentechnologist.org
>
> On Sat, 6 Jul 2002, Terry Yapt wrote:
>
> > Ok, I understand that (I imagined this behaviour also) but how can
> > locate what object oid is '16561' to re-create it ?  Are there any
> > system table to do it ?
> >
> > And why 'Select x(..,..) runs in pgadmin and not in psql ???????
> >
> > I think if I must to maintain an, external to pgsql, document with all
> > my objects references noted then I think pgsql development team have a
> > lot of work to do yet.  :-(
> >
> > Thanks Josh, best regards..
> >
> > PS: amusing self_confidence.jpg  <g>.



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

Предыдущее
От: Terry Yapt
Дата:
Сообщение: Re: how to change rows to columns and vice versa?
Следующее
От: Josh Jore
Дата:
Сообщение: Re: Starting with pl/pgsql..