jrgemignani commented on issue #313:
URL: https://github.com/apache/age/issues/313#issuecomment-1272170559

   @rafsun-yu You need to have PostgreSQL installed under a development 
account, not root nor an admin account. 
   
   For me, as an example, I have a user account **jgemignani** on my home 
server with a home directory of **/home/jgemignani** and all of the PostgreSQL 
versions and AGE github repos that I use are under that account. This 
eliminates the need to use root or sudo for builds and for any management of 
the databases you use for testing. This keeps it all local.
   
   Using root or sudo for builds is dangerous. You can easily mess up your 
system. Additionally, if this were a company provided server that you were 
sharing with other developers, you wouldn't have the privileges to use root nor 
sudo. You would need to install all of this under your own development account. 
The unix admin would make sure issues with security packages blocking gdb from 
debugging you processes, like above, were resolved.
   
   So, **everyone** who hasn't installed PostgreSQL and AGE under their own 
development accounts, needs to go back and redo their development environments. 
   
   Additionally, if PostgreSQL is installed on the system, under root, you will 
need to either disable it from starting or uninstall it altogether. This is 
because they will share the default port of 5432.
   
   Hopefully, this helps. If you have additional questions on setting up your 
account, please let me know.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to