Re: documentation issue - extensions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: documentation issue - extensions
Дата
Msg-id 19693.1323275200@sss.pgh.pa.us
обсуждение исходный текст
Ответ на documentation issue - extensions  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: documentation issue - extensions  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
Pavel Stehule <pavel.stehule@gmail.com> writes:
> 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 "\"

Are you testing in an up-to-date server?  We added the ability to handle
that post-9.1.0.
        regards, tom lane


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

Предыдущее
От: Jaime Casanova
Дата:
Сообщение: Re: Measuring relation free space
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_restore --no-post-data and --post-data-only