From f3714b25d3b2a5ba6d6b83bb8e3f965e448f9b02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CA=88=E1=B5=83=E1=B5=A2?= Date: Thu, 5 Aug 2021 18:53:01 -0700 Subject: [PATCH] docs: fix link and clarify postgres install instructions (#16101) --- docs/src/pages/docs/Connecting to Databases/index.mdx | 2 +- docs/src/pages/docs/Connecting to Databases/postgres.mdx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/src/pages/docs/Connecting to Databases/index.mdx b/docs/src/pages/docs/Connecting to Databases/index.mdx index 5d403074597fa..4460d5e4b1dfa 100644 --- a/docs/src/pages/docs/Connecting to Databases/index.mdx +++ b/docs/src/pages/docs/Connecting to Databases/index.mdx @@ -47,7 +47,7 @@ A list of some of the recommended packages. |[IBM Netezza Performance Server](/docs/databases/netezza)|```pip install nzalchemy```|```netezza+nzpy://:@/```| |[MySQL](/docs/databases/mysql)|```pip install mysqlclient```|```mysql://:@/```| |[Oracle](/docs/databases/oracle)|```pip install cx_Oracle```|```oracle://```| -|[PostgreSQL](/docs/databases/postgresql)|```pip install psycopg2```|```postgresql://:@/```| +|[PostgreSQL](/docs/databases/postgres)|```pip install psycopg2```|```postgresql://:@/```| |[Trino](/docs/databases/trino)|```pip install sqlalchemy-trino```|```trino://{username}:{password}@{hostname}:{port}/{catalog}```| |[Presto](/docs/databases/presto)|```pip install pyhive```|```presto://```| |[SAP Hana](/docs/databases/hana)|```pip install hdbcli sqlalchemy-hana or pip install apache-superset[hana]```|```hana://{username}:{password}@{host}:{port}```| diff --git a/docs/src/pages/docs/Connecting to Databases/postgres.mdx b/docs/src/pages/docs/Connecting to Databases/postgres.mdx index e62e02853c4b3..38f7a1d028dfb 100644 --- a/docs/src/pages/docs/Connecting to Databases/postgres.mdx +++ b/docs/src/pages/docs/Connecting to Databases/postgres.mdx @@ -8,8 +8,8 @@ version: 1 ## Postgres -Note that the Postgres connector library [psycopg2](https://www.psycopg.org/docs/) comes out of the -box with Superset. +Note that, if you're using docker-compose, the Postgres connector library [psycopg2](https://www.psycopg.org/docs/) +comes out of the box with Superset. Postgres sample connection parameters: