Update Ordering Using Non-Indexed Fields

Поиск
Список
Период
Сортировка
От Benjamin Hurt
Тема Update Ordering Using Non-Indexed Fields
Дата
Msg-id 1336776716.98079.YahooMailClassic@web160501.mail.bf1.yahoo.com
обсуждение исходный текст
Список pgsql-novice
I have a table foo (d,f,mj,mn) where (d,f) is the primary unique key and the only index. I've added a new sequence and
anew integer column v and would like to insert into v using this new sequence but using the sort order of (mj,mn)
insteadof (d,f), which is how it's working if I do a simple "update foo set v = nextval('inc')". What's the best way to
accomplishthis ?  

В списке pgsql-novice по дате отправления:

Предыдущее
От: Jayadevan M
Дата:
Сообщение: Re: I am NOT a programmer!
Следующее
От: Daniel Staal
Дата:
Сообщение: Text search language field