Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group