Re: RFC: Update wizard - Mailing list pgadmin-hackers

From Andreas Pflug
Subject Re: RFC: Update wizard
Date
Msg-id 41B08F4C.9040803@pse-consulting.de
Whole thread Raw
In response to Re: RFC: Update wizard  ("Dave Page" <dpage@vale-housing.co.uk>)
List 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 by date:

Previous
From: "Dave Page"
Date:
Subject: Re: RFC: Update wizard
Next
From: "Dave Page"
Date:
Subject: Re: RFC: Update wizard