RE: Inserting record into postgresql database

2011-03-14 Thread Meszaros, Stacy
.plus.com] Sent: Friday, March 11, 2011 7:32 PM To: python-list@python.org Subject: Re: Inserting record into postgresql database On 11/03/2011 22:08, Meszaros, Stacy wrote: > Hello all, > > I am using python 2.6 and the psycopg2 module for the postgres connection > The following code i

Re: Inserting record into postgresql database

2011-03-11 Thread MRAB
On 11/03/2011 22:08, Meszaros, Stacy wrote: Hello all, I am using python 2.6 and the psycopg2 module for the postgres connection The following code is supposed to insert a record into a table with a bytea field. (bytearray) I am having difficulty getting to field inserted properly. The snippet