dimitri / pgloader

Migrate to PostgreSQL in a single command!
http://pgloader.io
Other
5.45k stars 548 forks source link

Set the default uuid value to use gen_random_uuid #1616

Closed CogsAndGears closed 1 month ago

CogsAndGears commented 1 month ago

pgloader uses uuid_generate_v4 which requires loading the uuid-ossp extension into the database. Since version 13, Postgres has supported gen_random_uuid, which does not. This just changes the default value for UUIDs to gen_random_uuid instead of uuid_generate_v4.