Re: multiline PL/Python function fails in *.sql

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: multiline PL/Python function fails in *.sql
Дата
Msg-id 352.1070467627@sss.pgh.pa.us
обсуждение исходный текст
Ответ на multiline PL/Python function fails in *.sql  (Wolfgang Rohdewald <wolfgang@rohdewald.de>)
Список pgsql-novice
Wolfgang Rohdewald <wolfgang@rohdewald.de> writes:
> but multiline only works when using psql interactively.

I'm not much of a Python user, but doesn't Python think that leading
whitespace (particularly tabs) is significant?  You may be losing
tabs if psql tries to take them as completion commands.

            regards, tom lane

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