Re: RFC: Update wizard

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: RFC: Update wizard
Date: 2004-12-03 16:07:40
Message-ID: 41B08F4C.9040803@pse-consulting.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Dave Page wrote:
>
>
>
>>-----Original Message-----
>>From: Andreas Pflug [mailto:pgadmin(at)pse-consulting(dot)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

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2004-12-03 16:18:39 Re: RFC: Update wizard
Previous Message Dave Page 2004-12-03 15:40:14 Re: RFC: Update wizard