Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

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: Fri, 03 Dec 2004 16:07:40 +0000
  • Message-id: <41B08F4C.9040803@pse-consulting.de> <text/plain>

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

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group