From: Charles Clavadetscher <clavadetscher@swisspug.org>
To: 'Ze Victor Harry' <assayabadi@gmail.com>
To: pgsql-general@postgresql.org
Subject: RE: how to install pgcrypto
Date: Fri, 3 Aug 2018 11:21:53 +0200
Message-ID: <02dd01d42b0b$7126f480$5374dd80$@swisspug.org> (raw)
In-Reply-To: <CAPR6t4=S7rK9RyVAitzF2HD-RDCjFJN0+4zUViBt_vx5iLM5Ow@mail.gmail.com>
References: <CAPR6t4=S7rK9RyVAitzF2HD-RDCjFJN0+4zUViBt_vx5iLM5Ow@mail.gmail.com>
Hi
From: 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
<https://stackoverflow.com/questions/45408745/when-i-give-ant-fresh-install-it-gives-error-postgresql...; 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
# Login to your "dspace" database as a superuser
psql --username=postgres 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 <http://commands.is/; commands.is it from cmd? or in pgadmin query tool? I need clearly articulated steps
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: clavadetscher@swisspug.org, assayabadi@gmail.com
Subject: Re: how to install pgcrypto
In-Reply-To: <02dd01d42b0b$7126f480$5374dd80$@swisspug.org>
References: <CAPR6t4=S7rK9RyVAitzF2HD-RDCjFJN0+4zUViBt_vx5iLM5Ow@mail.gmail.com> <02dd01d42b0b$7126f480$5374dd80$@swisspug.org>
* 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