Обсуждение: how to change line terminator

Поиск
Список
Период
Сортировка

how to change line terminator

От
Siddharth Saha
Дата:
how to change line terminator/delimiter. Currently for me it is semicolon. So when I am writing a function on the CLI, it stops when encountering a semicolon in a statement like

 val := 1;

before the function end.

-Siddharth

Re: how to change line terminator

От
Bruce Momjian
Дата:
Siddharth Saha wrote:
> how to change line terminator/delimiter. Currently for me it is semicolon.
> So when I am writing a function on the CLI, it stops when encountering a
> semicolon in a statement like
>
>  val := 1;
>
> before the function end.

The entire function body needs to be in a quoted block, or $$.  Can you
show us the command and error?

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + None of us is going to be here forever. +