HomeTriviaTech & GamesPostgreSQL
concept🎮 Tech & Games

PostgreSQL Trivia Questions

How much do you really know about PostgreSQL? Below are 8 true or false statements. Click each one to reveal the answer and explanation.

1.

PostgreSQL was originally developed by a team at Microsoft.

Click to reveal answer ›

Easy
✗ FALSE

It was created at the University of California, Berkeley under the name Postgres. Microsoft had no involvement.

2.

You can create recursive queries in PostgreSQL using WITH RECURSIVE.

Click to reveal answer ›

Medium
✓ TRUE

PostgreSQL supports Common Table Expressions (CTEs) with recursion, great for tree or graph traversal queries.

3.

PostgreSQL allows you to define custom data types using CREATE TYPE.

Click to reveal answer ›

Medium
✓ TRUE

You can create composite, enumerated, or range types, and even define operators for them. Highly extensible.

4.

PostgreSQL cannot run stored procedures, only functions.

Click to reveal answer ›

Medium
✗ FALSE

Since PostgreSQL 11, it supports stored procedures with transaction control, separate from functions.

5.

PostgreSQL does not support full-text search out of the box.

Click to reveal answer ›

Medium
✗ FALSE

It actually includes powerful built-in full-text search with tsvector and tsquery, no extensions needed.

6.

PostgreSQL can act as a vector database for AI applications using the pgvector extension.

Click to reveal answer ›

Hard
✓ TRUE

The pgvector extension enables storing and querying vector embeddings, making PostgreSQL suitable for AI and semantic search.

7.

PostgreSQL can query JSON data more efficiently than MongoDB in some cases.

Click to reveal answer ›

Hard
✓ TRUE

PostgreSQL's native binary JSONB format supports indexing and complex queries, often outperforming MongoDB on analytical JSON workloads.

8.

PostgreSQL only supports row-level locking, not page-level locking.

Click to reveal answer ›

Hard
✗ FALSE

It supports multiple locking levels, including row-level, page-level, and table-level locks for concurrency control.

More in Tech & Games

MinecraftTrivia Questions →ChessTrivia Questions →TetrisTrivia Questions →Super MarioTrivia Questions →The Legend of ZeldaTrivia Questions →
View all Tech & Games topics →

Want to test yourself in real time?

Swipe right for True, left for False. New questions every day on PopBluff.

Play PopBluff Free →