以下の内容はhttps://shuzo-kino.hateblo.jp/entry/2015/08/13/235515より取得しました。


psqlの-cオプションなら、ワンライナー程度の内容なら確認できる

psqlの-cオプションなら、ワンライナー程度の内容なら確認することができます。

$ psql mydb -c "select city from weather"
     city      
---------------
 San Francisco
(1 row)

例の魔界めいたバックスラッシュ記法も。とりあえず確認するときには有効ですね

$ psql mydb -c "\d"
           List of relations
 Schema |  Name   | Type  |   Owner    
--------+---------+-------+------------
 public | cities  | table | shuzo_kino
 public | weather | table | shuzo_kino
(2 rows)

$ psql mydb -c "\d weather"
           Table "public.weather"
 Column  |         Type          | Modifiers 
---------+-----------------------+-----------
 city    | character varying(80) | 
 temp_lo | integer               | 
 temp_hi | integer               | 
 prcp    | real                  | 
 date    | date                  | 



以上の内容はhttps://shuzo-kino.hateblo.jp/entry/2015/08/13/235515より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14