Bruce Momjian wrote:
>
> Uh, I just added /contrib/adminpack a few weeks ago to CVS, which does
> this, and more. Sorry I forgot to mark the TODO item as completed.
Huh, how do you read files with adminpack? I only see
Datum pg_file_write(PG_FUNCTION_ARGS);
Datum pg_file_rename(PG_FUNCTION_ARGS);
Datum pg_file_unlink(PG_FUNCTION_ARGS);
Datum pg_logdir_ls(PG_FUNCTION_ARGS);
--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.