documentation issue - extensions

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема documentation issue - extensions
Дата
Msg-id CAFj8pRAFEQ4EpqyyOObeSCPuZ9XTBTbScYakzH2B0SDzWVrMxQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: documentation issue - extensions  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hello

I am trying to create simple extension according to doc
http://www.postgresql.org/docs/9.1/interactive/extend-extensions.html

I have a problem with line that contains backslash statement

-- complain if script is sourced in psql, rather than via CREATE
EXTENSION
\echo Use "CREATE EXTENSION pair" to load this file. \quit

this content causes a error

postgres=# create extension gdlib;
ERROR:  syntax error at or near "\"

without this line extension is created fine.

Is documentation correct?

Regards

Pavel


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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: Inlining comparators as a performance optimisation
Следующее
От: Marti Raudsepp
Дата:
Сообщение: Re: Configuration include directory