Re: Pgcrypto (PostgreSQL 10) on Debain 9?

From: Raymond O'Donnell <rod(at)iol(dot)ie>
To: "Thiemo Kellner, NHC Barhufpflege" <thiemo(dot)kellner(at)gelassene-pferde(dot)biz>, pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Pgcrypto (PostgreSQL 10) on Debain 9?
Date: 2018-02-06 15:58:14
Message-ID: 81228511-72f3-ab97-1402-61d4409b1bbf@iol.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 06/02/18 13:25, Thiemo Kellner, NHC Barhufpflege wrote:
> Zitat von Magnus Hagander <magnus(at)hagander(dot)net>:
>
>> On Tue, Feb 6, 2018 at 1:37 PM, Thiemo Kellner
>> <thiemo(at)gelassene-pferde(dot)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(at)iol(dot)ie

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message George Neuner 2018-02-06 16:13:08 Re: Regex Replace with 2 conditions
Previous Message David G. Johnston 2018-02-06 15:52:45 Re: Regex Replace with 2 conditions