Generating a UUID in Postgres for Insert statement?
问题 My question is rather simple. I\'m aware of the concept of a UUID and I want to generate one to refer to each \'item\' from a \'store\' in my DB with. Seems reasonable right? The problem is the following line returns an error: honeydb=# insert into items values( uuid_generate_v4(), 54.321, 31, \'desc 1\', 31.94); ERROR: function uuid_generate_v4() does not exist LINE 2: uuid_generate_v4(), 54.321, 31, \'desc 1\', 31.94); ^ HINT: No function matches the given name and argument types. You might