Skip site navigation (1) Skip section navigation (2)

Re: Problems with createdb in MacOsX.1

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Francis + Helena Madden <the(dot)maddens(at)btinternet(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Problems with createdb in MacOsX.1
Date: 2001-11-26 15:16:51
Message-ID: 12647.1006787811@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-general
Francis + Helena Madden <the(dot)maddens(at)btinternet(dot)com> writes:
> I've just upgraded my mac to osX.1 from 0.4, and postgresql (v7.1.2) 
> while appearing to work properly at first gives errors in creating and 
> deleting db's.

Apple broke the system() library function in 10.1, leading to crashes
in Postgres in the operations that rely on system() ... viz, CREATE
DATABASE and DROP DATABASE.

There is a workaround for this in 7.2b3.  If you aren't interested in
running beta code, you could possibly retrofit the fix into 7.1; it
involves adding the file system.c, see

http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/port/darwin/system.c

			regards, tom lane

In response to

pgsql-general by date

Next:From: Tom LaneDate: 2001-11-26 15:18:58
Subject: Re: Strange performance issue
Previous:From: Tom LaneDate: 2001-11-26 15:09:52
Subject: Re: DDL Exports w/ quotes?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group