Michael,
On 16/1/05 12:48 AM, "Michael Fuhr" <[EMAIL PROTECTED]> wrote: > On Fri, Jan 14, 2005 at 11:31:05PM -0500, Tom Lane wrote: >> "Fahad G." <[EMAIL PROTECTED]> writes: >>> -- Indexes >>> CREATE INDEX jobstat_lc_q4_2004_jobid ON jobstat_lc_q4_2004 USING btree >>> (jobid); >>> CREATE INDEX jobstat_lc_q4_2004_fetchtime ON jobstat_lc_q4_2004 USING btree >>> (fetchtime); >>> CREATE UNIQUE INDEX jobstat_lc_q4_2004_walltime ON >>> unq_jobstat_lc_q4_2004_jobid_fetch USING btree (jobid, fetchtime); > > The last index is created on a different table -- should it be > created on the table we're working with? And if so, are the columns > (jobid, fetchtime) correct? The index name suggests otherwise. > I'm sorry. My mistake again while copying indexes from the log. The index is: CREATE UNIQUE INDEX unq_jobstat_lc_q4_2004_jobid_fetch ON jobstat_lc_q4_2004 USING btree( jobid, fetchtime); So basically the unique index is on the same table. Regards, Fahad -- main(){int j=12345;char t[]=":aAbcdefFgGhijklmnNopqrsStuUvwyz \n", *i="dUGScUiAbpmwqbmgduAvpmmlzce\nlmGGUbFbzjdb";while(*i){j+= strchr(t,*i++)-t;j%=sizeof t-1;putchar(t[j]);}return 0;} ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])