Re: pg_dump.options.diff -- Take III

From: "Serguei Mokhov" <mokhov(at)cs(dot)concordia(dot)ca>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Manfred Koizar" <mkoi-pg(at)aon(dot)at>, "Peter Eisentraut" <peter_e(at)gmx(dot)net>, "PostgreSQL Patches" <pgsql-patches(at)postgresql(dot)org>, "PostgreSQL Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_dump.options.diff -- Take III
Date: 2003-01-03 23:41:33
Message-ID: 019001c2b381$a706f7c0$0301a8c0@gunnymede.lan
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

hmmm... hate to resend it, but i have never seen this passing through...
re-attempt

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

> ----- Original Message -----
> From: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)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

Browse pgsql-hackers by date

  From Date Subject
Next Message Serguei Mokhov 2003-01-04 00:14:17 Re: Upgrading rant.
Previous Message Bruce Momjian 2003-01-03 23:31:41 Re: Upgrading rant.

Browse pgsql-patches by date

  From Date Subject
Next Message Peter Eisentraut 2003-01-04 10:27:21 Re: Fix for HP-UX shared library builds
Previous Message Patric Bechtel 2003-01-03 15:20:01 New Patch for streaming result sets, now Nicks last patch incorporated