Difference between revisions of "--"

From wikieduonline
Jump to navigation Jump to search
(Created page with " sudo -u postgres -- bash -c "psql -c 'CREATE database tsdb'" sudo -u postgres -- bash -c "psql tsdb -c 'CREATE EXTENSION IF NOT EXISTS timescaledb;'" EOF")
 
Line 1: Line 1:
  
  
  [[sudo -u postgres]] -- bash -c "psql -c 'CREATE database tsdb'"
+
  [[sudo -u postgres]] -- bash -c "psql -c 'CREATE database [[tsdb]]'"
  sudo -u postgres -- bash -c "psql tsdb -c 'CREATE EXTENSION IF NOT EXISTS timescaledb;'"
+
  sudo -u postgres -- bash -c "psql tsdb -c 'CREATE EXTENSION IF NOT EXISTS [[timescaledb]];'"
  
  
  
 
[[EOF]]
 
[[EOF]]

Revision as of 16:09, 2 February 2023


sudo -u postgres -- bash -c "psql -c 'CREATE database tsdb'"
sudo -u postgres -- bash -c "psql tsdb -c 'CREATE EXTENSION IF NOT EXISTS timescaledb;'"


EOF

Advertising: