Waiting for PostgreSQL 19 – Add date and timestamp variants of random(min, max).

Read Original

The article details a new feature committed to PostgreSQL 19: variants of the random() function that generate random date, timestamp, and timestamptz values within a specified range. It explains the functionality, shows example SQL queries to test it, and discusses how this simplifies the creation of test data for developers.

Waiting for PostgreSQL 19 – Add date and timestamp variants of random(min, max).

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser