Thread: ecpg -e

ecpg -e

From
Lynn.Tilby@asu.edu
Date:
I am running 7.1.3... The docs for ecpg in 7.1.3 don't have the -e
option in them!

YET, ecpg -e WORKS!!! for solving the vacuum problem.

Just WHAT does the -e option in ecpg do????

Thanks for the info...
Lynn

Re: ecpg -e

From
Michael Meskes
Date:
On Wed, Dec 03, 2003 at 02:24:49PM -0700, Lynn.Tilby@asu.edu wrote:
> I am running 7.1.3... The docs for ecpg in 7.1.3 don't have the -e
> option in them!
>
> YET, ecpg -e WORKS!!! for solving the vacuum problem.
>
> Just WHAT does the -e option in ecpg do????

Are you sure you mean '-e'?

ecpg.c in 7.1.3 says:
...
while ((c = getopt(argc, argv, "vo:I:tD:d")) != EOF)
...

I do not see a -e here.

Michael
--
Michael Meskes
Email: Michael at Fam-Meskes dot De
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!

Re: ecpg -e

From
Michael Meskes
Date:
On Sun, Dec 07, 2003 at 04:22:53PM -0700, Lynn.Tilby@asu.edu wrote:
> Yes, '-e' is the argument.  I possibly could have upgraded the
> code without upgrading the docs....
>
> Here is the version output from ecpg...
> Let me know if this version of ecpg matches the 7.1.3 docs...
>
> [postgres@polaris bin]$ ecpg -V
> ecpg: invalid option -- V
> ecpg - the postgresql preprocessor, version: 2.8.0

Yes, this is the version that came with 7.1.3 AFAIRC. And yes, it
already had the option '-t' in the same function as today, but I cannot
find anything about an option '-e'.

Michael
--
Michael Meskes
Email: Michael at Fam-Meskes dot De
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!

Re: ecpg -e

From
Lynn.Tilby@asu.edu
Date:
Michael,

Yes, '-e' is the argument.  I possibly could have upgraded the
code without upgrading the docs....

Here is the version output from ecpg...
Let me know if this version of ecpg matches the 7.1.3 docs...

[postgres@polaris bin]$ ecpg -V
ecpg: invalid option -- V
ecpg - the postgresql preprocessor, version: 2.8.0
Usage: ecpg:  [-v] [-t] [-I include path] [ -o output file name] [-D define
name] file1 [file2] ...
[postgres@polaris bin]$

Thanks for your help!
Lynn


Quoting Michael Meskes <meskes@postgresql.org>:

> On Wed, Dec 03, 2003 at 02:24:49PM -0700, Lynn.Tilby@asu.edu wrote:
> > I am running 7.1.3... The docs for ecpg in 7.1.3 don't have the -e
> > option in them!
> >
> > YET, ecpg -e WORKS!!! for solving the vacuum problem.
> >
> > Just WHAT does the -e option in ecpg do????
>
> Are you sure you mean '-e'?
>
> ecpg.c in 7.1.3 says:
> ...
> while ((c = getopt(argc, argv, "vo:I:tD:d")) != EOF)
> ...
>
> I do not see a -e here.
>
> Michael
> --
> Michael Meskes
> Email: Michael at Fam-Meskes dot De
> ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
> Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
>       subscribe-nomail command to majordomo@postgresql.org so that
> your
>       message can get through to the mailing list cleanly
>