{"type":"post","id":"postgresql-governed-host-integration-151557","slug":"postgresql-governed-host-integration-151557","title":"PostgreSQL governed host integration","description":"The versioned ODAP Gateway guide documents a PostgreSQL read connector exposed through authenticated REST, with MCP command hooks available after initialization.","retrieval_nugget":"The versioned ODAP Gateway guide documents a PostgreSQL read connector exposed through authenticated REST, with MCP command hooks available after initialization.","published_at":"2026-11-27","updated_at":"2026-11-27","record_date":"2026-11-27","date_kind":"published_at","topics":["mcp"],"entities":["ODAP Gateway","PostgreSQL","Model Context Protocol"],"related_patterns":["agent-security-moves-to-runtime-boundaries","agent-protocols-become-interoperability-layer"],"novelty_label":"new_fact","what_changed":null,"prior_refs":[],"source_url":"https://github.com/open-data-agent-platform/odap-gateway/blob/v0.3.0-preview.1/docs/POSTGRESQL_CONNECTOR.md","source_urls":["https://github.com/open-data-agent-platform/odap-gateway/blob/v0.3.0-preview.1/docs/POSTGRESQL_CONNECTOR.md"],"production":{"schema":"newruntime-production-v1","desk":"newsroom","first_seen_at":"2026-11-27T19:21:52.129Z","independent_sources":1,"notes_synthesized":null,"writer_model":"gpt-6-luna","critic":null,"checks":["primary_source_verified","source_fresh","one_story","copy_contract"],"novelty":null,"editorial_value":"medium","human_review":"selective"},"citations":[{"claim":"","quotes":["The versioned guide documents a restricted Node.js PostgreSQL connector with authenticated REST and MCP hooks, not a deployed Cloudflare Worker query endpoint.","This is a Node host integration, not a deployed Cloudflare Worker query endpoint or full PostgreSQL"],"cite_url":"https://github.com/open-data-agent-platform/odap-gateway/blob/v0.3.0-preview.1/docs/POSTGRESQL_CONNECTOR.md#:~:text=The%20versioned%20guide%20documents%20a%20restricted%20Node.js%20PostgreSQL%20connector%20with%20authenticated%20REST%20and%20MCP%20hooks%2C%20not%20a%20deployed%20Cloudflare%20Worker%20query%20endpoint.&text=This%20is%20a%20Node%20host%20integration%2C%20not%20a%20deployed%20Cloudflare%20Worker%20query%20endpoint%20or%20full%20PostgreSQL","source_url":"https://github.com/open-data-agent-platform/odap-gateway/blob/v0.3.0-preview.1/docs/POSTGRESQL_CONNECTOR.md","publisher":"github.com"},{"claim":"","quotes":["One ordinary, non-inherited, non-partitioned table with active RLS.","Released single-table COUNT_ROWS or SUM of smallint/integer/bigint/numeric.","Equality filters for built-in text, boolean, smallint, integer, bigint, numeric, uuid, date, time, timestamp, timestamptz only."],"cite_url":"https://github.com/open-data-agent-platform/odap-gateway/blob/v0.3.0-preview.1/docs/POSTGRESQL_CONNECTOR.md#:~:text=One%20ordinary%2C%20non%2Dinherited%2C%20non%2Dpartitioned%20table%20with%20active%20RLS.&text=Released%20single%2Dtable%20COUNT_ROWS%20or%20SUM%20of%20smallint%2Finteger%2Fbigint%2Fnumeric.&text=Equality%20filters%20for%20built%2Din%20text%2C%20boolean%2C%20smallint%2C%20integer%2C%20bigint%2C%20numeric%2C%20uuid%2C%20date%2C%20time%2C%20timestamp%2C%20timestamptz%20only.","source_url":"https://github.com/open-data-agent-platform/odap-gateway/blob/v0.3.0-preview.1/docs/POSTGRESQL_CONNECTOR.md","publisher":"github.com"},{"claim":"","quotes":["Tenant predicate is mandatory, uses a bound parameter and C collation, and supplements rather than replaces database RLS.","The release digest and odap.metric-read.v1 action are checked before connecting.","Parameter strings are bound, never interpolated.","Aggregates return exact decimal strings or null, never floating-point numbers."],"cite_url":"https://github.com/open-data-agent-platform/odap-gateway/blob/v0.3.0-preview.1/docs/POSTGRESQL_CONNECTOR.md#:~:text=Tenant%20predicate%20is%20mandatory%2C%20uses%20a%20bound%20parameter%20and%20C%20collation%2C%20and%20supplements%20rather%20than%20replaces%20database%20RLS.&text=The%20release%20digest%20and%20odap.metric%2Dread.v1%20action%20are%20checked%20before%20connecting.&text=Parameter%20strings%20are%20bound%2C%20never%20interpolated.&text=Aggregates%20return%20exact%20decimal%20strings%20or%20null%2C%20never%20floating%2Dpoint%20numbers.","source_url":"https://github.com/open-data-agent-platform/odap-gateway/blob/v0.3.0-preview.1/docs/POSTGRESQL_CONNECTOR.md","publisher":"github.com"},{"claim":"","quotes":["Arrays, JSON, floating-point, binary, domains, custom types, joins, arbitrary SQL, functions, views, foreign tables and pagination are not supported.","Virtual generated columns (introduced in PostgreSQL 18) are computed on reads and are refused before claim, whether used as a measure, filter"],"cite_url":"https://github.com/open-data-agent-platform/odap-gateway/blob/v0.3.0-preview.1/docs/POSTGRESQL_CONNECTOR.md#:~:text=Arrays%2C%20JSON%2C%20floating%2Dpoint%2C%20binary%2C%20domains%2C%20custom%20types%2C%20joins%2C%20arbitrary%20SQL%2C%20functions%2C%20views%2C%20foreign%20tables%20and%20pagination%20are%20not%20supported.&text=Virtual%20generated%20columns%20%28introduced%20in%20PostgreSQL%2018%29%20are%20computed%20on%20reads%20and%20are%20refused%20before%20claim%2C%20whether%20used%20as%20a%20measure%2C%20filter","source_url":"https://github.com/open-data-agent-platform/odap-gateway/blob/v0.3.0-preview.1/docs/POSTGRESQL_CONNECTOR.md","publisher":"github.com"},{"claim":"","quotes":["The guide lists PostgreSQL 15.20, 16.16, 17.12, and 18.7 as the supported builds and says other builds are rejected."],"cite_url":"https://github.com/open-data-agent-platform/odap-gateway/blob/v0.3.0-preview.1/docs/POSTGRESQL_CONNECTOR.md#:~:text=The%20guide%20lists%20PostgreSQL%2015.20%2C%2016.16%2C%2017.12%2C%20and%2018.7%20as%20the%20supported%20builds%20and%20says%20other%20builds%20are%20rejected.","source_url":"https://github.com/open-data-agent-platform/odap-gateway/blob/v0.3.0-preview.1/docs/POSTGRESQL_CONNECTOR.md","publisher":"github.com"},{"claim":"","quotes":["matrix pins an official Linux amd64 image digest for every listed build and runs the same complete synthetic engine suite, including RLS, exact types, configured TLS/MCP, cancellation and eight process-crash cases.","certify a managed service, fork, replica topology or untested patch release."],"cite_url":"https://github.com/open-data-agent-platform/odap-gateway/blob/v0.3.0-preview.1/docs/POSTGRESQL_CONNECTOR.md#:~:text=matrix%20pins%20an%20official%20Linux%20amd64%20image%20digest%20for%20every%20listed%20build%20and%20runs%20the%20same%20complete%20synthetic%20engine%20suite%2C%20including%20RLS%2C%20exact%20types%2C%20configured%20TLS%2FMCP%2C%20cancellation%20and%20eight%20process%2Dcrash%20cases.&text=certify%20a%20managed%20service%2C%20fork%2C%20replica%20topology%20or%20untested%20patch%20release.","source_url":"https://github.com/open-data-agent-platform/odap-gateway/blob/v0.3.0-preview.1/docs/POSTGRESQL_CONNECTOR.md","publisher":"github.com"},{"claim":"","quotes":["These are local engineering formats, not changes to the ODAP specification.","generation expressions at write time and RLS policy functions remain trusted; this is not a sandbox for administrator-controlled database behavior.","The offline inspector still refuses production Gateway dispatch."],"cite_url":"https://github.com/open-data-agent-platform/odap-gateway/blob/v0.3.0-preview.1/docs/POSTGRESQL_CONNECTOR.md#:~:text=These%20are%20local%20engineering%20formats%2C%20not%20changes%20to%20the%20ODAP%20specification.&text=generation%20expressions%20at%20write%20time%20and%20RLS%20policy%20functions%20remain%20trusted%3B%20this%20is%20not%20a%20sandbox%20for%20administrator%2Dcontrolled%20database%20behavior.&text=The%20offline%20inspector%20still%20refuses%20production%20Gateway%20dispatch.","source_url":"https://github.com/open-data-agent-platform/odap-gateway/blob/v0.3.0-preview.1/docs/POSTGRESQL_CONNECTOR.md","publisher":"github.com"},{"claim":"","quotes":["npm run postgresql:build","This emits CommonJS JavaScript and TypeScript declarations under dist/postgresql/. It does not start a server, read environment credentials,"],"cite_url":"https://github.com/open-data-agent-platform/odap-gateway/blob/v0.3.0-preview.1/docs/POSTGRESQL_CONNECTOR.md#:~:text=npm%20run%20postgresql%3Abuild&text=This%20emits%20CommonJS%20JavaScript%20and%20TypeScript%20declarations%20under%20dist%2Fpostgresql%2F.%20It%20does%20not%20start%20a%20server%2C%20read%20environment%20credentials%2C","source_url":"https://github.com/open-data-agent-platform/odap-gateway/blob/v0.3.0-preview.1/docs/POSTGRESQL_CONNECTOR.md","publisher":"github.com"}],"schema_version":"newruntime-agent-readable-v0.2","stable_id":"post:postgresql-governed-host-integration-151557","status":"published","visuals":[],"editor":{"role":"editor","name":"Andrey Reshetnikov","profile":"https://newruntime.com/owner-profile.md","profile_json":"https://newruntime.com/owner-profile.json","same_as":["https://www.linkedin.com/in/reshetnikov1/","https://t.me/lapetuse"]},"routes":{"html":"https://newruntime.com/posts/postgresql-governed-host-integration-151557/","markdown":"https://newruntime.com/posts/postgresql-governed-host-integration-151557.md","json":"https://newruntime.com/posts/postgresql-governed-host-integration-151557.json"},"markdown_url":"https://newruntime.com/posts/postgresql-governed-host-integration-151557.md","next_reads":[{"type":"topic","path":"/topics/mcp/","url":"https://newruntime.com/topics/mcp/","title":"Mcp","reason":"Explore the mcp topic hub.","media_type":"text/html","markdown_url":"https://newruntime.com/topics/mcp.md","json_url":"https://newruntime.com/topics/mcp.json"},{"type":"collection","path":"/posts/","url":"https://newruntime.com/posts/","title":"Field Notes","reason":"Open the latest editorial analysis.","media_type":"text/html","json_url":"https://newruntime.com/posts.json"},{"type":"collection","path":"/sources/","url":"https://newruntime.com/sources/","title":"Sources","reason":"See the original sources this archive cites.","media_type":"text/html"}]}
