Skip to content

Commit 630c038

Browse files
tgbugsmarsam
authored andcommitted
pq-test.el, pg_type.h: add license headers
1 parent 3f6a1c7 commit 630c038

File tree

3 files changed

+25
-1
lines changed

3 files changed

+25
-1
lines changed

pg_type.h

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
* pg_type.h
44
* Hard-wired knowledge about some standard type OIDs.
55
*
6+
* SPDX-License-Identifier: GPL-3.0-or-later
7+
*
68
* XXX keep this in sync with src/include/catalog/pg_type.h
79
*
810
* Portions Copyright (c) 1996-2016, PostgreSQL Global Development Group

pq-core.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/* libpq bindings for Emacs Lisp as a dynamic module
2-
Copyright (C) 2020-2022 Free Software Foundation, Inc.
2+
3+
Copyright (C) 2020-2022 Free Software Foundation, Inc.
34
45
This program is free software: you can redistribute it and/or modify
56
it under the terms of the GNU General Public License as published by

pq-test.el

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
;;; pq-test.el --- test libpq bindings -*- lexical-binding: t; -*-
2+
3+
;; Copyright (C) 2020-2022 Free Software Foundation, Inc.
4+
5+
;; This program is free software; you can redistribute it and/or modify
6+
;; it under the terms of the GNU General Public License as published by
7+
;; the Free Software Foundation, either version 3 of the License, or
8+
;; (at your option) any later version.
9+
10+
;; This program is distributed in the hope that it will be useful,
11+
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
;; GNU General Public License for more details.
14+
15+
;; You should have received a copy of the GNU General Public License
16+
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
17+
18+
;;; Code:
19+
120
(add-to-list 'load-path
221
(file-name-directory (or #$ (expand-file-name (buffer-file-name)))))
322

@@ -124,3 +143,5 @@
124143
(should-error (pq:query conn "select pg_terminate_backend($1)" mypid))
125144
(should-error (pq:notifies conn))
126145
))
146+
147+
;;; pq-test.el ends here

0 commit comments

Comments
 (0)