| От | brian |
|---|---|
| Тема | Re: querying the age of a row |
| Дата | |
| Msg-id | 4668517E.9060503@zijn-digital.com обсуждение исходный текст |
| Ответ на | Re: querying the age of a row ("Lonni J Friedman" <netllama@gmail.com>) |
| Список | pgsql-general |
Lonni J Friedman wrote: > Unfortunately, its too late now. The database (and its tables) have > been around for a while, so even if I added this column, it wouldn't > help me for the thousands of pre-existing rows. Thanks though. > Please don't top-post. Assuming that the majority of the pre-existing rows are more than 24 hours old, there probably wouldn't be any harm in altering the table with the new column and assigning all present rows the timestamp for the moment you do this. Then just wait at least 24 hours before doing whatever it is you wish to do. Not perfect, but it doesn't seem like it would be a problem. brian
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера