postgresql_faker

Website

https://gitlab.com/dalibo/postgresql_faker/

Description

faker

is a PostgreSQL extension based on the awesome Python Faker library. This is useful to generate random-but-meaningful datasets for functional testing, anonymization, training data, etc...

This extension is simply a wrapper written in pl/python procedural language.

Package specifications and repository requirements

PostgreSQL PGDG RPM repository

Install PGDG repository from: https://yum.postgresql.org/repopackages/

Installation

OS Command
RHEL / Rocky Linux / AlmaLinux / Fedora dnf install faker_17 (or change the version as described above)

Post-installation

Connect to the database that you want to create the extension (superuser access is not needed) and run:
CREATE EXTENSION faker CASCADE; # CASCADE is needed for the plpython3u extension.

Available packages

PostgreSQL version(s) OS version Arch Status
17,16,15,14,13 RHEL / Rocky Linux / AlmaLinux 9 x86_64, aarch64 Available
17,16,15,14,13 RHEL / Rocky Linux / AlmaLinux 8 x86_64, aarch64 Available
17,16,15,14,13 Fedora Linux x86_64 Available