Re: documentation issue - extensions

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: documentation issue - extensions
Date: 2011-12-07 20:17:44
Message-ID: CAFj8pRCmCzJ+kikGBhM5j6zYzs444xSr0Q3xqmyOzAWjm==ivw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2011/12/7 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>:
> Pavel Stehule <pavel(dot)stehule(at)gmail(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2011-12-07 20:35:48 Re: documentation issue - extensions
Previous Message Peter Eisentraut 2011-12-07 19:48:57 Re: const correctness