Changes between Version 136 and Version 137 of members/GRIP-UQAM
- Timestamp:
- May 11, 2016, 5:46:02 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
members/GRIP-UQAM
v136 v137 145 145 $ pg_restore --verbose --no-owner --no-privileges --dbname=<database name> <file name (.data)> 146 146 }}} 147 * Mark cache tables as {{{UNLOGGED}}} Postgres <= 9.4 (Debian 8.0 Jessie) 148 {{{#!sh 149 ...=> \d name 150 ... 151 ...=> CREATE UNLOGGED TABLE toto (id serial, ...); 152 }}} 153 * http://www.postgresql.org/docs/9.4/static/sql-createtable.html 154 * It is easier to get schema from pgAdmin III 155 * Mark cache tables as {{{UNLOGGED}}} Postgres >= 9.5 156 {{{#!sql 157 ALTER TABLE name SET UNLOGGED; 158 }}} 159 * http://www.postgresql.org/docs/current/static/sql-altertable.html 147 160 * {{{-E}}} or {{{--echo-hidden}}} See SQL requests send by {{{psql}}} for commands like {{{\l}}} ({{{\list}}}) 148 161 {{{#!sh