uuid-ossp is a contrib module, so it isn't loaded into the server by default. You must load it into your database to use it.For modern PostgreSQL versions (9.1and newer) that's easy:
CREATEEXTENSIONIFNOTEXISTS"uuid-ossp";
but for9.0and below you must instead run the SQL script to load the extension. See the documentation for contrib modules in 8.4.For Pg 9.1and newer instead read the current contrib docs andCREATEEXTENSION. These features do not exist in 9.0or older versions, like your 8.4.If you're using a packaged version of PostgreSQL you might need to install a separate package containing the contrib modules and extensions. Search your package manager database for'postgres'and'contrib'.
Posted by: Guest
on March-16-2021
Code answers related to "insert postgres query to generate uuid"
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems
resetting your password contact us
Check Your Email and Click on the link sent to your email