Received: from web12505.mail.yahoo.com (web12505.mail.yahoo.com [216.136.173.197]) by mail.postgresql.org (8.11.1/8.11.1) with SMTP id f1LJZ3x19636 for ; Wed, 21 Feb 2001 14:35:03 -0500 (EST) (envelope-from lonnie_cumberland@yahoo.com) Message-ID: <20010221193501.44435.qmail@web12505.mail.yahoo.com> Received: from [141.217.140.65] by web12505.mail.yahoo.com; Wed, 21 Feb 2001 11:35:01 PST Date: Wed, 21 Feb 2001 11:35:01 -0800 (PST) From: Lonnie Cumberland Subject: tutorial section To: pgsql-interfaces@postgresql.org In-Reply-To: <200102211853.NAA28140@candle.pha.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Archive-Number: 200102/146 X-Sequence-Number: 1103 Hello all, Well, I am slowly getting a feel for PostgreSQL and have even been able to get some things to compile in the libpq++ examples section. I was recently working in the "tutorial" section trying to run the demo "complex" and "funcs" which by the way compiled fine after I made some path corrections. After I started up "psql -s" like the README says, I did "\i complex.sql" and it started the complex script. The problem came when I got the loading the "complex.so" file which is now resulting in "Permission denied" for some reason, even though I have the correct file permissions set. ----------------------------------------------------------------------- Type: \copyright for distribution terms \h for help with SQL commands \? for help on internal slash commands \g or terminate with semicolon to execute query \q to quit lonnie=# \i complex.sql ***(Single step mode: Verify query)******************************************** * CREATE FUNCTION complex_in(opaque) RETURNS complex AS '/home/lonnie/postgresql-7.0.3/src/tutorial/complex.so' LANGUAGE 'c'; ***(press return to proceed or enter x and return to cancel)******************* * psql:complex.sql:32: ERROR: stat failed on file '/home/lonnie/postgresql-7.0.3 /src/tutorial/complex.so': Permission denied ***(Single step mode: Verify query)******************************************** ------------------------------------------------------------------------------- does someone have an ideas as to what is going on here? Cheers, Lonnie __________________________________________________ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices! http://auctions.yahoo.com/