[{"data":1,"prerenderedAt":127},["ShallowReactive",2],{"term-p\u002Fpostgresql":3,"related-p\u002Fpostgresql":108},{"id":4,"title":5,"acronym":6,"body":7,"category":89,"description":90,"difficulty":91,"extension":92,"letter":16,"meta":93,"navigation":94,"path":95,"related":96,"seo":102,"sitemap":103,"stem":106,"subcategory":6,"__hash__":107},"terms\u002Fterms\u002Fp\u002Fpostgresql.md","PostgreSQL",null,{"type":8,"value":9,"toc":83},"minimark",[10,15,19,23,26,30,72,76,79],[11,12,14],"h2",{"id":13},"eli5-the-vibe-check","ELI5 — The Vibe Check",[16,17,18],"p",{},"PostgreSQL (just say 'Postgres') is the Swiss Army knife of databases. It is free, incredibly powerful, handles JSON like a NoSQL database, and basically does everything. Most serious vibecoders end up here eventually.",[11,20,22],{"id":21},"real-talk","Real Talk",[16,24,25],{},"PostgreSQL is an open-source object-relational database management system with over 35 years of active development. It is known for strong ACID compliance, extensibility, support for advanced data types (JSON, arrays, custom types), full-text search, and a rich ecosystem of extensions.",[11,27,29],{"id":28},"show-me-the-code","Show Me The Code",[31,32,37],"pre",{"className":33,"code":34,"language":35,"meta":36,"style":36},"language-sql shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","CREATE TABLE users (\n  id SERIAL PRIMARY KEY,\n  email TEXT UNIQUE NOT NULL,\n  created_at TIMESTAMPTZ DEFAULT NOW()\n);\n","sql","",[38,39,40,48,54,60,66],"code",{"__ignoreMap":36},[41,42,45],"span",{"class":43,"line":44},"line",1,[41,46,47],{},"CREATE TABLE users (\n",[41,49,51],{"class":43,"line":50},2,[41,52,53],{},"  id SERIAL PRIMARY KEY,\n",[41,55,57],{"class":43,"line":56},3,[41,58,59],{},"  email TEXT UNIQUE NOT NULL,\n",[41,61,63],{"class":43,"line":62},4,[41,64,65],{},"  created_at TIMESTAMPTZ DEFAULT NOW()\n",[41,67,69],{"class":43,"line":68},5,[41,70,71],{},");\n",[11,73,75],{"id":74},"when-youll-hear-this","When You'll Hear This",[16,77,78],{},"\"We use Postgres for everything.\" \u002F \"Supabase runs on top of PostgreSQL.\"",[80,81,82],"style",{},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":36,"searchDepth":50,"depth":50,"links":84},[85,86,87,88],{"id":13,"depth":50,"text":14},{"id":21,"depth":50,"text":22},{"id":28,"depth":50,"text":29},{"id":74,"depth":50,"text":75},"database","PostgreSQL (just say 'Postgres') is the Swiss Army knife of databases.","beginner","md",{},true,"\u002Fterms\u002Fp\u002Fpostgresql",[97,98,99,100,101],"SQL","Supabase","Index","Transaction","ACID",{"title":5,"description":90},{"changefreq":104,"priority":105},"weekly",0.7,"terms\u002Fp\u002Fpostgresql","koS3-_hlf6jVryC252fzd-bcHcSecvEr0gxINPHGHy4",[109,114,117,121,124],{"title":101,"path":110,"acronym":111,"category":89,"difficulty":112,"description":113},"\u002Fterms\u002Fa\u002Facid","Atomicity, Consistency, Isolation, Durability","intermediate","ACID is the four guarantees a reliable database makes about transactions. It is the reason you trust a bank's database with your money.",{"title":99,"path":115,"acronym":6,"category":89,"difficulty":112,"description":116},"\u002Fterms\u002Fi","A database index is like the index in the back of a book. Without it, the database reads every single row to find what you want.",{"title":97,"path":118,"acronym":119,"category":89,"difficulty":91,"description":120},"\u002Fterms\u002Fs\u002Fsql","Structured Query Language","SQL is the language you use to talk to a database. You ask it things like 'give me all users who signed up this week' and it actually does it.",{"title":98,"path":122,"acronym":6,"category":89,"difficulty":91,"description":123},"\u002Fterms\u002Fs\u002Fsupabase","Supabase is Firebase but built on real Postgres SQL. You get a database, auth, file storage, and real-time updates all in one.",{"title":100,"path":125,"acronym":6,"category":89,"difficulty":112,"description":126},"\u002Fterms\u002Ft\u002Ftransaction","A transaction groups multiple database operations into one all-or-nothing bundle. Either ALL of them succeed, or NONE of them happen.",1776518302750]