← Back to technology

The world’s most powerful database

Why does Xano use PostgreSQL?

Every Xano backend runs on PostgreSQL: an open source relational database with over 30 years of active development and a reputation for reliability.

Open source · since 1986 ACID-compliant since 2001 Runs on all major OSes PostGIS and other add-ons user post order PostgreSQL
PostgreSQL

PostgreSQL: 30+ years of reliability under every Xano backend

PostgreSQL is a powerful, open source object-relational database system with over 30 years of active development that has earned it a strong reputation for reliability, feature robustness, and performance.

It uses and extends the SQL language combined with many features that safely store and scale the most complicated data workloads. The origins of PostgreSQL date back to 1986 as part of the POSTGRES project at the University of California at Berkeley and has more than 30 years of active development on the core platform.

PostgreSQL has earned a strong reputation for its proven architecture, reliability, data integrity, robust feature set, extensibility, and the dedication of the open source community behind the software to consistently deliver performant and innovative solutions. PostgreSQL runs on all major operating systems, has been ACID-compliant since 2001, and has powerful add-ons such as the popular PostGIS geospatial database extender. It is no surprise that PostgreSQL has become the open source relational database of choice for many people and organizations.

How you build on it

From your TypeScript to this stack.

Tables in TypeScript

Your Postgres schema, typed in your repo.

With the Xano SDK, tables and indexes are typed TypeScript you version, review and diff. A table reference is a real foreign key, type-checked. The Xano Engine is a single binary with Postgres built in, so the same database runs on your laptop.

The Xano database
xano/index.ts
import { table, f } from "@xano/sdk";

const user = table({
  name: "user",
  auth: true,
  schema: {
    email: f.email({ required: true, methods: ["trim", "lower"] }),
    name:  f.text(),
  },
});

export const post = table({
  name: "post",
  schema: {
    title:     f.text({ required: true }),
    published: f.bool({ default: false }),
    author:    f.tableRef(user),  // a real foreign key, type-checked
  },
});
Under the platform

Continue reading

Launch & Scale On Trusted Infrastructure

Read more about Google Cloud Platform

The World’s Most Powerful Database

Read more about PostgreSQL

Isolated Environments

Read more about Docker

AI builds software. Xano makes it trustworthy.

Start building on the same stack, free.

AI builds software. Xano makes it trustworthy.

100,000+ people build on Xano. Build in TypeScript with AI, run it locally, then deploy.

Start free