pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joshua D. Drake <jd@commandprompt.com>
To: Psql_General (E-mail) <pgsql-general@postgresql.org>
Subject: What is your psql tip?
Date: Thu, 1 Feb 2018 11:50:50 -0800
Message-ID: <19821dd8-b6e7-f743-b91f-55e89bf183e1@commandprompt.com> (raw)

Folks,

So today I was digging into the backend of PostgresConf.Org which runs 
on a highly modified version of OSEM (which is an awesome conference 
platform). I was very quickly losing my mind because the content in the 
public schema did not match what I was seeing on the website. I checked 
connection strings, looked for other databases in the cluster and I even 
checked to see if there was another version of PostgreSQL running. For 
the life of me, I couldn't figure out where the heck the data went. So 
here is my psql tip:

Remember \dn ....

My problem was that the latest version of the app actually runs within a 
schema titled postgresconf vs public. Of course what is worse is I 
remember requesting that to happen. That said, that is my psql tip for 
the day, remember to check things like \dn if you don't recall exactly 
where you may have put something!

Jolly Good,

JD

-- 
Command Prompt, Inc. || http://the.postgres.company/ || @cmdpromptinc

PostgreSQL centered full stack support, consulting and development.
Advocate: @amplifypostgres || Learn: https://postgresconf.org
*****     Unless otherwise stated, opinions are my own.   *****





Message-ID: <19821dd8-b6e7-f743-b91f-55e89bf183e1@commandprompt.com>
Permalink:  ../19821dd8-b6e7-f743-b91f-55e89bf183e1@commandprompt.com/
Also on:    postgresql.org/message-id/19821dd8-b6e7-f743-b91f-55e89bf183e1@commandprompt.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: jd@commandprompt.com
  Subject: Re: What is your psql tip?
  In-Reply-To: <19821dd8-b6e7-f743-b91f-55e89bf183e1@commandprompt.com>
  References: <19821dd8-b6e7-f743-b91f-55e89bf183e1@commandprompt.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