pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: byrnejb@harte-lyne.ca
Cc: pgsql-general@lists.postgresql.org
Subject: Re: UUID generation problem
Date: Fri, 02 Oct 2020 18:46:15 -0400
Message-ID: <1280442.1601678775@sss.pgh.pa.us> (raw)
In-Reply-To: <271dfd309957472734a7aab8999659b1.squirrel@webmail.harte-lyne.ca>
References: <271dfd309957472734a7aab8999659b1.squirrel@webmail.harte-lyne.ca>

"James B. Byrne" <byrnejb@harte-lyne.ca> writes:
> I have a FreeBSD-12.1p10 system running postgreSQL-11.8. This is a test
> platform for Idempiere.  When creating a new client in Idempiere I get this
> error message:

> ** org.postgresql.util.PSQLException: ERROR: function uuid_generate_v4() does
> not exist Hint: No function matches the given name and argument types. You
> might need to add explicit type casts. Where: PL/pgSQL function generate_uuid()
> line 3 at RETURN

> This usually means that the uuid-ossp extension is not active in the database. 
> However, I previously installed this and psql shows that it is present:

The two likely possibilities are that Idempiere isn't connecting to the
same database as you are doing manually, or that it is using a search_path
setting that doesn't include the "public" schema.

I think you could also get this if the "public" schema is not readable
by Idempiere's userid, but that doesn't seem terribly likely.

			regards, tom lane





view thread (53+ messages)  latest in thread

Message-ID: <1280442.1601678775@sss.pgh.pa.us>
Permalink:  ../1280442.1601678775@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1280442.1601678775@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, byrnejb@harte-lyne.ca
  Subject: Re: UUID generation problem
  In-Reply-To: <1280442.1601678775@sss.pgh.pa.us>
  References: <271dfd309957472734a7aab8999659b1.squirrel@webmail.harte-lyne.ca> <1280442.1601678775@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox