Home > Archive > PostgreSQL Patches > December 2006 > typo in contrib/hstore/hstore_io.c









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author typo in contrib/hstore/hstore_io.c
Filip RembiaƂkowski

2006-12-05, 7:19 pm

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

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Neil Conway

2006-12-05, 7:19 pm

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
> {
>
>



---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com