Re: upgrade from FC9 / PG8.3 to C7 / PG 9.6 - utf8

From: Gary Stainburn <gary(dot)stainburn(at)ringways(dot)co(dot)uk>
To: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: upgrade from FC9 / PG8.3 to C7 / PG 9.6 - utf8
Date: 2019-01-21 15:06:19
Message-ID: 201901211506.20023.gary.stainburn@ringways.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Monday 21 January 2019 15:03:23 Gary Stainburn wrote:
> After doing this the install worked perfectly. However, when I try to use
> the crypt() function I get the following error. I can't see what I've
> missed
>
> users=# select crypt('password','myhash');
> ERROR: function crypt(unknown, unknown) does not exist
> LINE 1: select crypt('password','myhash');
> ^
> HINT: No function matches the given name and argument types. You might
> need to add explicit type casts.
> users=#

Sory folks, just found the answer. I need to run

create extension pgcrypto;

in each of my databases

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Laurenz Albe 2019-01-21 15:44:51 Re: IO scheduler recommendation
Previous Message Gary Stainburn 2019-01-21 15:03:23 Re: upgrade from FC9 / PG8.3 to C7 / PG 9.6 - utf8