| От | missive@frontiernet.net (Lee Harr) |
|---|---|
| Тема | Re: nextval, sequences and sequencenames |
| Дата | |
| Msg-id | 9lcl6q$1908$3@node21.cwnet.roc.gblx.net обсуждение исходный текст |
| Ответ на | nextval, sequences and sequencenames (Wieger Uffink <wieger@usmedia.nl>) |
| Ответы |
Re: nextval, sequences and sequencenames
|
| Список | pgsql-general |
> My question: > is there anyway of retreiving the sequence_name corresponding to the > respective column, > knowing just the tablename and columnname? > > The reason I need to do this, is because the application I write > dynamicly creates new tables, and I have no way of knowing the sequence > name before hand. > If it is very difficult finding that sequence name (I'm not sure) You may want to create the sequence yourself instead of using SERIAL. Then you would know the name.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера