{"id":115106,"date":"2026-11-30T09:08:05","date_gmt":"2026-11-30T09:08:05","guid":{"rendered":"https:\/\/www.red-gate.com\/simple-talk\/?post_type=podcast&#038;p=115106"},"modified":"2026-11-30T09:08:06","modified_gmt":"2026-11-30T09:08:06","slug":"making-postgresql-safe-for-ai-agents-with-phillip-merrick","status":"publish","type":"podcast","link":"https:\/\/www.red-gate.com\/simple-talk\/podcasts\/making-postgresql-safe-for-ai-agents-with-phillip-merrick\/","title":{"rendered":"Making PostgreSQL safe for AI agents (with Phillip Merrick)\u00a0"},"content":{"rendered":"\n<div class=\"mb-2xl\">\n            <button data-youtube-url=\"https:\/\/www.youtube.com\/embed\/b6a690D900A?si=XUemk1D-Y5g4b5nt\" id=\"podcastModalButton\" class=\"relative aspect-[16\/9] bg-gray-900 flex items-center justify-center flex-col gap-md w-full p-md\">\n                            <img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2026\/11\/Phillip-Merrick-ST-podcast-YT-cover-1024x576.png\" class=\"object-cover absolute inset-0 w-full h-full wp-post-image\" alt=\"\" srcset=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2026\/11\/Phillip-Merrick-ST-podcast-YT-cover-1024x576.png 1024w, https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2026\/11\/Phillip-Merrick-ST-podcast-YT-cover-300x169.png 300w, https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2026\/11\/Phillip-Merrick-ST-podcast-YT-cover-768x432.png 768w, https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2026\/11\/Phillip-Merrick-ST-podcast-YT-cover.png 1280w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/>                        <svg class=\"w-12 h-auto absolute m-auto text-base-white\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                <path d=\"M10 0C3.5 0 0 3.5 0 10C0 16.5 3.5 20 10 20C16.5 20 20 16.5 20 10C20 3.5 16.5 0 10 0ZM11.47 12.71C10.08 13.51 8.64 14.11 7.25 14.5C7.06 13.13 6.95 11.61 6.95 10C6.95 8.39 7.06 6.87 7.25 5.5C8.64 5.89 10.08 6.49 11.47 7.29C12.86 8.09 14.06 9.02 15.05 10C14.07 10.98 12.87 11.9 11.47 12.71Z\" fill=\"currentColor\" \/>\n            <\/svg>\n\n        <\/button>\n    \n    <dialog id=\"podcastModal\" class=\"\">\n        <div class=\"bg-base-black bg-opacity-80 fixed inset-0 z-10 h-full w-full max-w-full max-h-full flex items-center justify-center\">\n            <div class=\"mx-auto relative w-full container\">\n                <div class=\"flex overflow-hidden rounded-xs bg-base-black\">\n                    <div class=\"relative aspect-[16\/9] w-full\">\n                        <iframe loading=\"lazy\" id=\"podcastYoutubeVideo\" class=\"absolute inset-0 w-full h-full\" width=\"560\" height=\"315\" src=\"\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>\n                    <\/div>\n                <\/div>\n                <button id=\"closeModalButton\" class=\"absolute -top-12 -right-0 w-auto h-12 flex items-center justify-center\">\n                    <svg class=\"w-8 h-8\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                        <path d=\"M10 0C3.5 0 0 3.5 0 10C0 16.5 3.5 20 10 20C16.5 20 20 16.5 20 10C20 3.5 16.5 0 10 0ZM13.37 11.95C13.89 12.47 14.4 12.98 14.91 13.65C14.77 13.88 14.59 14.11 14.38 14.32C14.16 14.54 13.9 14.75 13.65 14.91C13.06 14.43 12.51 13.91 11.96 13.36L10.01 11.41L8.06 13.36C7.54 13.88 7.03 14.39 6.36 14.9C6.13 14.76 5.9 14.58 5.69 14.37C5.47 14.15 5.26 13.89 5.1 13.64C5.58 13.05 6.1 12.5 6.65 11.95L8.6 10L6.65 8.05C6.13 7.53 5.62 7.02 5.11 6.35C5.25 6.12 5.43 5.89 5.64 5.68C5.86 5.46 6.12 5.25 6.37 5.09C6.96 5.57 7.51 6.09 8.06 6.64L10.01 8.59L11.96 6.64C12.48 6.12 12.99 5.61 13.66 5.1C13.89 5.24 14.12 5.42 14.33 5.63C14.55 5.85 14.76 6.11 14.92 6.36C14.44 6.95 13.92 7.5 13.37 8.05L11.42 10L13.37 11.95Z\" fill=\"white\" \/>\n                    <\/svg>\n                <\/button>\n            <\/div>\n        <\/div>\n    <\/dialog>\n    \n            <div class=\"flex flex-wrap gap-4 items-center mt-3xl\">\n            <p class=\"mb-0 leading-tight font-bold\">Listen on:<\/p>\n            <div class=\"flex flex-wrap gap-xl\">\n                                    <a class=\"duration-200 hover:opacity-70\" href=\"https:\/\/open.spotify.com\/episode\/0LuMUQNiCuowufontIqKvt\" target=\"_blank\">\n                        <img decoding=\"async\" class=\"h-10 w-auto max-w-full\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/themes\/simple-talk-theme-2024\/assets\/images\/sharing\/spotify-podcast.png?v=2\" alt=\"Listen on Spotify\">\n                    <\/a>\n                                                    <a class=\"duration-200 hover:opacity-70\" href=\"https:\/\/podcasts.apple.com\/gb\/podcast\/making-postgresql-safe-for-ai-agents-with-phillip-merrick\/id1773262159?i=1000804825261\" target=\"_blank\">\n                        <img decoding=\"async\" class=\"h-10 w-auto max-w-full\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/themes\/simple-talk-theme-2024\/assets\/images\/sharing\/apple-podcast.png?v=2\" alt=\"Listen on Apple Podcasts\">\n                    <\/a>\n                                                    <a class=\"duration-200 hover:opacity-70\" href=\"https:\/\/sites.libsyn.com\/537157\/making-postgresql-safe-for-ai-agents-with-phillip-merrick\" target=\"_blank\">\n                        <img decoding=\"async\" class=\"h-10 w-auto max-w-full\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/themes\/simple-talk-theme-2024\/assets\/images\/sharing\/libsyn-podcast.png?v=2\" alt=\"Listen on Libsyn\">\n                    <\/a>\n                                                    <a class=\"duration-200 hover:opacity-70 flex-shrink-0\" href=\"https:\/\/music.amazon.com\/podcasts\/bb23354a-9850-428f-9cb3-83235ef279c6\/episodes\/90ed5ad5-f561-4d41-8a48-97c8cc95f041\/simple-talks-making-postgresql-safe-for-ai-agents-with-phillip-merrick\" target=\"_blank\">\n                        <img decoding=\"async\" class=\"h-10 w-auto max-w-full\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/themes\/simple-talk-theme-2024\/assets\/images\/sharing\/amazon-podcast.png?v=2\" alt=\"Listen on Amazon Music\">\n                    <\/a>\n                            <\/div>\n        <\/div>\n    \n    <\/div>\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/www.pgedge.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">pgEdge<\/a> co-founder <strong>Phillip Merrick<\/strong> joins us to explain why the growing number of &#8220;Postgres-compatible&#8221; databases could splinter what the PostgreSQL name means. He also covers why AI agents favor PostgreSQL, how to give an LLM safe access to production data, and whether PostgreSQL&#8217;s growth will continue as legacy workloads migrate. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Also: advice for engineers in the age of AI, and for founders building a business around open source.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Listen or watch to every episode of the Redgate Simple Talk podcast at&nbsp;<br><a href=\"https:\/\/www.red-gate.com\/simple-talk\/podcasts\/\" target=\"_blank\" rel=\"noopener\">https:\/\/www.red-gate.com\/simple-talk\/podcasts\/<\/a>&nbsp;<\/p>\n\n\n\n<h3 id=\"h-8-key-takeaways-from-our-chat-with-phillip-merrick\" class=\"wp-block-heading\">8 key takeaways from our chat with Phillip Merrick<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Don&#8217;t have time to watch or listen? Here&#8217;s what you should know:<\/strong><\/p>\n\n\n\n<h4 id=\"h-review-what-you-can-t-write\" class=\"wp-block-heading\">Review what you can&#8217;t write<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Engineers are moving from writing code to <a href=\"https:\/\/www.red-gate.com\/simple-talk\/ai\/the-best-ai-developer-tools-in-2026-from-coding-agents-to-code-review\/\" target=\"_blank\" rel=\"noreferrer noopener\">specifying and reviewing it<\/a>, so full-stack understanding still matters. After all, you can&#8217;t review what you don&#8217;t understand.<\/p>\n\n\n\n<h4 id=\"h-learn-the-business-problem\" class=\"wp-block-heading\">Learn the business problem<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Engineers who <em>understand<\/em> the business problem their software solves and can communicate its value, become far more valuable themselves &#8211; even in the AI era.<\/p>\n\n\n\n<h4 id=\"h-compatible-doesn-t-necessarily-mean-postgres\" class=\"wp-block-heading\">&#8220;Compatible&#8221; doesn&#8217;t necessarily mean &#8220;Postgres&#8221; <\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Some &#8220;Postgres-compatible&#8221; databases differ in wire protocol, <a href=\"https:\/\/www.red-gate.com\/simple-talk\/databases\/the-key-syntax-differences-between-mysql-and-postgresql-everything-you-should-know\/\" target=\"_blank\" rel=\"noreferrer noopener\">syntax<\/a>, and behavior &#8211; or aren&#8217;t built on PostgreSQL at all! The community should defend what the PostgreSQL name really means.<\/p>\n\n\n\n<h4 id=\"h-bring-in-younger-contributors\" class=\"wp-block-heading\">Bring in younger contributors<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">While the core PostgreSQL community is healthy, it&#8217;s small and aging. Long-term sustainability depends on <a href=\"https:\/\/www.sqlservercentral.com\/editorials\/training-the-next-generation\" target=\"_blank\" rel=\"noreferrer noopener\">bringing younger engineers<\/a> in to work on core.<\/p>\n\n\n\n<h4 id=\"h-feed-llms-real-data-but-do-it-safely\" class=\"wp-block-heading\">Feed LLMs real data &#8211; but do it safely<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Phillip argues that real data is the best fix for hallucinating <a href=\"https:\/\/www.red-gate.com\/simple-talk\/collections\/how-i-built-an-app-just-by-talking-to-an-ai-llm\/\" target=\"_blank\" rel=\"noreferrer noopener\">large language models (LLMs)<\/a>, and PostgreSQL is the best place to serve it &#8211; provided agents get guaranteed read-only production access.<\/p>\n\n\n\n<h4 id=\"h-expect-a-migration-wave\" class=\"wp-block-heading\">Expect a migration wave<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Large enterprises and agencies want off expensive legacy databases for cost and modernization, and LLMs favor PostgreSQL because it&#8217;s open source and well documented.<\/p>\n\n\n\n<h4 id=\"h-start-with-a-real-problem\" class=\"wp-block-heading\">Start with a real problem<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Before building a PostgreSQL business, an aspiring founder should first find a problem worth solving, then choose a model: proprietary on open source, open source plus a <a href=\"https:\/\/www.red-gate.com\/simple-talk\/cloud\/\" target=\"_blank\" rel=\"noreferrer noopener\">cloud service<\/a>, or a hybrid.<\/p>\n\n\n\n<h4 id=\"h-make-vectors-a-native-type\" class=\"wp-block-heading\">Make vectors a native type <\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Phillip&#8217;s one wish for PostgreSQL is a native, first-class <a href=\"https:\/\/www.red-gate.com\/simple-talk\/databases\/postgresql\/how-to-automate-vector-embeddings-with-pgai-vectorizer-in-postgresql\/\" target=\"_blank\" rel=\"noreferrer noopener\">vector<\/a> data type, building on what the <a href=\"https:\/\/github.com\/pgvector\/pgvector\" target=\"_blank\" rel=\"noreferrer noopener\">pgvector extension<\/a> has already done to AI-enable it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>pgEdge co-founder Phillip Merrick on why &#8220;Postgres-compatible&#8221; databases risk splintering PostgreSQL, why AI agents favor it, and safe LLM access to production data.&hellip;<\/p>\n","protected":false},"featured_media":115107,"template":"","tags":[159075,4168,4170,158978],"podcast_category":[159200],"podcast_season":[159361],"class_list":["post-115106","podcast","type-podcast","status-publish","has-post-thumbnail","hentry","tag-ai","tag-database","tag-database-administration","tag-postgresql","podcast_category-coffee-chats","podcast_season-season-3"],"acf":{"podcast_transcript":""},"_links":{"self":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/podcast\/115106","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/podcast"}],"about":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/types\/podcast"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/media\/115107"}],"wp:attachment":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/media?parent=115106"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/tags?post=115106"},{"taxonomy":"podcast_category","embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/podcast_category?post=115106"},{"taxonomy":"podcast_season","embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/podcast_season?post=115106"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}