how many people write plpgsql functions for their db? Probably not many (myself included). But a hero emerges named chatGPT! I could not figure out this simple function, but chatGPT to the rescue! Supabase and chatGPT are my new daily heroes.