Problem - Mailing list pgsql-sql

From Hitesh Kumar Gulati
Subject Problem
Date
Msg-id 36549C92.660@plasma.ernet.in
Whole thread Raw
List pgsql-sql
How to update a particular element of a field of data type array .
I am using update and set combined statement .It is accepting but it is
not displaying with select statement.
--  create table test(
                          shotno      int4 not null,
                          data        int2[],
                          constraint chk_shot check(shotno >= 0)
                       );
     update test set data[1]= %d where shotno=2929;


                    Hitesh kumar Gulati
                    E-mail-:hkg@plasma.ernet.in
                    Ph. (079)-2864023 (O)
                    Engineer - SC
                    Institute For Plasma Research
                    Near Indira Bridge
                    Bhat Gandhinagar(GUJARAT)

pgsql-sql by date:

Previous
From: Bruno Feurer
Date:
Subject: Merging databases
Next
From: "G. Anthony Reina"
Date:
Subject: Postgres installed but my C programs won't compile