Thread: typo in contrib/hstore/hstore_io.c

typo in contrib/hstore/hstore_io.c

From
"Filip Rembiałkowski"
Date:
diff -u pgsql/contrib/hstore/hstore_io.c pg/contrib/hstore/hstore_io.c
--- pgsql/contrib/hstore/hstore_io.c    2006-10-04 02:29:44.000000000 +0200
+++ pg/contrib/hstore/hstore_io.c       2006-12-05 16:30:36.000000000 +0100
@@ -195,7 +195,7 @@
                        }
                        else if (*(state->ptr) == '\0')
                        {
-                               elog(ERROR, "Unexpectd end of string");
+                               elog(ERROR, "Unexpected end of string");
                        }
                        else if (!isspace((unsigned char) *(state->ptr)))
                        {
@@ -210,7 +210,7 @@
                        }
                        else if (*(state->ptr) == '\0')
                        {
-                               elog(ERROR, "Unexpectd end of string");
+                               elog(ERROR, "Unexpected end of string");
                        }
                        else
                        {


--
Filip Rembiałkowski

Re: typo in contrib/hstore/hstore_io.c

From
Neil Conway
Date:
Applied to HEAD with some additional spelling fixes. Thanks for the
patch.

-Neil

On Tue, 2006-12-05 at 18:07 +0100, Filip Rembiałkowski wrote:
> diff -u pgsql/contrib/hstore/hstore_io.c pg/contrib/hstore/hstore_io.c
> --- pgsql/contrib/hstore/hstore_io.c    2006-10-04 02:29:44.000000000 +0200
> +++ pg/contrib/hstore/hstore_io.c       2006-12-05 16:30:36.000000000 +0100
> @@ -195,7 +195,7 @@
>                         }
>                         else if (*(state->ptr) == '\0')
>                         {
> -                               elog(ERROR, "Unexpectd end of string");
> +                               elog(ERROR, "Unexpected end of string");
>                         }
>                         else if (!isspace((unsigned char) *(state->ptr)))
>                         {
> @@ -210,7 +210,7 @@
>                         }
>                         else if (*(state->ptr) == '\0')
>                         {
> -                               elog(ERROR, "Unexpectd end of string");
> +                               elog(ERROR, "Unexpected end of string");
>                         }
>                         else
>                         {
>
>