From 065caa525bc5853261aae18a27670c34521b67a4 Mon Sep 17 00:00:00 2001 From: Michele Cereda Date: Fri, 13 Jun 2025 20:01:23 +0200 Subject: [PATCH] fix(postgres): use lowercase for non-key words --- snippets/postgres/primer.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/postgres/primer.sql b/snippets/postgres/primer.sql index e6d1638..bcb2dd9 100644 --- a/snippets/postgres/primer.sql +++ b/snippets/postgres/primer.sql @@ -89,7 +89,7 @@ CREATE TABLE people ( -- Includes constraints \d sales \d+ clients -SELECT column_name, data_type, character_maximum_length FROM INFORMATION_SCHEMA.COLUMNS WHERE table_name = 'vendors'; +SELECT column_name, data_type, character_maximum_length FROM information_schema.columns WHERE table_name = 'vendors'; -- Insert data