pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Raymond O'Donnell <rod@iol.ie>
To: Thiemo Kellner, NHC Barhufpflege <thiemo.kellner@gelassene-pferde.biz>
To: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: Re: Pgcrypto (PostgreSQL 10) on Debain 9?
Date: Tue, 6 Feb 2018 15:58:14 +0000
Message-ID: <81228511-72f3-ab97-1402-61d4409b1bbf@iol.ie> (raw)
In-Reply-To: <20180206142542.37157bn9dk8l0u0w@www.gelassene-pferde.biz>
References: <20180206133742.17283hkc1u6gaew4@www.gelassene-pferde.biz>
	<CABUevEy_cR_eg1jgf0241AL-h7h6xC715K8_7KGY_KhGbP9+Xg@mail.gmail.com>
	<20180206142542.37157bn9dk8l0u0w@www.gelassene-pferde.biz>

On 06/02/18 13:25, Thiemo Kellner, NHC Barhufpflege wrote:
> Zitat von Magnus Hagander <magnus@hagander.net>:
> 
>> On Tue, Feb 6, 2018 at 1:37 PM, Thiemo Kellner 
>> <thiemo@gelassene-pferde.biz>
>> wrote:
>>
>> pgcrypto and uuid-ossp are both in the core package for PostgreSQL 10.
> 
> So, I take the documentation would be outdated?
> 
> But why do I get following error?
> ERROR: function gen_random_uuid() does not exist.
> create table ENTITY (ID uuid not null default gen_random_uuid());

Only a guess, but maybe you need to install the extension first? -

    create extension <whatever>;

Ray.

-- 
Raymond O'Donnell :: Galway :: Ireland
rod@iol.ie




view thread (6+ messages)  latest in thread

Message-ID: <81228511-72f3-ab97-1402-61d4409b1bbf@iol.ie>
Permalink:  ../81228511-72f3-ab97-1402-61d4409b1bbf@iol.ie/
Also on:    postgresql.org/message-id/81228511-72f3-ab97-1402-61d4409b1bbf@iol.ie

 · 

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-general@postgresql.org
  Cc: rod@iol.ie, thiemo.kellner@gelassene-pferde.biz
  Subject: Re: Pgcrypto (PostgreSQL 10) on Debain 9?
  In-Reply-To: <81228511-72f3-ab97-1402-61d4409b1bbf@iol.ie>
  References: <20180206133742.17283hkc1u6gaew4@www.gelassene-pferde.biz> <CABUevEy_cR_eg1jgf0241AL-h7h6xC715K8_7KGY_KhGbP9+Xg@mail.gmail.com> <20180206142542.37157bn9dk8l0u0w@www.gelassene-pferde.biz> <81228511-72f3-ab97-1402-61d4409b1bbf@iol.ie>

* 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