| От | Tom Lane |
|---|---|
| Тема | Re: Simulating sequences |
| Дата | |
| Msg-id | 28523.1061229541@sss.pgh.pa.us обсуждение |
| Ответ на | Simulating sequences ("Vilson farias" <vilson.farias@digitro.com.br>) |
| Список | pgsql-general |
"Vilson farias" <vilson.farias@digitro.com.br> writes:
> Let's suppose I can't use sequences (it seams impossible but my boss
> doesn't like specific database features like this one).
If sequences could be effectively replaced by standard SQL operations,
we would not have bothered to invent them. Nor would other databases
have bothered to invent their comparable features (autoincrement in
MySQL, etc). Your boss has got his head screwed on backwards on this
point --- writing a sequence replacement will not work well, and will
not be markedly more portable to other databases.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера