Tom Lane napsal(a):
Zdenek Kotala <[EMAIL PROTECTED]> writes:
I attached patch which replaces any "--..." occurrence with "-c..." on command line.

Please see whether forcibly using src/port/getopt.c fixes this,
instead.  A saner patch would probably add something like this

if test "$PORTNAME" = "solaris"; then

Yeah, this is the best solution. I attach a patch. Is possible to backport it back to 8.3, 8.2?

Just for completeness Solaris getopt function has a extension which processes long option argument. This extension is called CLIP. This implementation collides with unusual getopt usage for long option processing in PostgreSQL.

More info are there:

By the way old solaris getopt version is similary with postgres implementation. :-)

                Thanks for help

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Reply via email to