Should a privileged port (<1024) be used to deploy Postgresql in production? I've never found a recommendation to run Postgresql on a privileged port in production. What type of port should be used in production regarding security and best practices?
Using a privileged port for Postgres would require the postgres daemon to run with root privileges, which in itself is a security vulnerability. So, no, you should not use a privileged port for Postgres.