Victor Whiskey Yankee <victor.whiskey.yankee@gmail.com> writes:
> Thank you for the reply... after I removed the "--disable-shared" I do see the $libdir/plpgsql.so. But I do not see
> any static libs, and "./configure" does not have an option to enable both static and shared..... so I guess it also
meansI cannot
> build postgress libs nor link my apps statically?
I'm a bit confused by this. There is no option to build plpgsql as a
static library, but that has nothing to do with linking your
applications. You should see static versions of the libraries that
are meant to be used client-side: libpq.a, ecpglib.a, etc.
In general, if you're looking for minimum resource footprint, it seems
to me that static libraries are not what you want anyway; you tend to
end up with N copies of the same code.
regards, tom lane