English 中文(简体)
我该用哪一种?
原标题:MacOS: have somehow ended up with two versions of postgres, which should I use?

我在MacOS狮子上安装了来自MacPorts的海报。我现在对下一步要做什么感到困惑,因为我找不到一套清晰的关于设置的文件。

我最后在机器上印有两种版本的后盖克,一种在/usr/bin/psql ,一种在/usr/local/pgsql/bin/psql

总之,鉴于我最后有两种版本:

  1. Which of these should I add to my path?
  2. Should I delete the other one?
  3. Some sets of documentation say I should make sure some of the postgres directories are owned by the postgres user. Is this correct?

谢谢你的帮助

问题回答

它取决于您想要什么。 如果您正在试图分发将运行在狮子身上的软件, 请使用随操作系统而来的版本。 如果您想要使用带有其他主要功能的最新版本, 请使用最新的版本 。

一般说来,我建议,如果你想分发自己的软件,我建议坚持通用的分发版本。





相关问题
摘录数据

我如何将Excel板的数据输入我的Django应用? I m将PosgreSQL数据库作为数据库。

Postgres dump of only parts of tables for a dev snapshot

On production our database is a few hundred gigabytes in size. For development and testing, we need to create snapshots of this database that are functionally equivalent, but which are only 10 or 20 ...

How to join attributes in sql select statement?

I want to join few attributes in select statement as one for example select id, (name + + surname + + age) as info from users this doesn t work, how to do it? I m using postgreSQL.

What text encoding to use?

I need to setup my PostgreSQL DB s text encoding to handle non-American English characters that you d find showing up in languages such as German, Spanish, and French. What character encoding should ...

SQL LIKE condition to check for integer?

I am using a set of SQL LIKE conditions to go through the alphabet and list all items beginning with the appropriate letter, e.g. to get all books where the title starts with the letter "A": SELECT * ...

热门标签