From 6121c6ac2942e9cb47e57c7ff6f787f1697823ab Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Tue, 13 Oct 2020 10:39:51 -0300 Subject: [PATCH] Corrected the PSQL notes --- config.toml | 1 + content/research/psql.md | 30 ++++++++++++++++++++++---- content/research/psql/show-database.md | 10 --------- content/research/psql/show-schemas.md | 10 --------- content/research/psql/show-tables.md | 10 --------- content/research/psql/use-database.md | 10 --------- 6 files changed, 27 insertions(+), 44 deletions(-) delete mode 100644 content/research/psql/show-database.md delete mode 100644 content/research/psql/show-schemas.md delete mode 100644 content/research/psql/show-tables.md delete mode 100644 content/research/psql/use-database.md diff --git a/config.toml b/config.toml index 4433e0f..4f2d033 100644 --- a/config.toml +++ b/config.toml @@ -47,6 +47,7 @@ menu_items = [ {url = "$BASE_URL/tags", name = "Tags (EN)"}, {url = "$BASE_URL/pt/tags", name = "Tags (PT)"}, {url = "$BASE_URL/quotes", name = "Quotes"}, + {url = "$BASE_URL/research", name = "Research Notes"}, ] after_dark_title = "JulioBiason.Net 4.1" enable_post_view_navigation = false diff --git a/content/research/psql.md b/content/research/psql.md index a1c0166..0e1b9bc 100644 --- a/content/research/psql.md +++ b/content/research/psql.md @@ -1,9 +1,31 @@ +++ title = "psql" weight = 112 + +[taxonomies] +tags = ["research", "postgresql", "psql", "database", "schema", "table"] +++ -- [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) +## Show Database + +``` +\l +``` + +## Use Database + +``` +\c [database_name] +``` + +## Show Schemas + +``` +\dn +``` + +## Show Tables + +``` +\dt +``` diff --git a/content/research/psql/show-database.md b/content/research/psql/show-database.md deleted file mode 100644 index 5d20eaa..0000000 --- a/content/research/psql/show-database.md +++ /dev/null @@ -1,10 +0,0 @@ -+++ -title = "PSQL: Show database" - -[taxonomies] -tags = ["research", "postgresql", "psql", "database"] -+++ - -``` -\dt -``` diff --git a/content/research/psql/show-schemas.md b/content/research/psql/show-schemas.md deleted file mode 100644 index 7d19902..0000000 --- a/content/research/psql/show-schemas.md +++ /dev/null @@ -1,10 +0,0 @@ -+++ -title = "PSQL: Show Schemas" - -[taxonomies] -tags = ["research", "postgresql", "psql", "schemas"] -+++ - -``` -\dn -``` diff --git a/content/research/psql/show-tables.md b/content/research/psql/show-tables.md deleted file mode 100644 index 7d5e253..0000000 --- a/content/research/psql/show-tables.md +++ /dev/null @@ -1,10 +0,0 @@ -+++ -title = "PSQL: Show Tables" - -[taxonomies] -tags = ["research", "postgresql", "psql", "tables"] -+++ - -``` -\dt -``` diff --git a/content/research/psql/use-database.md b/content/research/psql/use-database.md deleted file mode 100644 index 6950659..0000000 --- a/content/research/psql/use-database.md +++ /dev/null @@ -1,10 +0,0 @@ -+++ -title = "PSQL: Use Database" - -[taxonomies] -tags = ["research", "postgresql", "psql", "database"] -+++ - -``` -\c [database_name] -```