postgresql
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| postgresql [2026/07/31 05:30] – [Installation] jhagstrand | postgresql [2026/07/31 05:32] (current) – [Use] jhagstrand | ||
|---|---|---|---|
| Line 16: | Line 16: | ||
| ===== Use ===== | ===== Use ===== | ||
| - | # list tables | + | psql -U voyccom_jhagstrand -d voyccom_mai |
| - | select | + | (password is in .pgpass) |
| + | |||
| + | \h list SQL commands | ||
| + | \? list psql commands | ||
| + | \dt list tables | ||
| + | |||
| + | SELECT | ||
| + | |||
| + | SELECT column_name, | ||
| + | |||
| + | select table_schema, | ||
postgresql.txt · Last modified: 2026/07/31 05:32 by jhagstrand