Bruce Momjian wrote:


I did not include pg_logdir_ls because that was basically pg_ls_dir with
logic to decode the log file name and convert it to a timestamp.  That
seemed best done in the client.

IMHO omitting pg_logdir_ls is a bad idea, because the function is intended to hide server internal's naming scheme from the user. We want as few server side implementation specific client side code as possible. In addition, pg_logdir_ls filters files that are not log files. You'll probably have trouble writing a query that performes this task.

Regards,
Andreas

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to [EMAIL PROTECTED] so that your
      message can get through to the mailing list cleanly

Reply via email to