pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <hlinnakangas@vmware.com>
To: Jan-Peter.Seifert@gmx.de
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #7820: Extension uuid-ossp cannot be installed on Windows - getting syntax error
Date: Tue, 22 Jan 2013 15:37:34 +0200
Message-ID: <50FE961E.3030307@vmware.com> (raw)
In-Reply-To: <E1TxdxE-0001nb-04@wrigleys.postgresql.org>
References: <E1TxdxE-0001nb-04@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On 22.01.2013 15:31, Jan-Peter.Seifert@gmx.de wrote:
> The statement:
> 'CREATE EXTENSION uuid-ossp'
>
> just gives me a syntax error:
>
> ERROR:  syntax error at or near "-"
> LINE 1: CREATE EXTENSION uuid-ossp
>                               ^
> ********** Fehler **********
>
> ERROR: syntax error at or near "-"
> SQL Status:42601
> Zeichen:22
>
> Obviously "CREATE EXTENSION" expects underscores instead of hyphens.

Try:

CREATE EXTENSION "uuid-ossp"

- Heikki


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (7+ messages)  latest in thread

Message-ID: <50FE961E.3030307@vmware.com>
Permalink:  ../50FE961E.3030307@vmware.com/
Also on:    postgresql.org/message-id/50FE961E.3030307@vmware.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: hlinnakangas@vmware.com, Jan-Peter.Seifert@gmx.de
  Subject: Re: BUG #7820: Extension uuid-ossp cannot be installed on Windows - getting syntax error
  In-Reply-To: <50FE961E.3030307@vmware.com>
  References: <E1TxdxE-0001nb-04@wrigleys.postgresql.org> <50FE961E.3030307@vmware.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox