how to update a column - Mailing list pgsql-interfaces

From dbuechel@tiscali.ch
Subject how to update a column
Date
Msg-id 3FC6F87D0000A464@mx1.tiscali.ch
Whole thread Raw
Responses Re: how to update a column
List pgsql-interfaces
Hello,

I want to update only one colomn ('cout') of a PostgreSQL table (table name:
aretes; colomns: gid, long, vit, acces, cout). For each line of the table
I calculate the 'cout' attribut with Python, then I want to update the
'cout'attribut of each line with the new value. I tried with the update
function
of the pg module, but it wasn't sucessfull.

Can anyone give me some help or an example of an update command?

Thanks
Daniela








pgsql-interfaces by date:

Previous
From: Dave Cramer
Date:
Subject: Re: ecpg in Version 7.4
Next
From: "D'Arcy J.M. Cain"
Date:
Subject: Re: how to update a column