Thread: pgsql folder and its contents

pgsql folder and its contents

From
Alexander Cohen
Date:
Hi,

Im looking to remove everyth9ing that is not absolutely necessary in
the pgsql folder of my postgres server. Is there anyplace i can find
information on what all the files in lib, share and bin are for? Im
looking for somewhere or someone that can explain what each file
contained in those folders is used for. I am experimenting already but
i dont want to miss anything. Thanks.


--
Alexander Cohen
http://www.toomuchspace.com
(819) 348-9237
(819) 432-3443


Re: pgsql folder and its contents

From
Peter Eisentraut
Date:
Alexander Cohen wrote:
> Im looking to remove everyth9ing that is not absolutely necessary in
> the pgsql folder of my postgres server. Is there anyplace i can find
> information on what all the files in lib, share and bin are for? Im
> looking for somewhere or someone that can explain what each file
> contained in those folders is used for. I am experimenting already
> but i dont want to miss anything. Thanks.

If you use a packaging system (e.g., RPM, Debian) then you would have
several subpackages that contain only the files you need for specific
tasks.  (If you don't, download the packages anyway to find out how the
files are split up.)  Manually deleting particular files is a risky
process, and it depends on your configuration options, operating
system, and what you want to do with the system later on.  I would
advise against it, since no one is going to want to help you later on
if it turns out that you have manually butchered your system.


Re: pgsql folder and its contents

From
Alexander Cohen
Date:
I understand that, but i still really need some kind of reference on
what files do what. Does anything of that sort exist?

thanks!
--
Alexander Cohen
http://www.toomuchspace.com
(819) 348-9237
(819) 432-3443

On May 1, 2004, at 5:01 PM, Peter Eisentraut wrote:

> Alexander Cohen wrote:
>> Im looking to remove everyth9ing that is not absolutely necessary in
>> the pgsql folder of my postgres server. Is there anyplace i can find
>> information on what all the files in lib, share and bin are for? Im
>> looking for somewhere or someone that can explain what each file
>> contained in those folders is used for. I am experimenting already
>> but i dont want to miss anything. Thanks.
>
> If you use a packaging system (e.g., RPM, Debian) then you would have
> several subpackages that contain only the files you need for specific
> tasks.  (If you don't, download the packages anyway to find out how the
> files are split up.)  Manually deleting particular files is a risky
> process, and it depends on your configuration options, operating
> system, and what you want to do with the system later on.  I would
> advise against it, since no one is going to want to help you later on
> if it turns out that you have manually butchered your system.
>
>
>


Re: pgsql folder and its contents

From
Peter Eisentraut
Date:
Alexander Cohen wrote:
> I understand that, but i still really need some kind of reference on
> what files do what. Does anything of that sort exist?

Not really.  Read the man pages for the programs, use "strings" to see
what files they might open, use "ldd" to see what libraries are used,
delete all the include files and *.so and *.a development libraries if
you don't need them.  That's the best you can do.  Hint: for a server
system you can't delete anything except the header files and
development libraries.