Re: pgsql 7.4 on minimal environment - Mailing list pgsql-general

From Victor B. Berdin
Subject Re: pgsql 7.4 on minimal environment
Date
Msg-id 004101c3be91$d57759d0$5501a8c0@zxiv1001
Whole thread Raw
In response to pgsql 7.4 on minimal environment  ("Victor B. Berdin" <vic@digi.com.ph>)
Responses Re: pgsql 7.4 on minimal environment
Re: pgsql 7.4 on minimal environment
List pgsql-general
Hi Keith, everyone,

I'm sure you've caugth my last message as I was too hasty to post my
replies
right away. Anyways, it turned out that the only cause of my problem is
that
I 've applied "upx" on the binaries. It works though for my standard
Slackware
setup, but it does not for the busybox environment. Reverting the
affected
binaries to their original (un-upx'd) form fixes the problem.
Even though it may no longer be relevant, here're some more details as
to
what I'm trying to do (which I also find very exciting):

----- Original Message -----
From: "Keith C. Perry" <netadmin@vcsn.com>
To: "Victor B. Berdin" <vic@digi.com.ph>
Cc: <pgsql-general@postgresql.org>
Sent: Monday, December 08, 2003 9:24 AM
Subject: Re: [GENERAL] pgsql 7.4 on minimal environment


> What does "dev't" mean?  I'm talking that to mean development machine.
If so,

Yes, that's exactly what it means.

> then I'm not understanding why (or how for that matter) you are
embedding the
> environment.  Please advise...

Ok, the minimal environment will host a sort of POS (system) that uses
PGSQL
as its DB. We find PGSQL as the most rich, mature, stable, and fast open
source
DB around. Trully, it is :o).

> Ok, It's been awhile since I've messed with busybox.  At the time, I
found it to
> be very confusing and awkward to build products from scratch.
However, I have
> notice of previous Slackware installs that the busybox builds did not
have have
> "full" commands.  For example a command like "ls -lh" on the Slackware
9.0
> bootdisks (NOT the CD) did not work because the "h" parameter was not
recognized
> by the command.  Of course in a full install it would be.
> If there are minor differences there, there *could* be minor
differences
> elsewhere.  Again, I don't quite understand busybox that well so maybe
this is
> not an issue for you.  SEGV are memory violation errors so I'm
wondering if how
> you're using the ramdisk is an issue.  I would think that if the
entire runtime
> FS was not on the ramdisk you would get a problem.  At the very least,
/tmp and
> /var also would need to be there too.  A certain test would be take a
test box
> with pg on in run some queries (regression tests would probably be a
good
> candidate) and then do a "find / -cmin -5".  The 5 should be ajusted
for the
> amount of time you were using the database.  That command would give
you a idea
> of what paths needs to be on the ramdisk.

Well actually, we're done with regressions, for our older products that
uses
PGSQL 7.1.2 at least. And now that 7.4 is here, it's worth giving a shot
at
embedding it for our newer products. And I strongly believe it will
work!
Anyways, we can always revert to the older versions if it doesn't. And
btw,
this may sound crazy but, I also had XF86-4.30 running on the said
minimal/
busybox environment, including the standard MozillaFirebird (just for
kicks).
The environment still requires a lot of stripping though, but after
seeing "initdb"
and "pg_ctl" finally work, I'm all smiles already :o).

Once more, many thanks!

Best regards - Vic


pgsql-general by date:

Previous
From: Joe Conway
Date:
Subject: Re: dblink questions
Next
From: Tom Lane
Date:
Subject: Re: pgsql 7.4 on minimal environment