Re: pg_dump.options.diff -- Take III - Mailing list pgsql-hackers

From Serguei Mokhov
Subject Re: pg_dump.options.diff -- Take III
Date
Msg-id 019001c2b381$a706f7c0$0301a8c0@gunnymede.lan
Whole thread Raw
List pgsql-hackers
hmmm... hate to resend it, but i have never seen this passing through...
re-attempt

----- Original Message -----
From: "Serguei Mokhov" <mokhov@cs.concordia.ca>
Sent: January 02, 2003 6:37 PM
Subject: Re: [HACKERS] pg_dump.options.diff -- Take III

> ----- Original Message -----
> From: "Tom Lane" <tgl@sss.pgh.pa.us>
> Sent: January 02, 2003 6:16 PM
>
> > static void
> > usage(void)
> > {
> > #if defined(HAVE_GETOPT_LONG)
> > #define xo(longOption,shortOption,desc)  printf("%s %s\n", longOption, desc)
> > #else
> > #define xo(longOption,shortOption,desc)  printf("%s %s\n", shortOption, desc)
> > #endif
> >
> > ... lots of xo() calls ...
> >
> > #undef xo
> > }
> >
> > This gives us the convenience of a very short name within the usage()
> > subroutines, while not polluting the namespace for everyplace else in
> > these utilities.
>
> Revised patch attached as per above.
>
> -s

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Upgrading rant.
Next
From: "Serguei Mokhov"
Date:
Subject: Re: Upgrading rant.