Web pgadmin.org
 Home 
 ·  ·  ·  ·  ·  ·  · 
Re: RFC: Update wizard

Re: RFC: Update wizard



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



Home | Main Index | Thread Index

top