From 2296b13915d30ad72647fce735a2dfc608c89c71 Mon Sep 17 00:00:00 2001 From: Greg Rychlewski Date: Wed, 3 Jul 2024 05:35:19 -0400 Subject: [PATCH] Update lib/postgrex/type_module.ex MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: José Valim --- lib/postgrex/type_module.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/postgrex/type_module.ex b/lib/postgrex/type_module.ex index 4df664f7..18c98219 100644 --- a/lib/postgrex/type_module.ex +++ b/lib/postgrex/type_module.ex @@ -36,8 +36,8 @@ defmodule Postgrex.TypeModule do are created by iterating over each extension, taking the pattern returned by the `decode/1` callback and creating a function that either: - - Accepts the pattern for regular extensions - - Accepts the pattern, sub-oids and sub-tupes for super extensions + - Accepts the pattern for regular extensions + - Accepts the pattern, sub-oids and sub-tupes for super extensions Each function also accepts several variables that help accumulate the results and a special variable `mod` that allows the extensions to access the type modifier of the column. This