From: dbuechel@tiscali.ch
To: pgsql-interfaces@postgresql.org
Subject: how to update a column
Date: Fri, 12 Dec 2003 08:16:39 +0100
Message-ID: <3FC6F87D0000A464@mx1.tiscali.ch> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: dbuechel@tiscali.ch
Subject: Re: how to update a column
In-Reply-To: <3FC6F87D0000A464@mx1.tiscali.ch>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox