Haha.. Thanks, Guilaume. Forgot to install. It works now!
ZY
On 28-Mar-2011, at 3:28 PM, Guillaume Lelarge wrote:
> Le 27/03/2011 14:51, Zheng Yang a écrit :
>> Hi,
>>
>> I managed to clone a copy of 9.1devel and compiled an binary from it. I also did a make in the 'contrib/file_fdw/'
folderand a file_fdw.so file is generated.
>>
>> But the following error occurs when I was trying to experiment with the file FDW:
>>
>> postgres=# CREATE FUNCTION file_fdw_handler() RETURNS fdw_handler AS 'file_fdw' LANGUAGE C STRICT;
>> ERROR: could not access file "file_fdw": No such file or directory
>> STATEMENT: CREATE FUNCTION file_fdw_handler() RETURNS fdw_handler AS 'file_fdw' LANGUAGE C STRICT;
>> ERROR: could not access file "file_fdw": No such file or directory
>>
>>
>> Did I miss anything?
>>
>
> make install?
>
>
> --
> Guillaume
> http://www.postgresql.fr
> http://dalibo.com