pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Re: Pgcrypto (PostgreSQL 10) on Debain 9?
6+ messages / 5 participants
[nested] [flat]

* Pgcrypto (PostgreSQL 10) on Debain 9?
@ 2018-02-06 12:37 Thiemo Kellner <thiemo@gelassene-pferde.biz>
  2018-02-06 12:31 ` Re: Pgcrypto (PostgreSQL 10) on Debain 9? Magnus Hagander <magnus@hagander.net>
  0 siblings, 1 reply; 6+ messages in thread

From: Thiemo Kellner @ 2018-02-06 12:37 UTC (permalink / raw)
  To: pgsql-general <pgsql-general@lists.postgresql.org>

Hi all

I use Debian Strech (9) with PostgreSQL repository (as described on  
https://wiki.postgresql.org/wiki/Apt). I would like to use pgcrypto or  
uuid-ossp but to the contrary of 9.x there is no contribution package  
for 10 so neither of the modules is installable. What did I miss?

Kind regards

Thiemo

-- 
Öffentlicher PGP-Schlüssel:  
http://pgp.mit.edu/pks/lookup?op=get&search=0x8F70EFD2D972CBEF

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Pgcrypto (PostgreSQL 10) on Debain 9?
  2018-02-06 12:37 Pgcrypto (PostgreSQL 10) on Debain 9? Thiemo Kellner <thiemo@gelassene-pferde.biz>
@ 2018-02-06 12:31 ` Magnus Hagander <magnus@hagander.net>
  2018-02-06 13:25   ` Re: Pgcrypto (PostgreSQL 10) on Debain 9? Thiemo Kellner, NHC Barhufpflege <thiemo.kellner@gelassene-pferde.biz>
  0 siblings, 1 reply; 6+ messages in thread

From: Magnus Hagander @ 2018-02-06 12:31 UTC (permalink / raw)
  To: Thiemo Kellner <thiemo@gelassene-pferde.biz>; +Cc: pgsql-general <pgsql-general@lists.postgresql.org>

On Tue, Feb 6, 2018 at 1:37 PM, Thiemo Kellner <thiemo@gelassene-pferde.biz>
wrote:

> Hi all
>
> I use Debian Strech (9) with PostgreSQL repository (as described on
> https://wiki.postgresql.org/wiki/Apt). I would like to use pgcrypto or
> uuid-ossp but to the contrary of 9.x there is no contribution package for
> 10 so neither of the modules is installable. What did I miss?
>

pgcrypto and uuid-ossp are both in the core package for PostgreSQL 10.


-- 
 Magnus Hagander
 Me: https://www.hagander.net/ <http://www.hagander.net/;
 Work: https://www.redpill-linpro.com/ <http://www.redpill-linpro.com/;

^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Pgcrypto (PostgreSQL 10) on Debain 9?
  2018-02-06 12:37 Pgcrypto (PostgreSQL 10) on Debain 9? Thiemo Kellner <thiemo@gelassene-pferde.biz>
  2018-02-06 12:31 ` Re: Pgcrypto (PostgreSQL 10) on Debain 9? Magnus Hagander <magnus@hagander.net>
@ 2018-02-06 13:25   ` Thiemo Kellner, NHC Barhufpflege <thiemo.kellner@gelassene-pferde.biz>
  2018-02-06 15:58     ` Re: Pgcrypto (PostgreSQL 10) on Debain 9? Raymond O'Donnell <rod@iol.ie>
  0 siblings, 1 reply; 6+ messages in thread

From: Thiemo Kellner, NHC Barhufpflege @ 2018-02-06 13:25 UTC (permalink / raw)
  To: pgsql-general <pgsql-general@lists.postgresql.org>

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());


-- 
+49 (0)1578-772 37 37
+41 (0)78 947 36 21
Öffentlicher PGP-Schlüssel:  
http://pgp.mit.edu/pks/lookup?op=get&search=0x8F70EFD2D972CBEF

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Pgcrypto (PostgreSQL 10) on Debain 9?
  2018-02-06 12:37 Pgcrypto (PostgreSQL 10) on Debain 9? Thiemo Kellner <thiemo@gelassene-pferde.biz>
  2018-02-06 12:31 ` Re: Pgcrypto (PostgreSQL 10) on Debain 9? Magnus Hagander <magnus@hagander.net>
  2018-02-06 13:25   ` Re: Pgcrypto (PostgreSQL 10) on Debain 9? Thiemo Kellner, NHC Barhufpflege <thiemo.kellner@gelassene-pferde.biz>
@ 2018-02-06 15:58     ` Raymond O'Donnell <rod@iol.ie>
  2018-02-07 05:06       ` Re: Pgcrypto (PostgreSQL 10) on Debain 9? Michael Paquier <michael.paquier@gmail.com>
  2018-02-07 07:17       ` Re: [solved] Pgcrypto (PostgreSQL 10) on Debain 9? Thiemo Kellner <thiemo@gelassene-pferde.biz>
  0 siblings, 2 replies; 6+ messages in thread

From: Raymond O'Donnell @ 2018-02-06 15:58 UTC (permalink / raw)
  To: Thiemo Kellner, NHC Barhufpflege <thiemo.kellner@gelassene-pferde.biz>; pgsql-general <pgsql-general@lists.postgresql.org>

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




^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Pgcrypto (PostgreSQL 10) on Debain 9?
  2018-02-06 12:37 Pgcrypto (PostgreSQL 10) on Debain 9? Thiemo Kellner <thiemo@gelassene-pferde.biz>
  2018-02-06 12:31 ` Re: Pgcrypto (PostgreSQL 10) on Debain 9? Magnus Hagander <magnus@hagander.net>
  2018-02-06 13:25   ` Re: Pgcrypto (PostgreSQL 10) on Debain 9? Thiemo Kellner, NHC Barhufpflege <thiemo.kellner@gelassene-pferde.biz>
  2018-02-06 15:58     ` Re: Pgcrypto (PostgreSQL 10) on Debain 9? Raymond O'Donnell <rod@iol.ie>
@ 2018-02-07 05:06       ` Michael Paquier <michael.paquier@gmail.com>
  1 sibling, 0 replies; 6+ messages in thread

From: Michael Paquier @ 2018-02-07 05:06 UTC (permalink / raw)
  To: Raymond O'Donnell <rod@iol.ie>; +Cc: Thiemo Kellner, NHC Barhufpflege <thiemo.kellner@gelassene-pferde.biz>; pgsql-general <pgsql-general@lists.postgresql.org>

On Tue, Feb 06, 2018 at 03:58:14PM +0000, Raymond O'Donnell wrote:
> On 06/02/18 13:25, Thiemo Kellner, NHC Barhufpflege wrote:
>> 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>;

For gen_random_uuid(), you need to enable pgcrypto:
create extension pgcrypto;
For a couple of other UUID-related functions, you need to enable
uuid-ossp:
create extension "uuid-ossp";
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: [solved] Pgcrypto (PostgreSQL 10) on Debain 9?
  2018-02-06 12:37 Pgcrypto (PostgreSQL 10) on Debain 9? Thiemo Kellner <thiemo@gelassene-pferde.biz>
  2018-02-06 12:31 ` Re: Pgcrypto (PostgreSQL 10) on Debain 9? Magnus Hagander <magnus@hagander.net>
  2018-02-06 13:25   ` Re: Pgcrypto (PostgreSQL 10) on Debain 9? Thiemo Kellner, NHC Barhufpflege <thiemo.kellner@gelassene-pferde.biz>
  2018-02-06 15:58     ` Re: Pgcrypto (PostgreSQL 10) on Debain 9? Raymond O'Donnell <rod@iol.ie>
@ 2018-02-07 07:17       ` Thiemo Kellner <thiemo@gelassene-pferde.biz>
  1 sibling, 0 replies; 6+ messages in thread

From: Thiemo Kellner @ 2018-02-07 07:17 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org

Zitat von Raymond O'Donnell <rod@iol.ie>:

> Only a guess, but maybe you need to install the extension first? -
>
>    create extension <whatever>;

Thanks, right guess as I figured out yesterday evening after reading  
not only the module portion but the introduction to the modules. I  
also was mislead by the fact that those went into core in version 10.

Greetings to Galway (where I spent preparations for my CAE) from  
Bannholz at the Hochrhein

-- 
Öffentlicher PGP-Schlüssel:  
http://pgp.mit.edu/pks/lookup?op=get&search=0x8F70EFD2D972CBEF

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2018-02-07 07:17 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-02-06 12:37 Pgcrypto (PostgreSQL 10) on Debain 9? Thiemo Kellner <thiemo@gelassene-pferde.biz>
2018-02-06 12:31 ` Magnus Hagander <magnus@hagander.net>
2018-02-06 13:25   ` Thiemo Kellner, NHC Barhufpflege <thiemo.kellner@gelassene-pferde.biz>
2018-02-06 15:58     ` Raymond O'Donnell <rod@iol.ie>
2018-02-07 05:06       ` Michael Paquier <michael.paquier@gmail.com>
2018-02-07 07:17       ` Thiemo Kellner <thiemo@gelassene-pferde.biz>

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