Thread: Replace incorrect example for quote_ident

Replace incorrect example for quote_ident

From
"Greg Sabino Mullane"
Date:
Index: func.sgml
===================================================================
RCS file: /projects/cvsroot/pgsql-server/doc/src/sgml/func.sgml,v
retrieving revision 1.217
diff -c -r1.217 func.sgml
*** func.sgml    10 Aug 2004 00:55:03 -0000    1.217
--- func.sgml    12 Aug 2004 18:37:20 -0000
***************
*** 1179,1186 ****
      non-identifier characters or would be case-folded).
      Embedded quotes are properly doubled.
         </entry>
!        <entry><literal>quote_ident(`Foo`)</literal></entry>
!        <entry><literal>"Foo"</literal></entry>
        </row>

        <row>
--- 1179,1186 ----
      non-identifier characters or would be case-folded).
      Embedded quotes are properly doubled.
         </entry>
!        <entry><literal>quote_ident(`Foo bar`)</literal></entry>
!        <entry><literal>"Foo bar"</literal></entry>
        </row>

        <row>



Re: Replace incorrect example for quote_ident

From
Bruce Momjian
Date:
Patch applied.  Thanks.

---------------------------------------------------------------------------


Greg Sabino Mullane wrote:
>
> Index: func.sgml
> ===================================================================
> RCS file: /projects/cvsroot/pgsql-server/doc/src/sgml/func.sgml,v
> retrieving revision 1.217
> diff -c -r1.217 func.sgml
> *** func.sgml    10 Aug 2004 00:55:03 -0000    1.217
> --- func.sgml    12 Aug 2004 18:37:20 -0000
> ***************
> *** 1179,1186 ****
>       non-identifier characters or would be case-folded).
>       Embedded quotes are properly doubled.
>          </entry>
> !        <entry><literal>quote_ident(`Foo`)</literal></entry>
> !        <entry><literal>"Foo"</literal></entry>
>         </row>
>
>         <row>
> --- 1179,1186 ----
>       non-identifier characters or would be case-folded).
>       Embedded quotes are properly doubled.
>          </entry>
> !        <entry><literal>quote_ident(`Foo bar`)</literal></entry>
> !        <entry><literal>"Foo bar"</literal></entry>
>         </row>
>
>         <row>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073