emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/pq 630c0382f1 3/4: pq-test.el, pg_type.h: add license h


From: ELPA Syncer
Subject: [elpa] externals/pq 630c0382f1 3/4: pq-test.el, pg_type.h: add license headers
Date: Sun, 19 Jun 2022 20:58:00 -0400 (EDT)

branch: externals/pq
commit 630c0382f13b81a694cf137ee95efd4f3b9a8bc2
Author: Tom Gillespie <tgbugs@gmail.com>
Commit: Mario Rodas <marsam@users.noreply.github.com>

    pq-test.el, pg_type.h: add license headers
---
 pg_type.h  |  2 ++
 pq-core.c  |  3 ++-
 pq-test.el | 21 +++++++++++++++++++++
 3 files changed, 25 insertions(+), 1 deletion(-)

diff --git a/pg_type.h b/pg_type.h
index 79daedaf17..7e5c268f3d 100644
--- a/pg_type.h
+++ b/pg_type.h
@@ -3,6 +3,8 @@
  * pg_type.h
  *       Hard-wired knowledge about some standard type OIDs.
  *
+ * SPDX-License-Identifier: GPL-3.0-or-later
+ *
  * XXX keep this in sync with src/include/catalog/pg_type.h
  *
  * Portions Copyright (c) 1996-2016, PostgreSQL Global Development Group
diff --git a/pq-core.c b/pq-core.c
index e665331370..4c451b101e 100644
--- a/pq-core.c
+++ b/pq-core.c
@@ -1,5 +1,6 @@
 /* libpq bindings for Emacs Lisp as a dynamic module
-   Copyright (C) 2020-2022 Free Software Foundation, Inc.
+
+Copyright (C) 2020-2022 Free Software Foundation, Inc.
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
diff --git a/pq-test.el b/pq-test.el
index 4988725e24..677ebac54f 100644
--- a/pq-test.el
+++ b/pq-test.el
@@ -1,3 +1,22 @@
+;;; pq-test.el --- test libpq bindings  -*- lexical-binding: t; -*-
+
+;; Copyright (C) 2020-2022  Free Software Foundation, Inc.
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; 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, see <http://www.gnu.org/licenses/>.
+
+;;; Code:
+
 (add-to-list 'load-path
              (file-name-directory (or #$ (expand-file-name 
(buffer-file-name)))))
 
@@ -124,3 +143,5 @@
     (should-error (pq:query conn "select pg_terminate_backend($1)" mypid))
     (should-error (pq:notifies conn))
 ))
+
+;;; pq-test.el ends here



reply via email to

[Prev in Thread] Current Thread [Next in Thread]