StudyToCert

All certifications / AI-200 / Lessons

Microsoft Certified: Azure AI Cloud Developer Associate AI-200 (replaced AZ-204) · Domain 2: Develop AI solutions by using Azure data management services

Azure Database for PostgreSQL flexible server: allow-listing and enabling the vector (pgvector) extension

▶ Watch the overview video

Last reviewed October 6, 2026 · Leer en español

Explain it simpler

PostgreSQL is a popular database, and pgvector is an add-on that teaches it to store and search embeddings, the number lists that capture meaning. On your own computer you can switch on add-ons freely. Azure's managed PostgreSQL is more careful, like an apartment building that only lets you install appliances from an approved list. First you add the add-on to the approved list in a server setting called azure.extensions. Then, inside each database that needs it, you run one command to switch it on. Note that the add-on is named 'vector' inside the database, even though everyone calls the project pgvector.

Marcus at Pine Street Insurance, a fictional regional insurer, has a straightforward task on his sprint board: add semantic search to the claims database so adjusters can find similar past claims. He has done this on his own laptop a dozen times. He connects to the new Azure Database for PostgreSQL flexible server, types the familiar statement to enable pgvector, and gets an error saying the extension is not allow-listed. He is the server admin, so permissions should not be the problem. His standup is in twenty minutes. What does a managed server need from him before it will accept that one line?

Azure Database for PostgreSQL flexible server is Azure's managed PostgreSQL service. Azure handles operating system and database patching, automated backups with point-in-time restore, optional zone-redundant high availability, and scaling of compute and storage, while you get standard PostgreSQL that works with psycopg, SQLAlchemy and every other PostgreSQL tool. That compatibility matters for AI work, because many applications already keep customers, orders, policies or claims in PostgreSQL. pgvector lets them add vector search to that same database instead of introducing a new system.

Free account

Keep reading for free

Create a free StudyToCert account to read the rest of this lesson: 9 more sections, 6 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.

Sign up free Log in

Study AI-200 for free
A week-by-week plan with every lesson, quizzes, checkpoint tests, a practice exam and hands-on labs.
Open the AI-200 study plan