pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: geoff hoffman <geoff@rxmg.com>
To: pgsql-general@postgresql.org
Subject: Re: Ensure extension exists
Date: Fri, 2 Feb 2018 12:40:53 -0700
Message-ID: <ADE97B56-0E01-4148-95C8-4774781E2DE7@rxmg.com> (raw)
In-Reply-To: <67cf532f-f608-a94e-757e-8a1ba928d0bd@2ndquadrant.com>
References: <E83F1C39-95BC-45C8-BBB1-E05C22C528A8@gmail.com>
	<67cf532f-f608-a94e-757e-8a1ba928d0bd@2ndquadrant.com>

On Feb 2, 2018, at 12:38 PM, Peter Eisentraut <peter.eisentraut@2ndquadrant.com> wrote:
> 
> On 2/1/18 19:47, Geoffrey Hoffman wrote:
>> I want to use the pgcrypto extension with a particular database. Does it exist permanently and survive a server reboot? Or if not, how do you ensure it runs when the server restarts?
> 
> Once an extension is installed, it stays installed, just like any other
> permanent database object such as tables and functions.
> 
>> I ask because in my Docker development environment I have to run it every time I restart the container, and just want to be prepared for production in AWS Aurora.
> 
> Maybe you have your development environment set up in a way that it
> blows away your database on each run.
> 

Yep, ok thanks for confirming!





view thread (3+ messages)

Message-ID: <ADE97B56-0E01-4148-95C8-4774781E2DE7@rxmg.com>
Permalink:  ../ADE97B56-0E01-4148-95C8-4774781E2DE7@rxmg.com/
Also on:    postgresql.org/message-id/ADE97B56-0E01-4148-95C8-4774781E2DE7@rxmg.com

 · 

reply

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: geoff@rxmg.com
  Subject: Re: Ensure extension exists
  In-Reply-To: <ADE97B56-0E01-4148-95C8-4774781E2DE7@rxmg.com>
  References: <E83F1C39-95BC-45C8-BBB1-E05C22C528A8@gmail.com> <67cf532f-f608-a94e-757e-8a1ba928d0bd@2ndquadrant.com> <ADE97B56-0E01-4148-95C8-4774781E2DE7@rxmg.com>

* 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