postgresql logs

From: Marc Fromm <Marc(dot)Fromm(at)wwu(dot)edu>
To: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: postgresql logs
Date: 2010-09-22 17:18:49
Message-ID: 8938CAF49A00EF419310D5C6F6C72E99017A21EEB5@ExchMailbox2.univ.dir.wwu.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

In my postgresql logs, found in the pg_log folder, there are several sql syntax errors where the sql statement is broken up with the characters "^M". The error is at the first field name that is broken up by the ^M as shown below in the example. The ^M breaks up the field reference2zip by splitting it into "r^M" and "eference2zip".

Example
-ERROR: syntax error at or near "eference2zip" at character 699

INSERT INTO loan_requests (loantype,loan_amt,studentfname,studentlname,studentid,studentdlicense,studentemail,curstudentstreet,curstudentcity,curstudentstate,curstudentzip,curstudentcountry,curstudentphone,permstudentstreet,permstudentcity,permstudentstate,permstudentzip,permstudentcountry,permstudentphone,employername,employerstreet,employercity,employerstate,employerzip,employercountry,parentfname,parentlname,parentstreet,parentcity,parentstate,parentzip,parentcountry,parentphone,reference1fname,reference1lname,reference1street,reference1city,reference1state,reference1zip,reference1country,reference1phone,reference2fname,reference2lname,reference2street,reference2city,reference2state,r^M
eference2zip,reference2country,reference2phone,explanation,reason,status) VALUES ('zzz','zzz','zzz','zzz','zzz','zzz','zzz^M
zzz', . . . )

Any ideas on what is generating the ^M and breaking up the sql statement so that it cannot be executed?

Marc

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Plugge, Joe R. 2010-09-22 17:27:24 Re: postgresql logs
Previous Message Joe Carr 2010-09-22 16:37:02 FATAL: the database system is starting up