Обсуждение: Setting up postgresql with xcode

Поиск
Список
Период
Сортировка

Setting up postgresql with xcode

От
Sumit Chaturvedi
Дата:
Hello everyone. I'm a third year student from IIT Bombay, India. Since I'm currently learning about databases, I wanted to debug postgresql with xcode. However, I am having a lot of problems. 
OS - 10.13.6 (High Sierra)
Xcode - 9.4.1

To set up my system, I tried to replicate the instructions found at https://wiki.postgresql.org/wiki/Working_with_Eclipse for my case. 

Everything proceeded fine until a point where I had to change the run configuration (scheme in xcode terms). I set the executable as postgre from /src/backend and gave the appropriate arguments. Then, when I pressed run, I got an error as shown in the attachment. 
To solve it, I set up my environment variables in xcode appropriately to make sure that locale information was reaching wherever it was needed. But even now, when I press run I get the same error. 

Hoping someone can share with me how they went about with their setup. 

--
Sumit Chaturvedi
Вложения

Re: Setting up postgresql with xcode

От
Ashesh Vashi
Дата:
This is a mailing list for pgAdmin.
Please send your mail to pgsql-general@postgresql.org.

On Sat, Jul 28, 2018, 13:08 Sumit Chaturvedi <sumit.chaturvedi@gmail.com> wrote:
Hello everyone. I'm a third year student from IIT Bombay, India. Since I'm currently learning about databases, I wanted to debug postgresql with xcode. However, I am having a lot of problems. 
OS - 10.13.6 (High Sierra)
Xcode - 9.4.1

To set up my system, I tried to replicate the instructions found at https://wiki.postgresql.org/wiki/Working_with_Eclipse for my case. 

Everything proceeded fine until a point where I had to change the run configuration (scheme in xcode terms). I set the executable as postgre from /src/backend and gave the appropriate arguments. Then, when I pressed run, I got an error as shown in the attachment. 
To solve it, I set up my environment variables in xcode appropriately to make sure that locale information was reaching wherever it was needed. But even now, when I press run I get the same error. 

Hoping someone can share with me how they went about with their setup. 

--
Sumit Chaturvedi