From bae4a8d2970ad263469cb3822e9785617d58cc36 Mon Sep 17 00:00:00 2001 From: Rollulus Date: Tue, 15 Aug 2023 10:08:29 +0200 Subject: [PATCH 1/2] docs: Reword phrase about pgx and multidimensional arrays --- docs/reference/datatypes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/datatypes.md b/docs/reference/datatypes.md index fa0809ed7a..10183f1aca 100644 --- a/docs/reference/datatypes.md +++ b/docs/reference/datatypes.md @@ -9,7 +9,7 @@ If you're unsatisfied with the default, you can override any type using the ## Arrays PostgreSQL [arrays](https://www.postgresql.org/docs/current/arrays.html) are -materialized as Go slices. Currently, the `pgx/v5` sql package only supports multidimensional arrays. +materialized as Go slices. Currently, only the `pgx/v5` sql package supports multidimensional arrays. ```sql CREATE TABLE places ( @@ -92,7 +92,7 @@ type Store struct { ## Null For structs, null values are represented using the appropriate type from the -`database/sql` or `pgx` package. +`database/sql` or `pgx` package. ```sql CREATE TABLE authors ( From 9ee05ddecdff4ff72cc5dd076d6bdb6de4c2a983 Mon Sep 17 00:00:00 2001 From: Andrew Benton Date: Fri, 25 Aug 2023 10:04:00 -0700 Subject: [PATCH 2/2] fix(docs): Remove multidimensional array qualification in datatypes.md --- docs/reference/datatypes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/datatypes.md b/docs/reference/datatypes.md index 10183f1aca..b7cf5f6ef7 100644 --- a/docs/reference/datatypes.md +++ b/docs/reference/datatypes.md @@ -9,7 +9,7 @@ If you're unsatisfied with the default, you can override any type using the ## Arrays PostgreSQL [arrays](https://www.postgresql.org/docs/current/arrays.html) are -materialized as Go slices. Currently, only the `pgx/v5` sql package supports multidimensional arrays. +materialized as Go slices. ```sql CREATE TABLE places (