Thread: ecpg fix

ecpg fix

From
Pierce Tyler
Date:
Here's a small fix to the ecpg-ref file. Apparently, if the "TO"
isn't included, an error message will be returned.

Thanks,
Pierce
--
--------------------------------------------------------------
Pierce Tyler                    | e: pierce@greatbridge.com
Technical Writer                | p: (757)233-5544
Great Bridge, LLC               | w: www.greatbridge.com
                                     www.greatbridge.org*** ref-symlink/ecpg-ref.sgml    Mon Dec 25 18:15:26 2000
--- ecpg-ref.sgml    Mon Mar 19 10:04:33 2001
***************
*** 291,297 ****
      One connects to a database using the following:

      <programlisting>
! EXEC SQL CONNECT <replaceable>dbname</replaceable>;
      </programlisting>

      where the database name is not quoted. Prior to version 2.1.0, the
--- 291,297 ----
      One connects to a database using the following:

      <programlisting>
! EXEC SQL CONNECT TO<replaceable>dbname</replaceable>;
      </programlisting>

      where the database name is not quoted. Prior to version 2.1.0, the

Re: ecpg fix

From
Peter Eisentraut
Date:
Pierce Tyler writes:

> Here's a small fix to the ecpg-ref file. Apparently, if the "TO"
> isn't included, an error message will be returned.

> ! EXEC SQL CONNECT <replaceable>dbname</replaceable>;

> ! EXEC SQL CONNECT TO<replaceable>dbname</replaceable>;

But if the space is omitted it won't work either. ;-)

--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/


Re: ecpg fix

From
Pierce Tyler
Date:
Good point. Thanks.
Pierce

Peter Eisentraut wrote:
>
> Pierce Tyler writes:
>
> > Here's a small fix to the ecpg-ref file. Apparently, if the "TO"
> > isn't included, an error message will be returned.
>
> > ! EXEC SQL CONNECT <replaceable>dbname</replaceable>;
>
> > ! EXEC SQL CONNECT TO<replaceable>dbname</replaceable>;
>
> But if the space is omitted it won't work either. ;-)
>
> --
> Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/

--
--------------------------------------------------------------
Pierce Tyler            | e: pierce@greatbridge.com
Technical Writer        | p: (757)233-5544
Great Bridge, LLC        | w: www.greatbridge.com
                     www.greatbridge.org

Re: ecpg fix

From
Peter Eisentraut
Date:
Pierce Tyler writes:

> Here's a small fix to the ecpg-ref file. Apparently, if the "TO"
> isn't included, an error message will be returned.

Done.

--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/