Thread

  1. how to find version?

    bpalmer <bpalmer@crimelabs.net> — 2003-11-16T00:56:00Z

    I'm trying to figure out what version of a source code I have.  I know 
    it's a 7.2 release,  but how can I find out of it's 7.2,  7.2.3,  7.2.4,  
    etc.  FROM THE SOURCE CODE,  not from compiling (it doesn't compile,  it's 
    testing code).
    
    Thanks
    
    ----------------------------------------------------------------------------
     c: 917-697-8665                                            h: 201-435-6226
     b. palmer,  bpalmer@crimelabs.net           pgp:crimelabs.net/bpalmer.pgp5
    
    
  2. Re: how to find version?

    bpalmer <bpalmer@crimelabs.net> — 2003-11-16T01:44:20Z

    > 
    > > I'm trying to figure out what version of a source code I have.  I know
    > > it's a 7.2 release,  but how can I find out of it's 7.2,  7.2.3,  7.2.4,
    > > etc.  FROM THE SOURCE CODE,  not from compiling (it doesn't compile,  it's
    > > testing code).
    > 
    > grep VERSION configure
    
    I did try that,  but I'm still having a "much" larger than expected diff 
    between the two code bases.  *shrug*  ok.
    
    Thanks,
    - Brandon
    
    
    ----------------------------------------------------------------------------
     c: 917-697-8665                                            h: 201-435-6226
     b. palmer,  bpalmer@crimelabs.net           pgp:crimelabs.net/bpalmer.pgp5
    
    
  3. Re: how to find version?

    Kris Jurka <books@ejurka.com> — 2003-11-16T01:52:00Z

    
    On Sat, 15 Nov 2003, bpalmer wrote:
    
    > I'm trying to figure out what version of a source code I have.  I know
    > it's a 7.2 release,  but how can I find out of it's 7.2,  7.2.3,  7.2.4,
    > etc.  FROM THE SOURCE CODE,  not from compiling (it doesn't compile,  it's
    > testing code).
    
    grep VERSION configure
    
    
    
    
  4. Re: how to find version?

    Mark Kirkwood <markir@paradise.net.nz> — 2003-11-16T04:31:44Z

    You should see a lines like this in configure.in
    
    [lines 28-33 of configure.in for 7.2.4]
    
    AC_PREREQ(2.13)
    AC_CONFIG_AUX_DIR(config)
    
    VERSION='7.2.4'
    AC_SUBST(VERSION)
    AC_DEFINE_UNQUOTED(PG_VERSION, "$VERSION")
    
    best wishes
    
    Mark
     
    
    bpalmer wrote:
    
    >I'm trying to figure out what version of a source code I have.  I know 
    >it's a 7.2 release,  but how can I find out of it's 7.2,  7.2.3,  7.2.4,  
    >etc.  FROM THE SOURCE CODE,  not from compiling (it doesn't compile,  it's 
    >testing code).
    >
    >Thanks
    >
    >----------------------------------------------------------------------------
    > c: 917-697-8665                                            h: 201-435-6226
    > b. palmer,  bpalmer@crimelabs.net           pgp:crimelabs.net/bpalmer.pgp5
    >
    >---------------------------(end of broadcast)---------------------------
    >TIP 7: don't forget to increase your free space map settings
    >
    >
    >  
    >
    
    
    
  5. Re: how to find version?

    Joshua D. Drake <jd@commandprompt.com> — 2003-11-16T18:48:33Z

    If the database is running it will tell you when you log into it with psql.
    
    bpalmer wrote:
    
    >I'm trying to figure out what version of a source code I have.  I know 
    >it's a 7.2 release,  but how can I find out of it's 7.2,  7.2.3,  7.2.4,  
    >etc.  FROM THE SOURCE CODE,  not from compiling (it doesn't compile,  it's 
    >testing code).
    >
    >Thanks
    >
    >----------------------------------------------------------------------------
    > c: 917-697-8665                                            h: 201-435-6226
    > b. palmer,  bpalmer@crimelabs.net           pgp:crimelabs.net/bpalmer.pgp5
    >
    >---------------------------(end of broadcast)---------------------------
    >TIP 7: don't forget to increase your free space map settings
    >  
    >
    
    -- 
    Command Prompt, Inc., home of Mammoth PostgreSQL - S/ODBC - S/JDBC
    Postgresql support, programming, shared hosting and dedicated hosting.
    +1-503-222-2783 - jd@commandprompt.com - http://www.commandprompt.com
    PostgreSQL.Org - Editor-N-Chief - http://www.postgresql.org