Postgres: Difference between revisions

From bibbleWiki
Jump to navigation Jump to search
Created page with "=Introduction= This is a page for keeping track of using postgres =Install= Nice and easy lemon squeezy <syntaxhighlight "bash"> sudo apt install postgresql postgresql-contrib..."
 
No edit summary
Line 6: Line 6:
sudo apt install postgresql postgresql-contrib
sudo apt install postgresql postgresql-contrib
</syntaxhighlight>
</syntaxhighlight>
=Getting to CLI=
Login and envoke the CLI
<syntaxhighlight "bash">
sudo -i -u postgres
psql
</syntaxhighlight>
And..
<syntaxhighlight "psql">
\q
</syntaxhighlight>
=Create Super User=

Revision as of 06:27, 12 June 2021

Introduction

This is a page for keeping track of using postgres

Install

Nice and easy lemon squeezy

sudo apt install postgresql postgresql-contrib

Getting to CLI

Login and envoke the CLI

sudo -i -u postgres
psql

And..

\q

Create Super User