Add propert license information

This commit is contained in:
jordi fita mas 2023-01-21 20:04:31 +01:00
parent a2069e102c
commit 61e47381b8
5 changed files with 28 additions and 4 deletions

20
COPYING Normal file
View File

@ -0,0 +1,20 @@
VAT identification number extension for PostgreSQL
Copyright (c) 2023 jordi fita mas <jordi@tandem.blog>
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose, without fee, and without a written
agreement is hereby granted, provided that the above copyright notice
and this paragraph and the following two paragraphs appear in all
copies.
IN NO EVENT SHALL JORDI FITA MAS BE LIABLE TO ANY PARTY FOR DIRECT,
INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST
PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION,
EVEN IF DATAHOUSE AG HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
JORDI FITA MAS SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT
NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN
"AS IS" BASIS, AND DATAHOUSE AG HAS NO OBLIGATIONS TO PROVIDE
MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.

2
es.c
View File

@ -1,7 +1,7 @@
/* /*
* SPDX-FileCopyrightText: 2023 jordi fita mas <jfita@peritasoft.com> * SPDX-FileCopyrightText: 2023 jordi fita mas <jfita@peritasoft.com>
* *
* SPDX-License-Identifier: GPL-3.0-only * SPDX-License-Identifier: PostgreSQL
*/ */
#include "es.h" #include "es.h"
#include <stdbool.h> #include <stdbool.h>

2
es.h
View File

@ -1,7 +1,7 @@
/* /*
* SPDX-FileCopyrightText: 2023 jordi fita mas <jfita@peritasoft.com> * SPDX-FileCopyrightText: 2023 jordi fita mas <jfita@peritasoft.com>
* *
* SPDX-License-Identifier: GPL-3.0-only * SPDX-License-Identifier: PostgreSQL
*/ */
#ifndef VAT_ES_H #ifndef VAT_ES_H
#define VAT_ES_H 1 #define VAT_ES_H 1

View File

@ -1,4 +1,8 @@
/* vatin--0.0.sql */ /*
* SPDX-FileCopyrightText: 2023 jordi fita mas <jfita@peritasoft.com>
*
* SPDX-License-Identifier: PostgreSQL
*/
-- complain if script is sources in psql, rather than via CREATE EXTENSION -- complain if script is sources in psql, rather than via CREATE EXTENSION
\echo Use "CREATE EXTENSION vat" to load this file. \quit \echo Use "CREATE EXTENSION vat" to load this file. \quit

View File

@ -1,7 +1,7 @@
/* /*
* SPDX-FileCopyrightText: 2023 jordi fita mas <jfita@peritasoft.com> * SPDX-FileCopyrightText: 2023 jordi fita mas <jfita@peritasoft.com>
* *
* SPDX-License-Identifier: GPL-3.0-only * SPDX-License-Identifier: PostgreSQL
*/ */
#include <postgres.h> #include <postgres.h>