> Is there a way to do that without too much (mwahahhaha! fiddling with > pg_class!!!) trickery?
esp=# alter table test add primary key(id); NOTICE: ALTER TABLE / ADD PRIMARY KEY will create implicit index "test_pkey" for table "test" ALTER TABLE ---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend