pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
how to install pgcrypto
4+ messages / 3 participants
[nested] [flat]

* how to install pgcrypto
@ 2018-08-03 08:53  Ze Victor Harry <assayabadi@gmail.com>
  0 siblings, 2 replies; 4+ messages in thread

From: Ze Victor Harry @ 2018-08-03 08:53 UTC (permalink / raw)
  To: pgsql-general

 hello again I have a small problem here can someone tell me briefly how to
do it? I am getting this error When I give ant fresh_install it gives error
PostgreSQL 'pgcrypto' extension installed /up to date? False (not
installed) Create extension pgcrypto
<https://stackoverflow.com/questions/45408745/when-i-give-ant-fresh-install-it-gives-error-postgresql...;
.
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
# 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

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

* RE: how to install pgcrypto
@ 2018-08-03 09:21  Charles Clavadetscher <clavadetscher@swisspug.org>
  parent: Ze Victor Harry <assayabadi@gmail.com>
  1 sibling, 1 reply; 4+ messages in thread

From: Charles Clavadetscher @ 2018-08-03 09:21 UTC (permalink / raw)
  To: 'Ze Victor Harry' <assayabadi@gmail.com>; pgsql-general

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

 

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

* Re: how to install pgcrypto
@ 2018-08-03 09:31  Tim Clarke <tim.clarke@minerva-analytics.info>
  parent: Ze Victor Harry <assayabadi@gmail.com>
  1 sibling, 0 replies; 4+ messages in thread

From: Tim Clarke @ 2018-08-03 09:31 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org

The psql command is a client - an "interactive terminal". It provides a
command-line version of pgAdmin.

See here for other client applications:

    https://www.postgresql.org/docs/10/static/reference-client.html

The "create extension..." command is one that you give to either psql or
pgAdmin; they execute it against the current database.

Tim Clarke


On 03/08/18 09:53, Ze Victor Harry wrote:
> hello again I have a small problem here can someone tell me briefly
> how to do it? I am getting this error 
>
>
>   When I give ant fresh_install it gives error PostgreSQL 'pgcrypto'
>   extension installed /up to date? False (not installed) Create
>   extension pgcrypto
>   <https://stackoverflow.com/questions/45408745/when-i-give-ant-fresh-install-it-gives-error-postgresql...;.
>
> 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|
> |# Enable the pgcrypto extension on ||this| |database|
> |CREATE EXTENSION pgcrypto;|
>  but where I got confused is from where do I run these commands.is
> <http://commands.is/> it from cmd? or in pgadmin query tool? I need
> clearly articulated  steps
>

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

* RE: how to install pgcrypto
@ 2018-08-03 15:32  Charles Clavadetscher <clavadetscher@swisspug.org>
  parent: Charles Clavadetscher <clavadetscher@swisspug.org>
  0 siblings, 0 replies; 4+ messages in thread

From: Charles Clavadetscher @ 2018-08-03 15:32 UTC (permalink / raw)
  To: 'Ze Victor Harry' <assayabadi@gmail.com>; +Cc: pgsql-general

CCing list.

 

From: Charles Clavadetscher [mailto:clavadetscher@swisspug.org] 
Sent: Freitag, 3. August 2018 17:20
To: 'Ze Victor Harry' <assayabadi@gmail.com>
Subject: RE: how to install pgcrypto

 

Hi

 

From: Ze Victor Harry [mailto:assayabadi@gmail.com] 
Sent: Freitag, 3. August 2018 17:11
To: Charles Clavadetscher <clavadetscher@swisspug.org <mailto:clavadetscher@swisspug.org> >
Subject: Re: how to install pgcrypto

 

hello again  Charles Clavadetscher 

how many hours does it take to complete ant fresh_install

it has been 4 hrs since i have started it but it is still not finished.I am using fast broadband internet(25 MB/s).is something wrong or is usually like that?



 

 

Well, to install PostgreSQL itself goes quickly. I can’t tell you exactly how long, but it is a matter of minutes.

In the screenshot that you sent, it looks like you are downloading a file, probably with data used by the appication installed in c:\dspace\webapps.

I assume that this is what is taking time, depending on how big the data is.

 

You may ask the developers of the web application on that. This is hardly a database question.

 

BTW: do not top post when responding on the list and, since you are starting a new topic (the pgcrypto installation of the subject is solved), you should start a new thread, so that other people may look at it.

 

Regards

Charles

 

On Fri, Aug 3, 2018 at 2:19 PM, Charles Clavadetscher <clavadetscher@swisspug.org <mailto:clavadetscher@swisspug.org> > wrote:

Hi

 

From: Ze Victor Harry [mailto:assayabadi@gmail.com <mailto:assayabadi@gmail.com> ] 
Sent: Freitag, 3. August 2018 12:53
To: Charles Clavadetscher <clavadetscher@swisspug.org <mailto:clavadetscher@swisspug.org> >
Subject: Re: how to install pgcrypto

 

 




Thanx  Charles Clavadetsche


 I am installing dspace in windows 10 and I created the extension by going to OBJECT->CREATE->EXTENSION and created pgcrypto successfully that is what I have been asking and it is working fine. am I welcome to ask further questions on the installation though i am new to this kind of installation?

 

Of course. That’s the reason of existence of this mailing list.

 

On Fri, Aug 3, 2018 at 12:21 PM, Charles Clavadetscher <clavadetscher@swisspug.org <mailto:clavadetscher@swisspug.org> > wrote:

Hi

 

From: Ze Victor Harry [mailto:assayabadi@gmail.com <mailto:assayabadi@gmail.com> ] 
Sent: Freitag, 3. August 2018 10:54
To: pgsql-general@postgresql.org <mailto: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

 

 

 

Attachments:

image001.png (image/png, 72.5K) download view image
^ permalink raw reply [nested|flat] 4+ messages in thread


end of thread, other threads:[~2018-08-03 15:32 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-08-03 08:53 how to install pgcrypto Ze Victor Harry <assayabadi@gmail.com>
2018-08-03 09:21 ` Charles Clavadetscher <clavadetscher@swisspug.org>
2018-08-03 15:32   ` Charles Clavadetscher <clavadetscher@swisspug.org>
2018-08-03 09:31 ` Tim Clarke <tim.clarke@minerva-analytics.info>

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