[Greater-commits] r435 - trunk/GREAT-ER-DB/impl/postgresql

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Jul 13 12:04:29 CEST 2011


Author: bricks
Date: 2011-07-13 12:04:27 +0200 (Wed, 13 Jul 2011)
New Revision: 435

Modified:
   trunk/GREAT-ER-DB/impl/postgresql/dagreater_pg.h
   trunk/GREAT-ER-DB/impl/postgresql/dagreater_pg.pgc
   trunk/GREAT-ER-DB/impl/postgresql/datypes_pg.h
   trunk/GREAT-ER-DB/impl/postgresql/gdagreater_pg.pgc
Log:
Add gpl license headers to postgres impl


Modified: trunk/GREAT-ER-DB/impl/postgresql/dagreater_pg.h
===================================================================
--- trunk/GREAT-ER-DB/impl/postgresql/dagreater_pg.h	2011-07-13 09:52:30 UTC (rev 434)
+++ trunk/GREAT-ER-DB/impl/postgresql/dagreater_pg.h	2011-07-13 10:04:27 UTC (rev 435)
@@ -1,3 +1,29 @@
+/* dagreater_pg.h
+*
+* Description: dagreater_pg.h contains the TYPEs and CONSTANTs definitions
+*              needed INTERNALLY for the GREAT-ER API functions in gdagreater_pg.c.
+*
+* Authors:
+* Harjo Korte
+* Andre Heinecke <aheinecke at intevation.de>
+* Bjoern Ricks <bjoern.ricks at intevation.de>
+* TechniData AG/Markdorf
+*
+* Copyright:
+* Copyright (C) 2011 by Intevation GmbH
+* Copyright (C) 2003  TechniData AG, Markdorf, Germany
+*
+* This program is free software; you can redistribute it and/or modify
+* it under the terms of the GNU General Public License version 2
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program; if not, write to the Free Software */
+
 /*! \file dagreater_pg.h
     \brief dagreater_pg.h contains the TYPEs and CONSTANTs definitions needed INTERNALLY for the GREAT-ER API functions in gdagreater_pg.c.
 */

Modified: trunk/GREAT-ER-DB/impl/postgresql/dagreater_pg.pgc
===================================================================
--- trunk/GREAT-ER-DB/impl/postgresql/dagreater_pg.pgc	2011-07-13 09:52:30 UTC (rev 434)
+++ trunk/GREAT-ER-DB/impl/postgresql/dagreater_pg.pgc	2011-07-13 10:04:27 UTC (rev 435)
@@ -1,4 +1,30 @@
-/* vim: set filetype=c fenc=utf-8 ts=4 sw=4: */
+/* vim: set filetype=c fenc=utf-8 ts=4 sw=4: 
+* 
+* dagreater_pg.pgc
+*
+* Description: dagreater_pg.c is an API file for the PostgreSQL Database in GREAT-ER
+*
+* Authors:
+* Harjo Korte
+* Andre Heinecke <aheinecke at intevation.de>
+* Bjoern Ricks <bjoern.ricks at intevation.de>
+* TechniData AG/Markdorf
+*
+* Copyright:
+* Copyright (C) 2011 by Intevation GmbH
+* Copyright (C) 2003  TechniData AG, Markdorf, Germany
+*
+* This program is free software; you can redistribute it and/or modify
+* it under the terms of the GNU General Public License version 2
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program; if not, write to the Free Software */
+
 /*! \file dagreater_pg.c
     \brief dagreater_pg.c is an API file for the PostgreSQL Database in GREAT-ER 2.
     

Modified: trunk/GREAT-ER-DB/impl/postgresql/datypes_pg.h
===================================================================
--- trunk/GREAT-ER-DB/impl/postgresql/datypes_pg.h	2011-07-13 09:52:30 UTC (rev 434)
+++ trunk/GREAT-ER-DB/impl/postgresql/datypes_pg.h	2011-07-13 10:04:27 UTC (rev 435)
@@ -1,3 +1,28 @@
+/* datypes_pg.h
+*
+* Description: datypes_pg.h contains the TYPE definitions for STRUCT's needed for the GREAT-ER API dagreater_pg.c
+*
+* Authors:
+* Harjo Korte
+* Andre Heinecke <aheinecke at intevation.de>
+* Bjoern Ricks <bjoern.ricks at intevation.de>
+* TechniData AG/Markdorf
+*
+* Copyright:
+* Copyright (C) 2011 by Intevation GmbH
+* Copyright (C) 2003  TechniData AG, Markdorf, Germany
+*
+* This program is free software; you can redistribute it and/or modify
+* it under the terms of the GNU General Public License version 2
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program; if not, write to the Free Software */
+
 /*! \file datypes_pg.h
     \brief datypes_pg.h contains the TYPE definitions for STRUCT's needed for the GREAT-ER API dagreater_pg.c
     

Modified: trunk/GREAT-ER-DB/impl/postgresql/gdagreater_pg.pgc
===================================================================
--- trunk/GREAT-ER-DB/impl/postgresql/gdagreater_pg.pgc	2011-07-13 09:52:30 UTC (rev 434)
+++ trunk/GREAT-ER-DB/impl/postgresql/gdagreater_pg.pgc	2011-07-13 10:04:27 UTC (rev 435)
@@ -1,6 +1,31 @@
-/* vim: set filetype=c fenc=latin-1 ts=4 sw=4: */
+/* vim: set filetype=c fenc=latin-1 ts=4 sw=4:
+* gdagreater_pg.pgc
+*
+* Description: gdagreater_pg.c is an API file for the PostgreSQL Database in GREAT-ER
+*
+* Authors:
+* Harjo Korte
+* Andre Heinecke <aheinecke at intevation.de>
+* Bjoern Ricks <bjoern.ricks at intevation.de>
+* TechniData AG/Markdorf
+*
+* Copyright:
+* Copyright (C) 2011 by Intevation GmbH
+* Copyright (C) 2003  TechniData AG, Markdorf, Germany
+*
+* This program is free software; you can redistribute it and/or modify
+* it under the terms of the GNU General Public License version 2
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program; if not, write to the Free Software */
+
 /*! \file gdagreater_pg.c
-    \brief gdagreater_pg.c is an API file for the PostgreSQL Database in GREAT-ER 2.
+    \brief gdagreater_pg.c is an API file for the PostgreSQL Database in GREAT-ER.
    
     The Oracle API interface dagreater.c, which was generated by the TechniData AG, 
     was the base for the Development of this file. It presents the same functionality. 
@@ -11,21 +36,21 @@
 
     The global changes that were made during porting the files are the following:
     <ul>
-     <li>Functions: 
-     	<ol>
-	 <li>SYSDATE -> CURRENT_TIMESTAMP</li>
-	 <li>NVL -> COALESCE</li>
-	 <li>TO_DATE -> TO_TIMESTAMP</li>
-	 <li>DECODE -> CASE WHEN .. THEN ..</li>
-	 <li>sequence.nextval -> NEXTVAL('sequence')</li>
-	 <li>sequence.curval -> CURVAL('sequence')</li>
-	</ol>
+     <li>Functions:
+        <ol>
+            <li>SYSDATE -> CURRENT_TIMESTAMP</li>
+            <li>NVL -> COALESCE</li>
+            <li>TO_DATE -> TO_TIMESTAMP</li>
+            <li>DECODE -> CASE WHEN .. THEN ..</li>
+            <li>sequence.nextval -> NEXTVAL('sequence')</li>
+            <li>sequence.curval -> CURVAL('sequence')</li>
+        </ol>
      </li>
      <li>Statements: 
-     	<ol>
-	 <li>ELSIF -> ELSE IF</li>
-	 <li>FROM DUAL -> -none-</li>
-	</ol>
+        <ol>
+            <li>ELSIF -> ELSE IF</li>
+                <li>FROM DUAL -> -none-</li>
+        </ol>
      </li>
      <li>in PostgreSQL there is no chance to compare numeric values with 'like'. You have to compare on equality.</li>
     </ul>



More information about the Greater-commits mailing list