From 4483d6e222ae4ae2df8a795b6874b8b783bf3470 Mon Sep 17 00:00:00 2001 From: dieriba Date: Wed, 22 Jan 2025 11:39:40 +0100 Subject: [PATCH] nits: add comment to hex.rs --- backend/windmill-api/src/postgres_triggers/hex.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/backend/windmill-api/src/postgres_triggers/hex.rs b/backend/windmill-api/src/postgres_triggers/hex.rs index 1538588142fbc..2ada70dd3508f 100644 --- a/backend/windmill-api/src/postgres_triggers/hex.rs +++ b/backend/windmill-api/src/postgres_triggers/hex.rs @@ -1,5 +1,15 @@ use std::num::ParseIntError; + +/** +* This implementation is inspired by Postgres replication functionality +* from https://github.com/supabase/pg_replicate +* +* Original implementation: +* - https://github.dev/supabase/pg_replicate/blob/main/pg_replicate/src/conversions/hex.rs +* +*/ + use thiserror::Error; #[derive(Debug, Error)]