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: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers

I am trying to create simple extension according to doc

I have a problem with line that contains backslash statement

-- complain if script is sourced in psql, rather than via CREATE
\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?




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-2017 The PostgreSQL Global Development Group