Re: New line for stored procedure parameters?

Поиск
Список
Период
Сортировка
От Guillaume Lelarge
Тема Re: New line for stored procedure parameters?
Дата
Msg-id CAECtzeVk8_4yZA=2b_-9Apsvs5kMHmUQ=qLnxGUkDB+EXrMRgQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: New line for stored procedure parameters?  (David G Johnston <david.g.johnston@gmail.com>)
Список pgadmin-support
2014-08-08 23:19 GMT+02:00 David G Johnston <david.g.johnston@gmail.com>:
inspector morse wrote
> I have a stored procedure with several input/output parameters (about 50
> of
> them). Everytime I go to edit the stored procedure in pgAdmin3, it prints
> all of the parameters in the same line...even if I last saved it with new
> lines. This makes it really difficult to see the parameter list as I have
> to scroll horizontally.
>
> Is there a setting I can set in pgAdmin3 so it keeps my formatting...or at
> least prints each parameter in a new line instead of printing all of them
> horizontally?

There is no way for it to know what you did last time - while the body of
your function is stored as-is the various parts of the CREATE FUNCTION
statement are parsed and stored into the database catalogs.  pgAdmin then
queries those catalogs and recreates - in a canonical form - the command.

It would be possible for pgAdmin to toggle between "all on one line" and
"one line per parameter" but I am unsure if that is something it can
currently do.


It cannot.  And I'm not sure this is something we'd like to add.


--

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

Предыдущее
От: David G Johnston
Дата:
Сообщение: Re: New line for stored procedure parameters?
Следующее
От: Enrico Maria Crisostomo
Дата:
Сообщение: Re: pgAdmin3 @1.18.1_1 UI problems