timgit / pg-boss

Queueing jobs in Postgres from Node.js like a boss
MIT License
2.07k stars 157 forks source link

Is pgcrypto no longer necessary for PostgreSQL v13 and above? #333

Closed starnayuta closed 2 years ago

starnayuta commented 2 years ago

The function gen_random_uuid() has been built in since postgreSQL version 13.

https://www.postgresql.org/docs/13/functions-uuid.html

If pgcrypto is only used for the function gen_random_uuid(), is it no longer necessary to install the extension?

Thanks.

timgit commented 2 years ago

That's correct. You can skip that step if the function is already available.