I wonder if there could be a potential problem with using this approach - checking on $USER == root.Although it is a common practice, I think a superuser does not have to be root.
Yes, like the 'toor' account in FreeBSD... (disabled by default though) Chris ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org