Re: OK, lets talk portability.

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Hannu Krosing" <hannu(at)tm(dot)ee>
Cc: <jm(dot)poure(at)freesurf(dot)fr>, "mlw" <markw(at)mohawksoft(dot)com>, "Dann Corbit" <DCorbit(at)connx(dot)com>, "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: OK, lets talk portability.
Date: 2002-05-09 08:05:33
Message-ID: 214E9C0A75426D47A876A2FD8A07426E9748@salem.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> -----Original Message-----
> From: Hannu Krosing [mailto:hannu(at)tm(dot)ee]
> Sent: 09 May 2002 09:57
> To: Dave Page
> Cc: jm(dot)poure(at)freesurf(dot)fr; mlw; Dann Corbit; PostgreSQL-development
> Subject: Re: [HACKERS] OK, lets talk portability.
>
>
> On Thu, 2002-05-09 at 09:12, Dave Page wrote:
> >
> > Agreed. I develop pgAdmin using cygwin/postgresql on my laptop and
> > quite frankly it's a pain in the neck. I did notice when
> playing with
> > MySQL recently that it appears to use Cygwin, though *only*
> the .dll,
> > there is no installation of Cygwin required. Perhaps if we
> could get
> > to roughly that stage it would be good. Of course we'd also
> need a few
> > things from /bin like sh for example.
>
> Are you sure sh and friends are absolutely needed ?
>
> I'm sure we can replace most scripts with .bat files or just
> do without them (tell peole to use CREATE DATABSE instead of
> createdb, etc.)
>
> And instead of initdb we could just install ready-made
> $PGSQL/data directory.

Yes, we could do that quite easily in which case only the .dll should be
required.

Probably the only required scripts would be:

pg_dumpall
initlocation

I have doubts about how easily initlocation could be rewritten as a
batch file though...

Regards, Dave.

Browse pgsql-hackers by date

  From Date Subject
Next Message Jean-Michel POURE 2002-05-09 08:09:04 Re: Path to PostgreSQL portabiliy
Previous Message Dave Page 2002-05-09 07:42:18 Re: Path to PostgreSQL portabiliy