From: | Jan Wieck <janwieck(at)yahoo(dot)com> |
---|---|
To: | Barry Lind <barry(at)xythos(dot)com> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Henshall, Stuart - WCP" <SHenshall(at)westcountrypublications(dot)co(dot)uk>, Thomas Lockhart <lockhart(at)fourpalms(dot)org>, mlw <markw(at)mohawksoft(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Jan Wieck <janwieck(at)yahoo(dot)com>, "Marc G(dot) Fournier" <scrappy(at)hub(dot)org>, Dann Corbit <DCorbit(at)connx(dot)com>, Joel Burton <joel(at)joelburton(dot)com> |
Subject: | Re: PG+Cygwin Production Experience (was RE: Path to PostgreSQL |
Date: | 2002-05-09 19:20:23 |
Message-ID: | 200205091920.g49JKN402145@saturn.janwieck.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Barry Lind wrote:
> I have found this whole thread very interesting (I'm still not sure
> where it is going though :-). But let me throw in some of my thoughts.
>
> A windows version of postgres (whether native of cygwin based) is
> important. I have many developers with windows as their desktop OS and
> they have a postgres db installed to do development work. Postgres on
> cygwin is fine for this need. While I may not trust it in a production
> environment it is certainly good enough for development.
>
> A second use we have for postgres on windows is in evals of our product.
> We provide an eval version of our software as an InstallShield
> installed .exe that includes our code, postgres and the necessary cygwin
> parts. People doing evals just want to install the eval on their
> everyday machine (most likely running windows) and it needs to be dead
> simple to install. This can be done with postgres and cygwin. In this
> example again the current postgres+cygwin works well enough for our
> evals. Again I wouldn't run the production version in this environment,
> but it is good enough for an eval.
>
> Our eval does show that it is possible to repackage postgres plus the
> parts of cygwin it needs into a nice installer and have it work. (It is
> a lot of work but is certainly possible). In fact in our eval install
> we even use cygrunsrv to install postgres as a windows service.
>
> The biggest problem we have had is the fact that the utility scripts
> (like pg_ctl, createdb, etc) are all shell scripts that call a whole
> host of other utilities. It is pretty straight forward to package up
> the postgres executable and the libraries it needs from cygwin. It is a
> whole different problem making sure you have a standard unix style shell
> environment with all the utilities installed so that you can run the
> shell scripts.
Do I read this right? You wrap the binary eval version of
your product, the binary PostgreSQL and CygWin including some
of the utility programs into one InstallShield .exe and ship
that?
Hmmm, PostgreSQL's license is totally fine with that. And
your program is your program. But as far as I know bundling
with CygWin like this costs money. So you pay license fees to
RedHat for shipping eval copies of your product and don't see
any value in a native Windows port? Nobel, nobel, or does
your product have such an outstanding eval/sell ratio that it
doesn't matter?
Jan
>
> thanks,
> --Barry
>
> Tom Lane wrote:
> > "Henshall, Stuart - WCP" <SHenshall(at)westcountrypublications(dot)co(dot)uk> writes:
> >
> >>Cygwin is not the only additon needed, cygipc will also be needed (GPL)
> >>(see: http://www.neuro.gatech.edu/users/cwilson/cygutils/cygipc/index.html )
> >
> >
> > Good point, but is this a requirement that we could get rid of, now that
> > we have the SysV IPC stuff somewhat isolated? AFAICT cygipc provides
> > the SysV IPC API (shmget, semget, etc) --- but if there are usable
> > equivalents in the basic Cygwin environment, we could probably use them
> > now.
> >
> > Considering how often we see the forgot-to-start-cygipc mistake,
> > removing this requirement would be a clear win.
> >
> > regards, tom lane
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 3: if posting/reading through Usenet, please send an appropriate
> > subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> > message can get through to the mailing list cleanly
> >
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>
--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck(at)Yahoo(dot)com #
From | Date | Subject | |
---|---|---|---|
Next Message | Hannu Krosing | 2002-05-09 19:31:24 | Re: How much work is a native Windows application? |
Previous Message | Hannu Krosing | 2002-05-09 19:17:24 | Re: Issues tangential to win32 support |