postgresql
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| postgresql [2026/06/14 12:36] – [Installation] jhagstrand | postgresql [2026/07/31 05:32] (current) – [Use] jhagstrand | ||
|---|---|---|---|
| Line 12: | Line 12: | ||
| \c myapp | \c myapp | ||
| CREATE EXTENSION postgis; | CREATE EXTENSION postgis; | ||
| + | |||
| + | |||
| + | ===== Use ===== | ||
| + | |||
| + | psql -U voyccom_jhagstrand -d voyccom_mai | ||
| + | (password is in .pgpass) | ||
| + | | ||
| + | \h list SQL commands | ||
| + | \? list psql commands | ||
| + | \dt list tables in public schema | ||
| + | | ||
| + | SELECT * FROM information_schema.tables WHERE table_schema = ' | ||
| + | | ||
| + | SELECT column_name, | ||
| + | | ||
| + | select table_schema, | ||
postgresql.1781455014.txt.gz · Last modified: 2026/06/14 12:36 by jhagstrand