Skip site navigation (1) Skip section navigation (2)

Re: UUID - 8.4.2

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Morris, Roy" <rmorris(at)internetsecure(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: UUID - 8.4.2
Date: 2010-01-20 21:34:17
Message-ID: 20744.1264023257@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-novice
"Morris, Roy" <rmorris(at)internetsecure(dot)com> writes:
> postgres=# CREATE FUNCTION
> postgres-#     uuid_in(CSTRING) RETURNS uuid
> postgres-#     STRICT
> postgres-#     LANGUAGE C AS '/usr/lib/pgsql/uuid.so', 'pg_uuid_in';
> ERROR:  could not access file "/usr/lib/pgsql/uuid.so": No such file or
> directory

Um ... why are you trying to do that?  uuid_in is built in as of 8.4.
It looks to me like you are trying to force the thing to take
definitions from an old version of contrib/uuid, and that's not gonna
work.

If you've got these definitions in an old dump file, just ignore the
errors on load.

			regards, tom lane

In response to

pgsql-novice by date

Next:From: James William PyeDate: 2010-01-20 21:47:50
Subject: Re: [NOVICE] Python verison for build in config.pl (Win32)
Previous:From: Morris, RoyDate: 2010-01-20 19:47:03
Subject: Re: UUID - 8.4.2

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group