From 73aa34a17c31f3ed15980f2bd6609648a8e3bb81 Mon Sep 17 00:00:00 2001 From: GONG Jie Date: Sun, 31 Dec 2017 23:59:59 +0000 Subject: [PATCH] Remove trailing spaces in file docs/source/advanced/hierarchy/databases/postgres_tips.rst --- .../source/advanced/hierarchy/databases/postgres_tips.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/source/advanced/hierarchy/databases/postgres_tips.rst b/docs/source/advanced/hierarchy/databases/postgres_tips.rst index 82df8ac42..00d1ba886 100644 --- a/docs/source/advanced/hierarchy/databases/postgres_tips.rst +++ b/docs/source/advanced/hierarchy/databases/postgres_tips.rst @@ -9,13 +9,13 @@ Using PostgreSQL Use the psql command line utility to connect to the PostgreSQL database: :: su - postgres - psql -h -U xcatadm -d xcatdb + psql -h -U xcatadm -d xcatdb Useful Commands --------------- -* Show create statement for a table, for example prescripts table. :: +* Show create statement for a table, for example prescripts table. :: /usr/bin/pg_dump xcatdb -U xcatadm -t prescripts @@ -26,7 +26,7 @@ Useful Commands # drop the xcatdb dropdb xcatdb - # remove the xcatadm database owner + # remove the xcatadm database owner dropuser xcatadm # clean up the postgresql files (necessary if you want to re-create the database) @@ -38,7 +38,7 @@ Useful Commands su - postgres psql -l -* Access the database: :: +* Access the database: :: su - postgres psql xcatdb