| От | Csaba Nagy |
|---|---|
| Тема | Re: Renaming a constraint |
| Дата | |
| Msg-id | 1202314567.29220.73.camel@PCD12478 обсуждение исходный текст |
| Ответ на | Re: Renaming a constraint (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-general |
On Wed, 2008-02-06 at 11:03 -0500, Tom Lane wrote: > IIRC, the name of an FK constraint also appears in the arguments for its > triggers. If you didn't update those too, the behavior might be a bit > inconsistent, depending on which PG version you're using. In particular > I'm not sure which name pg_dump will believe. OK, I think I'll just give up on renaming them. How hard would be to implement renaming constraints as an alter table option ? It sounds to me like it should be a task requiring mostly legwork than programming skills, would it be good task for a beginner in C like me ? If it is at all regarded as a needed feature... Thanks, Csaba.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера