Tag Archives: sql

UUID generator in PL/pgSQL

While writing an SQL script to upgrade the MusicBrainz database for the last release, I needed a way to generate new UUIDs from SQL. PostgreSQL has a native UUID data type and a contrib module for generating UUIDs since version … Continue reading

Posted in Database, MusicBrainz, Programming | Tagged , , , , | Leave a comment