Skip to content
Snippets Groups Projects
Select Git revision
  • benchmark-tools
  • postgres-lambda
  • master default
  • REL9_4_25
  • REL9_5_20
  • REL9_6_16
  • REL_10_11
  • REL_11_6
  • REL_12_1
  • REL_12_0
  • REL_12_RC1
  • REL_12_BETA4
  • REL9_4_24
  • REL9_5_19
  • REL9_6_15
  • REL_10_10
  • REL_11_5
  • REL_12_BETA3
  • REL9_4_23
  • REL9_5_18
  • REL9_6_14
  • REL_10_9
  • REL_11_4
23 results

version.h.in

Blame
    • Bruce Momjian's avatar
      0624f3dc
      My mailer munged the intro text in my last post. Here is the text · 0624f3dc
      Bruce Momjian authored
      in a more readable form.  -- I am submitting the following patches
      to the June 6, 1998 snapshot of PostgreSQL.  These patches implement
      a port of PostgreSQL to SCO UnixWare 7, and updates the Univel port
      (UnixWare 2.x).  The patched files, and the reason
       for the patch are:
      
      File            Reason for the patch ---------------
      ---------------------------------------------------------------
      src/backend/port/dynloader/unixware.c src/backend/port/dynloader/unixware.h
      src/include/port/unixware.h src/makefiles/Makefile.unixware
      src/template/unixware
      		Created for the UNIXWARE port.
      
      src/include/port/univel.h
      		Modifed this file to work with the changes made to
      		s_lock.[ch].
      
      src/backend/storage/buffer/s_lock.c src/include/storage/s_lock.h
      		Moved the UNIXWARE (and Univel) tas() function from
      		s_lock.c to s_lock.h.  The UnixWare compiler asm
      		construct is treated as a macro and needs to be in
      		the s_lock.h file.  I also reworked the tas()
      		function to correct some errors in the code.
      
      src/include/version.h.in
      		The use of the ## operator with quoted strings in
      		the VERSION macro caused problems with the UnixWare
      		C compiler.  I removed the ## operators since they
      		were not needed in this case.  The macro expands
      		into a sequence of quoted strings that will be
      		concatenated by any ANSI C compiler.
      
      src/config.guess
      		This script was modified to recognize SCO UnixWare
      		7.
      
      src/configure src/configure.in
      		The configure script was modified to recognize SCO
      		UnixWare 7.
      
      Billy G. Allie
      0624f3dc
      History
      My mailer munged the intro text in my last post. Here is the text
      Bruce Momjian authored
      in a more readable form.  -- I am submitting the following patches
      to the June 6, 1998 snapshot of PostgreSQL.  These patches implement
      a port of PostgreSQL to SCO UnixWare 7, and updates the Univel port
      (UnixWare 2.x).  The patched files, and the reason
       for the patch are:
      
      File            Reason for the patch ---------------
      ---------------------------------------------------------------
      src/backend/port/dynloader/unixware.c src/backend/port/dynloader/unixware.h
      src/include/port/unixware.h src/makefiles/Makefile.unixware
      src/template/unixware
      		Created for the UNIXWARE port.
      
      src/include/port/univel.h
      		Modifed this file to work with the changes made to
      		s_lock.[ch].
      
      src/backend/storage/buffer/s_lock.c src/include/storage/s_lock.h
      		Moved the UNIXWARE (and Univel) tas() function from
      		s_lock.c to s_lock.h.  The UnixWare compiler asm
      		construct is treated as a macro and needs to be in
      		the s_lock.h file.  I also reworked the tas()
      		function to correct some errors in the code.
      
      src/include/version.h.in
      		The use of the ## operator with quoted strings in
      		the VERSION macro caused problems with the UnixWare
      		C compiler.  I removed the ## operators since they
      		were not needed in this case.  The macro expands
      		into a sequence of quoted strings that will be
      		concatenated by any ANSI C compiler.
      
      src/config.guess
      		This script was modified to recognize SCO UnixWare
      		7.
      
      src/configure src/configure.in
      		The configure script was modified to recognize SCO
      		UnixWare 7.
      
      Billy G. Allie
    version.h.in 754 B
    /*-------------------------------------------------------------------------
     *
     * version.h.in--
     *	  this file contains the interface to version.c.
     *	  Also some parameters.
     *
     * $Header: /cvsroot/pgsql/src/include/Attic/version.h.in,v 1.3 1998/07/19 04:16:53 momjian Exp $
     *
     *-------------------------------------------------------------------------
     */
    #ifndef VERSION_H
    #define VERSION_H
    
    void ValidatePgVersion(const char *path, char **reason_p);
    void SetPgVersion(const char *path, char **reason_p);
    
    #define PG_RELEASE		"6"
    #define PG_VERSION		"4"
    #define PG_SUBVERSION	"0"
    
    #define PG_VERFILE		"PG_VERSION"
    
    #define PG_VERSION_STR  "PostgreSQL " PG_RELEASE "." PG_VERSION "." PG_SUBVERSION " on @host@, compiled by @CC@ @CC_VERSION@"
    
    #endif