Browse Source

PSQL information

master 20201009
Julio Biason 4 years ago
parent
commit
f9ec9247a3
  1. 1
      .gitignore
  2. 9
      content/research/psql.md
  3. 10
      content/research/psql/show-database.md
  4. 10
      content/research/psql/show-schemas.md
  5. 10
      content/research/psql/show-tables.md
  6. 10
      content/research/psql/use-database.md

1
.gitignore vendored

@ -1,2 +1,3 @@
*.sw? *.sw?
public/* public/*
tags

9
content/research/psql.md

@ -0,0 +1,9 @@
+++
title = "psql"
weight = 112
+++
- [Show databases](@/research/psql/show-database.md)
- [Use database](@/research/psql/use-database.md)
- [Show schemas](@/research/psql/show-schemas.md)
- [Show tables](@/research/psql/show-tables.md)

10
content/research/psql/show-database.md

@ -0,0 +1,10 @@
+++
title = "PSQL: Show database"
[taxonomies]
tags = ["research", "postgresql", "psql", "database"]
+++
```
\dt
```

10
content/research/psql/show-schemas.md

@ -0,0 +1,10 @@
+++
title = "PSQL: Show Schemas"
[taxonomies]
tags = ["research", "postgresql", "psql", "schemas"]
+++
```
\dn
```

10
content/research/psql/show-tables.md

@ -0,0 +1,10 @@
+++
title = "PSQL: Show Tables"
[taxonomies]
tags = ["research", "postgresql", "psql", "tables"]
+++
```
\dt
```

10
content/research/psql/use-database.md

@ -0,0 +1,10 @@
+++
title = "PSQL: Use Database"
[taxonomies]
tags = ["research", "postgresql", "psql", "database"]
+++
```
\c [database_name]
```
Loading…
Cancel
Save