Magnus Hagander wrote:

I want to create the litest possible setup for use in my IM server (Lightning Messenger), and eliminate any unneeded files so I can have the smallest setup I can get.

I already have a complete working setup built with Inno setup(it's 4.8 mb), now I just need to get it as lite as posssible.

Well, for starters, build from source. Don't enable things like SSL,
NLS, PLs etc. That'll give you smaller binaries.
You can skip a bunch of conversions if you're never going to need them.
ANd of course, you don't need things like libpostgres.a.
As for the actual binaries, you need postgres and postmaster. All the
rest are optional (though you're probably goping to want initdb).  The
only DLL needed should be libpq.dll - assuming you didn't put in support
for ssl, kerberos, nls etc.


you also probably want pg_ctl. It's pretty light, though.


cheers

andrew

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

              http://archives.postgresql.org

Reply via email to