# Calendars in Postgres using Foreign Data Wrappers

DevFeed: [Calendars in Postgres using Foreign Data Wrappers](<https://devfeed.tech/articles/calendars-in-postgres-using-foreign-data-wrappers-331.md>)

Original publisher: [Read original article](<https://supabase.com/blog/calendars-in-postgres-using-foreign-data-wrappers>)

Author: Bo Lu

Published: 2024-12-20T07:00:00Z

Content type: tutorial

Language: en

Sources: [Supabase Blog](<https://devfeed.tech/sources/supabase-blog.md>)

Topics: [Supabase](<https://devfeed.tech/topics/supabase.md>), [API keys](<https://devfeed.tech/topics/api-keys.md>), [wasm](<https://devfeed.tech/topics/wasm.md>), [API](<https://devfeed.tech/topics/api.md>), [JSON](<https://devfeed.tech/topics/json.md>), [Databases](<https://devfeed.tech/topics/databases.md>), [SQL](<https://devfeed.tech/topics/sql.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [api-keys](<https://devfeed.tech/tags/api-keys.md>), [data](<https://devfeed.tech/tags/data.md>), [database](<https://devfeed.tech/tags/database.md>), [developer](<https://devfeed.tech/tags/developer.md>), [integration](<https://devfeed.tech/tags/integration.md>), [json](<https://devfeed.tech/tags/json.md>), [postgres](<https://devfeed.tech/tags/postgres.md>), [sql](<https://devfeed.tech/tags/sql.md>), [use-cases](<https://devfeed.tech/tags/use-cases.md>), [wasm](<https://devfeed.tech/tags/wasm.md>)

## AI overview

This tutorial shows how to connect Cal.com with Supabase using Postgres Foreign Data Wrappers. It explains how to configure a Wasm wrapper and foreign server, define foreign tables, query calendar data, and create Cal.com bookings directly from Postgres transactions.

## Source excerpt

Calendar data integration with Cal.com using Wasm foreign data wrapper on Supabase