Skip to content

Instantly share code, notes, and snippets.

@anuriq
Created May 14, 2019 14:52
Show Gist options
  • Save anuriq/f3dfd576400bed4168f2b000d821fc2d to your computer and use it in GitHub Desktop.
Save anuriq/f3dfd576400bed4168f2b000d821fc2d to your computer and use it in GitHub Desktop.
psql -h 89.208.87.38 -U admin -d myproddb
Password for user admin:
psql (11.1, server 10.7)
Type "help" for help.
myproddb=> CREATE TABLE log (event_id integer NOT NULL);
CREATE TABLE
myproddb=> INSERT INTO log VALUES (1),(2),(3);
INSERT 0 3
myproddb=> SELECT * FROM log;
event_id
----------
1
2
3
(3 rows)
myproddb=>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment