Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1flWHp-0006s3-Tp for pgsql-general@arkaria.postgresql.org; Fri, 03 Aug 2018 09:22:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1flWHo-0000mM-2J for pgsql-general@arkaria.postgresql.org; Fri, 03 Aug 2018 09:22:16 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1flWHn-0000mF-QO for pgsql-general@lists.postgresql.org; Fri, 03 Aug 2018 09:22:15 +0000 Received: from aragorn.net-wizard.org ([138.201.127.29] helo=gandalf.net-wizard.org) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1flWHi-0008AG-Oj for pgsql-general@postgresql.org; Fri, 03 Aug 2018 09:22:13 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.net-wizard.org (Postfix) with ESMTP id 93B3780CDF; Fri, 3 Aug 2018 11:22:08 +0200 (CEST) X-Virus-Scanned: Gentoo amavisd-new at aragorn Received: from aragorn.net-wizard.org ([127.0.0.1]) by localhost (aragorn.net-wizard.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qhRRBTAgHJLu; Fri, 3 Aug 2018 11:22:04 +0200 (CEST) Received: from MTEC0211 (mtec-lee-dock-2-133.ethz.ch [129.132.6.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: clavadetscher@swisspug.org) by gandalf.net-wizard.org (Postfix) with ESMTPSA id 736B580CD0; Fri, 3 Aug 2018 11:22:00 +0200 (CEST) From: "Charles Clavadetscher" To: "'Ze Victor Harry'" , References: In-Reply-To: Subject: RE: how to install pgcrypto Date: Fri, 3 Aug 2018 11:21:53 +0200 Message-ID: <02dd01d42b0b$7126f480$5374dd80$@swisspug.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_02DE_01D42B1C.34AFC480" X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQJZWqBseSy/z4qYvm5woNHzlbXtLaOjYM0A Content-Language: de-ch List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multipart message in MIME format. ------=_NextPart_000_02DE_01D42B1C.34AFC480 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi =20 From: Ze Victor Harry [mailto:assayabadi@gmail.com]=20 Sent: Freitag, 3. August 2018 10:54 To: pgsql-general@postgresql.org Subject: how to install pgcrypto =20 hello again I have a small problem here can someone tell me briefly how = to do it? I am getting this error=20 = When I give ant = fresh_install it gives error PostgreSQL 'pgcrypto' extension installed = /up to date? False (not installed) Create extension pgcrypto. I have tried to look up for solutions and they all say I have to run a = command=20 # Login to your "dspace" database as a superuser psql --username=3Dpostgres dspace =20 With this command on the linux shell your run psql, which is the = PostgreSQL client that always is shipped with the server. In the psql shell you can then run the create extension command as = below. You may do this in PgAdmin (a graphical UI for Windows), too. =20 The whole point is that you must first log into the database as a = superuser before you install the extension. =20 Hope this helps. Bye Charles =20 # Enable the pgcrypto extension on this database CREATE EXTENSION pgcrypto; but where I got confused is from where do I run these = commands.is it from cmd? or in pgadmin query tool? = I need clearly articulated steps =20 ------=_NextPart_000_02DE_01D42B1C.34AFC480 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Hi

 

From:<= /b> Ze Victor = Harry [mailto:assayabadi@gmail.com]
Sent: Freitag, 3. August = 2018 10:54
To: pgsql-general@postgresql.org
Subject: = how to install pgcrypto

 

hello again I have a small problem here can = someone tell me briefly how to do it? I am getting this = error 

When I&nb= sp;give ant fresh_install it gives error PostgreSQL 'pgcrypto' extension = installed /up to date? False (not installed) Create = extension pgcrypto.

I have tried to look = up for solutions and they all say I have to run a = command 

# Login to = your "dspace" database as a superuser=

psql --username=3Dpostgres = dspace

 

With this command on the linux shell your run psql, = which is the PostgreSQL client that always is shipped with the = server.

In the psql shell you can then run the create = extension command as below.

You may do this in PgAdmin (a graphical UI for = Windows), too.

 

The whole point is that you must first log into the = database as a superuser before you install the = extension.

 

Hope this helps.

Bye

Charles

 

# Enable the pgcrypto extension = on this database=

CREATE EXTENSION = pgcrypto;=

 but where I got confused is from where = do I run these commands.is it from cmd? or in = pgadmin query tool? I need clearly articulated  = steps

 

------=_NextPart_000_02DE_01D42B1C.34AFC480--