documentation issue - extensions

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: documentation issue - extensions
Date: 2011-12-07 12:27:16
Message-ID: CAFj8pRAFEQ4EpqyyOObeSCPuZ9XTBTbScYakzH2B0SDzWVrMxQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Marti Raudsepp 2011-12-07 13:27:55 Re: Configuration include directory
Previous Message Peter Geoghegan 2011-12-07 11:57:08 Re: Inlining comparators as a performance optimisation