John Gotts wrote:
  >We're experiencing a problem with the parser with both 6.5.3 and 7.0.2.
 
  >ERROR:  parser: parse error at or near "position"
  >fmfts=# insert into contact_people (user_id,name,"position",email_address) v
      >alues ('jgotts','hello',null,null);
  >INSERT 20402 1
  >
  >The problem also appears with libpq.
  >
  >Any idea why this would occur?
 
POSITION is a SQL reserved word.

e.g.:
SELECT POSITION ('bc' IN 'abcd');
 strpos 
--------
      2
(1 row)


-- 
Oliver Elphick                                [EMAIL PROTECTED]
Isle of Wight                              http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47  6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "Honour thy father and mother; which is the first  
      commandment with promise; That it may be well with 
      thee, and thou mayest live long on the earth."        
                          Ephesians 6:2,3 


Reply via email to