The problem with Marc Liyanage's startup script is that it points to
his install. So if you want to install via Fink, you're going to have
to find where fink put your data. Marc Liyanage's package installs in
the default unix location of /usr/local/pgsql/, with the data in
/usr/local/pgsql/data. My guess is that fink puts a pgsql folder
somewhere in the /sw directory, and within that is the data file. So
when you start postmaster, you need to start it with the -D flag
pointing there.
That being said, I would recommend his package, it has jdbc and
readline support built in, comes with the jdbc drivers, and all that
fun stuff.
On Sunday, December 15, 2002, at 10:22 AM, Mat Rice wrote:
> On 12/15/02 10:35 AM, "David C. Oshel" <dcoshel@inav.net> wrote:
>
>> Hi, Mat -
>>
>> Check out Marc Liyanage's page at
>> http://www.entropy.ch/software/macosx/postgresql/
>>
>> He has a StartupItem that should do nicely. It installs as a package
>> (as does his excellent 7.3 binary). The script, located at
>> /Library/StartupItems/PostgreSQL/PostgreSQL can be examined with
>> TextEdit, and is _almost_ self-explanatory.
>>
>> sudo /Library/StartupItems/PostgreSQL/PostgreSQL { start | stop }
>>
>> does the trick.
>>
>> D
>
> I've seen Marc's packages and have heard great things about them. My
> only
> reservation is that everything else UNIXy has been installed via Fink
> and I
> am trying to avoid different distro's if possible. Also, I don't know
> if
> they play together well.
>
> However, I am about to give up and mix installations as I really want
> to get
> postgreSQL up and running.
>
> Thanks for the tip, maybe I'll just try the startup item alone to see
> if it
> works with my install before jumping into reinstalling the whole thing.
>
> ThanksRegards
> mAt
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html