mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-24 08:52:15 +02:00
update postgres
This commit is contained in:
parent
3605c31dc2
commit
4a344737b5
@ -22,12 +22,14 @@ postgres:
|
||||
```bash
|
||||
$ docker-compose up -d
|
||||
|
||||
$ docker-compose exec postgres psql postgres
|
||||
$ docker-compose exec postgres psql -U root postgres
|
||||
>>> SELECT CURRENT_TIMESTAMP;
|
||||
now
|
||||
-------------------------------
|
||||
2016-12-07 01:44:29.872928+00
|
||||
(1 row)
|
||||
|
||||
>>> \?
|
||||
>>> \d
|
||||
>>> \q
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user