From 8fb010fd4da0d45961844559d10d33fa03fd7d87 Mon Sep 17 00:00:00 2001 From: Alex van de Sandt Date: Mon, 14 Dec 2020 17:31:47 -0500 Subject: [PATCH] Remove invalid trailing comma in date example This commit removes an extra trailing comma the [snippet][docs] that demonstrates date/timestamp/timestamptz conversion. Copy/pasting the example caused a SQL syntax error. [docs]: https://node-postgres.com/features/types --- content/features/5-types.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/features/5-types.mdx b/content/features/5-types.mdx index 28d6503..929b971 100644 --- a/content/features/5-types.mdx +++ b/content/features/5-types.mdx @@ -59,7 +59,7 @@ const createTableText = ` CREATE TEMP TABLE dates( date_col DATE, timestamp_col TIMESTAMP, - timestamptz_col TIMESTAMPTZ, + timestamptz_col TIMESTAMPTZ ); ` // create our temp table