Re: documentation issue - extensions - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: documentation issue - extensions
Date
Msg-id CAFj8pRCmCzJ+kikGBhM5j6zYzs444xSr0Q3xqmyOzAWjm==ivw@mail.gmail.com
Whole thread Raw
In response to Re: documentation issue - extensions  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: documentation issue - extensions
List pgsql-hackers
2011/12/7 Tom Lane <tgl@sss.pgh.pa.us>:
> 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.
>

it was tested on 9.1.1
>                        regards, tom lane


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: const correctness
Next
From: Tom Lane
Date:
Subject: Re: documentation issue - extensions