Re: Name proliferation in functions with OUT parameters

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: Name proliferation in functions with OUT parameters
Дата
Msg-id 464188D2.9030706@postgresql.org
обсуждение исходный текст
Ответ на Name proliferation in functions with OUT parameters  (Erwin Brandstetter <brandstetter@falter.at>)
Ответы Re: Name proliferation in functions with OUT parameters  (Erwin Brandstetter <brandstetter@falter.at>)
Список pgadmin-hackers
Erwin Brandstetter wrote:
> This example finally works as it should. You get the idea ...
> Names of OUT parameters are "shifted" to unnamed IN parameters, one
> after the other.

Hi Erwin,

I rewrote all the code that handles that in SVN trunk the other day - I
just ran all your tests through it and it seems fine now. The problem
was that the old code was written originally to handle just datatypes,
which then had modes and later names added to the existing strings. The
code parsed and analysed each string to death to figure out how to
render the controls on the dialog. To complicate matters, EDB stored
procedures use different ordering for the elements as well!

The browser code was rewritten a while back, which made it *vastly* more
robust and significantly less complex, and the dialog was done last
week. We now keep a set of 3 arrays to track the data.

http://svn.pgadmin.org/cgi-bin/viewcvs.cgi?rev=6259&view=rev
http://svn.pgadmin.org/cgi-bin/viewcvs.cgi?rev=6014&view=rev

Thanks for the bug report though! I'll post a new snapshot soon and mail
the list so you can be using more up to date code.

Regards, Dave

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

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: build environment
Следующее
От: Guillaume Lelarge
Дата:
Сообщение: Re: build environment