@@ -143,7 +143,7 @@ get_val(HSParser * state, bool ignoreeq, bool *escaped)
143143st = GV_INESCVAL ;
144144}
145145else
146- elog (ERROR ,"Unknown state %d atpostion line %d in file '%s'" ,st ,__LINE__ ,__FILE__ );
146+ elog (ERROR ,"Unknown state %d atposition line %d in file '%s'" ,st ,__LINE__ ,__FILE__ );
147147
148148state -> ptr ++ ;
149149}
@@ -195,11 +195,11 @@ parse_hstore(HSParser * state)
195195}
196196else if (* (state -> ptr )== '\0' )
197197{
198- elog (ERROR ,"Unexpectd end of string" );
198+ elog (ERROR ,"Unexpected end of string" );
199199}
200200else if (!isspace ((unsignedchar )* (state -> ptr )))
201201{
202- elog (ERROR ,"Syntax error near '%c' atpostion %d" ,* (state -> ptr ), (int4 ) (state -> ptr - state -> begin ));
202+ elog (ERROR ,"Syntax error near '%c' atposition %d" ,* (state -> ptr ), (int4 ) (state -> ptr - state -> begin ));
203203}
204204}
205205else if (st == WGT )
@@ -210,11 +210,11 @@ parse_hstore(HSParser * state)
210210}
211211else if (* (state -> ptr )== '\0' )
212212{
213- elog (ERROR ,"Unexpectd end of string" );
213+ elog (ERROR ,"Unexpected end of string" );
214214}
215215else
216216{
217- elog (ERROR ,"Syntax error near '%c' atpostion %d" ,* (state -> ptr ), (int4 ) (state -> ptr - state -> begin ));
217+ elog (ERROR ,"Syntax error near '%c' atposition %d" ,* (state -> ptr ), (int4 ) (state -> ptr - state -> begin ));
218218}
219219}
220220else if (st == WVAL )
@@ -247,7 +247,7 @@ parse_hstore(HSParser * state)
247247}
248248else if (!isspace ((unsignedchar )* (state -> ptr )))
249249{
250- elog (ERROR ,"Syntax error near '%c' atpostion %d" ,* (state -> ptr ), (int4 ) (state -> ptr - state -> begin ));
250+ elog (ERROR ,"Syntax error near '%c' atposition %d" ,* (state -> ptr ), (int4 ) (state -> ptr - state -> begin ));
251251}
252252}
253253else
@@ -271,7 +271,7 @@ comparePairs(const void *a, const void *b)
271271if (res )
272272return res ;
273273
274- /* guarantee thatneddfree willl be later */
274+ /* guarantee thatneedfree will be later */
275275if (((Pairs * )b )-> needfree == ((Pairs * )a )-> needfree )
276276return 0 ;
277277else if (((Pairs * )a )-> needfree )