Search Postgresql Archives

Re: Programmatic method to determine currently installed Windows PostrgreSQL version

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks Richard, I will look into whether or not I will
have access to the SELECT statement.

Regards,
Will

--- Richard Huxton <dev@xxxxxxxxxxxx> wrote:

> Will Wright wrote:
> > 
> > Hi Magnus, thanks for the quick response. 
> > Unfortunately I still have an issue with this
> regsitry
> > identification method because I'd like to code my
> > installer so that it can also identify the
> postreSQL
> > versions that were not available at the time I
> > authored my install check, i.e. future versions.  
> 
> You could issue a "SELECT version()" - that is about
> as definitive as 
> you can get.
> 
> Don't forget you'll need to cope with the case where
> a user has 2 or 
> more versions of PostgreSQL running on the same
> machine. I'm not sure 
> it's safe to assume only one installation.
> 
> --
>    Richard Huxton
>    Archonet Ltd
> 



		
__________________________________ 
Start your day with Yahoo! - Make it your home page! 
http://www.yahoo.com/r/hs

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux