| От | Jeff Davis |
|---|---|
| Тема | database field "pointer" |
| Дата | |
| Msg-id | 200110102041.NAA08770@smtp.ucsd.edu обсуждение исходный текст |
| Ответы |
Re: database field "pointer"
|
| Список | pgsql-general |
I was wondering is there is a good method to make a database field a
pointer, similar to C. Here is an example I made up of why this could be
useful:
Suppose I have a table 'coworkers' with 2 email address fields: work_email
and home_email. It would be useful to have another field that was something
like 'preferered_email' that pointed to one or the other. Then, updates would
only need to happen once, and it would be easy to change back and forth.
Tell me if there is some better, more sensible method to accomplish this
task.
Thanks,
Jeff Davis
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера