Re: RFC: Update wizard

Поиск
Список
Период
Сортировка
От Andreas Pflug
Тема Re: RFC: Update wizard
Дата
Msg-id 41B08F4C.9040803@pse-consulting.de
обсуждение исходный текст
Ответ на Re: RFC: Update wizard  ("Dave Page" <dpage@vale-housing.co.uk>)
Список pgadmin-hackers
Dave Page wrote:
>
>
>
>>-----Original Message-----
>>From: Andreas Pflug [mailto:pgadmin@pse-consulting.de]
>>Sent: 03 December 2004 15:24
>>To: Dave Page
>>Cc: pgadmin-hackers
>>Subject: Re: [pgadmin-hackers] RFC: Update wizard
>>
>>Dave Page wrote:
>>
>>>
>>>
>>>For a new install, get the file if it is newer than the build date.
>>
>>Where does the build date come from?
>
>
> __TDATE__ in the main executable. It's fairly safe to assume that a
> distribution will be compiled and packaged on the same day.

I was afraid you mentioned __TDATE__.
This is evaluated at compile time, i.e. precautions must be taken that
the file must be compiled even if unchanged.
Second, the date is formatted, i.e. we must unformat it
locale/lib/compiler/??? dependent before examining.

Regards,
Andreas

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: "Dave Page"
Дата:
Сообщение: Re: RFC: Update wizard
Следующее
От: "Dave Page"
Дата:
Сообщение: Re: RFC: Update wizard