@pgxsinkit/pgwasm-c 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/LICENSE +23 -0
  2. package/NOTICE +1890 -0
  3. package/README.md +79 -0
  4. package/artefacts/amcheck.tar.gz +0 -0
  5. package/artefacts/initdb.d.ts +6 -0
  6. package/artefacts/initdb.js +2 -0
  7. package/artefacts/initdb.wasm +0 -0
  8. package/artefacts/postgres.d.ts +6 -0
  9. package/artefacts/postgres.data +37595 -8
  10. package/artefacts/postgres.js +2 -0
  11. package/artefacts/postgres.wasm +0 -0
  12. package/artefacts/prepopulated.tar.gz +0 -0
  13. package/dist/artefact-pins.d.ts +57 -0
  14. package/dist/artefact-pins.d.ts.map +1 -0
  15. package/dist/artefacts.d.ts +37 -0
  16. package/dist/artefacts.d.ts.map +1 -0
  17. package/dist/build.d.ts +53 -0
  18. package/dist/build.d.ts.map +1 -0
  19. package/dist/contrib/amcheck.d.ts +9 -0
  20. package/dist/contrib/amcheck.d.ts.map +1 -0
  21. package/dist/contrib/amcheck.js +13 -0
  22. package/dist/contrib/amcheck.js.map +10 -0
  23. package/dist/host/artefact-loader.d.ts +9 -0
  24. package/dist/host/artefact-loader.d.ts.map +1 -0
  25. package/dist/host/command-line.d.ts +11 -0
  26. package/dist/host/command-line.d.ts.map +1 -0
  27. package/dist/host/data-dir.d.ts +11 -0
  28. package/dist/host/data-dir.d.ts.map +1 -0
  29. package/dist/host/emscripten.d.ts +143 -0
  30. package/dist/host/emscripten.d.ts.map +1 -0
  31. package/dist/host/exit-code.d.ts +12 -0
  32. package/dist/host/exit-code.d.ts.map +1 -0
  33. package/dist/host/extensions.d.ts +15 -0
  34. package/dist/host/extensions.d.ts.map +1 -0
  35. package/dist/host/initdb.d.ts +25 -0
  36. package/dist/host/initdb.d.ts.map +1 -0
  37. package/dist/host/mounts/file.d.ts +17 -0
  38. package/dist/host/mounts/file.d.ts.map +1 -0
  39. package/dist/host/mounts/idb.d.ts +32 -0
  40. package/dist/host/mounts/idb.d.ts.map +1 -0
  41. package/dist/host/mounts/index.d.ts +6 -0
  42. package/dist/host/mounts/index.d.ts.map +1 -0
  43. package/dist/host/mounts/memory.d.ts +12 -0
  44. package/dist/host/mounts/memory.d.ts.map +1 -0
  45. package/dist/host/mounts/storage-mount.d.ts +15 -0
  46. package/dist/host/mounts/storage-mount.d.ts.map +1 -0
  47. package/dist/host/mounts/vfs.d.ts +15 -0
  48. package/dist/host/mounts/vfs.d.ts.map +1 -0
  49. package/dist/host/paths.d.ts +10 -0
  50. package/dist/host/paths.d.ts.map +1 -0
  51. package/dist/host/postgres-instance.d.ts +63 -0
  52. package/dist/host/postgres-instance.d.ts.map +1 -0
  53. package/dist/host/vfs-mount.d.ts +10 -0
  54. package/dist/host/vfs-mount.d.ts.map +1 -0
  55. package/dist/index.d.ts +4 -0
  56. package/dist/index.d.ts.map +1 -0
  57. package/dist/index.js +1393 -0
  58. package/dist/index.js.map +26 -0
  59. package/dist/prepopulated.d.ts +28 -0
  60. package/dist/prepopulated.d.ts.map +1 -0
  61. package/dist/prepopulated.js +15 -0
  62. package/dist/prepopulated.js.map +10 -0
  63. package/package.json +56 -0
  64. package/src/artefact-pins.ts +36 -0
  65. package/src/artefacts.ts +46 -0
  66. package/src/build.ts +326 -0
  67. package/src/contrib/amcheck.ts +17 -0
  68. package/src/host/artefact-loader.ts +75 -0
  69. package/src/host/command-line.ts +64 -0
  70. package/src/host/data-dir.ts +70 -0
  71. package/src/host/emscripten.ts +158 -0
  72. package/src/host/exit-code.ts +29 -0
  73. package/src/host/extensions.ts +83 -0
  74. package/src/host/initdb.ts +180 -0
  75. package/src/host/mounts/file.ts +44 -0
  76. package/src/host/mounts/idb.ts +152 -0
  77. package/src/host/mounts/index.ts +26 -0
  78. package/src/host/mounts/memory.ts +22 -0
  79. package/src/host/mounts/storage-mount.ts +15 -0
  80. package/src/host/mounts/vfs.ts +43 -0
  81. package/src/host/paths.ts +18 -0
  82. package/src/host/postgres-instance.ts +495 -0
  83. package/src/host/vfs-mount.ts +258 -0
  84. package/src/index.ts +3 -0
  85. package/src/prepopulated.ts +38 -0
package/NOTICE ADDED
@@ -0,0 +1,1890 @@
1
+ @pgxsinkit/pgwasm-c
2
+ ===================
3
+
4
+ This package republishes compiled third-party software and includes host code that
5
+ began as a copy of third-party code. These attributions are permanent.
6
+
7
+ ------------------------------------------------------------------------------
8
+ ElectricSQL — @electric-sql/pglite (host code under `src/`)
9
+ ------------------------------------------------------------------------------
10
+
11
+ The C build's host code under `src/` (module instantiation, initdb, the memory,
12
+ IndexedDB and file mounts, the filesystem adapter, extension install) began as a copy
13
+ of ElectricSQL's PGlite (`packages/pglite`, `packages/pglite-utils`):
14
+
15
+ Source: https://github.com/electric-sql/pglite
16
+ License: PostgreSQL License (PGlite is dual-licensed Apache-2.0 / PostgreSQL
17
+ License; pgxsinkit takes it under the PostgreSQL License)
18
+ Copyright (c) ElectricSQL and contributors
19
+
20
+ Owned outright (ADR-0062); compatibility with PGlite is an explicit anti-goal. The
21
+ PostgreSQL License text is in LICENSE.
22
+
23
+ ------------------------------------------------------------------------------
24
+ The artefacts, and what is compiled into them
25
+ ------------------------------------------------------------------------------
26
+
27
+ `artefacts/` holds seven files: the assets of the pgwasm-postgres release 18.6.1
28
+ (https://github.com/pgxsinkit/pgwasm-postgres/releases/tag/18.6.1), republished byte-identical (each file's size and sha256 are pinned in
29
+ `src/artefact-pins.ts`, from the release's manifest.json checked against its
30
+ SHA256SUMS): `postgres.wasm` (the Postgres server), `postgres.data` (its filesystem
31
+ bundle: share files, loadable modules, time zone data, ICU data), `postgres.js` and
32
+ `initdb.js` (Emscripten-generated JavaScript), `initdb.wasm` (initdb),
33
+ `amcheck.tar.gz` (the amcheck extension) and `prepopulated.tar.gz` (a data directory
34
+ the release's own initdb created, so it holds only what PostgreSQL itself wrote).
35
+
36
+ pgxsinkit/pgwasm-postgres (https://github.com/pgxsinkit/pgwasm-postgres) builds them
37
+ from PostgreSQL 18.6 (the upstream tag REL_18_6, commit
38
+ 724edf9bde9d356724ad384a2e196edc3c9f80f7) plus a patch series and an overlay derived
39
+ from ElectricSQL's PGlite fork of PostgreSQL
40
+ (https://github.com/electric-sql/postgres-pglite at
41
+ b133782cd759f08b3aeb263b80a963b39c7b7af1; PostgreSQL License, Copyright (c)
42
+ ElectricSQL and contributors). Release 18.6.1 is pgwasm-postgres commit
43
+ 28f0c1551db8c7f5df143ef1e424c641af93072d, built inside the builder image
44
+ ghcr.io/pgxsinkit/pgwasm-builder@sha256:0c4d5255c5f1824216d1eb347cc231a6f881574c3d5b8172796a8cbe5f9f63c8
45
+ (whose recipe is that repository's `builder/Containerfile`); its manifest.json records
46
+ every file's size and sha256, and the release was published only because a rebuild of
47
+ the tag gave the gated build's manifest.
48
+
49
+ The components below, and their versions, come from:
50
+
51
+ - the configure line: --with-icu --with-zlib --with-libxml --with-openssl=no
52
+ --without-llvm, and the server's link line (-lxml2 -lz, and ICU through ICU_LIBS);
53
+ - the builder recipe: Emscripten 6.0.10, zlib 1.3.2, libxml2 2.15.4, ICU 76.1. The
54
+ binaries confirm Emscripten 6.0.10 (in the server's version string) and ICU 76
55
+ (its data package, icudt76l);
56
+ - the files of postgres.data (dict_snowball.so, the time zone data, the ICU data and
57
+ its LICENSE).
58
+
59
+ Not included: OpenSSL (--with-openssl=no), LLVM (--without-llvm), libxslt and OSSP
60
+ uuid (not configured: only contrib/xml2 and contrib/uuid-ossp use them, and neither is
61
+ shipped). The release ships no extension but amcheck, so no other extension's
62
+ libraries are in it.
63
+
64
+ Each component's notice follows, copied from the file named with it.
65
+
66
+ ------------------------------------------------------------------------------
67
+ PostgreSQL 18.6, with changes derived from ElectricSQL's for PGlite (postgres.wasm, initdb.wasm, postgres.data, amcheck.tar.gz)
68
+ ------------------------------------------------------------------------------
69
+
70
+ Source: https://github.com/electric-sql/postgres-pglite at b133782cd759f08b3aeb263b80a963b39c7b7af1,
71
+ file COPYRIGHT. ElectricSQL's changes in that tree are distributed under the same file.
72
+
73
+ PostgreSQL Database Management System
74
+ (also known as Postgres, formerly known as Postgres95)
75
+
76
+ Portions Copyright (c) 1996-2026, PostgreSQL Global Development Group
77
+
78
+ Portions Copyright (c) 1994, The Regents of the University of California
79
+
80
+ Permission to use, copy, modify, and distribute this software and its
81
+ documentation for any purpose, without fee, and without a written agreement
82
+ is hereby granted, provided that the above copyright notice and this
83
+ paragraph and the following two paragraphs appear in all copies.
84
+
85
+ IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR
86
+ DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING
87
+ LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS
88
+ DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE
89
+ POSSIBILITY OF SUCH DAMAGE.
90
+
91
+ THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
92
+ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
93
+ AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
94
+ ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATIONS TO
95
+ PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
96
+
97
+ PostgreSQL's regular expression engine (compiled into postgres.wasm) carries its own
98
+ notice. Source: the same tree, src/backend/regex/COPYRIGHT.
99
+
100
+ This regular expression package was originally developed by Henry Spencer.
101
+ It bears the following copyright notice:
102
+
103
+ **********************************************************************
104
+
105
+ Copyright (c) 1998, 1999 Henry Spencer. All rights reserved.
106
+
107
+ Development of this software was funded, in part, by Cray Research Inc.,
108
+ UUNET Communications Services Inc., Sun Microsystems Inc., and Scriptics
109
+ Corporation, none of whom are responsible for the results. The author
110
+ thanks all of them.
111
+
112
+ Redistribution and use in source and binary forms -- with or without
113
+ modification -- are permitted for any purpose, provided that
114
+ redistributions in source form retain this entire copyright notice and
115
+ indicate the origin and nature of any modifications.
116
+
117
+ I'd appreciate being given credit for this package in the documentation
118
+ of software which uses it, but that is not a requirement.
119
+
120
+ THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
121
+ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
122
+ AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
123
+ HENRY SPENCER BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
124
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
125
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
126
+ OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
127
+ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
128
+ OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
129
+ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
130
+
131
+ **********************************************************************
132
+
133
+ PostgreSQL adopted the code out of Tcl 8.4.1. Portions of regc_locale.c
134
+ and re_syntax.n were developed by Tcl developers other than Henry; these
135
+ files bear the Tcl copyright and license notice:
136
+
137
+ **********************************************************************
138
+
139
+ This software is copyrighted by the Regents of the University of
140
+ California, Sun Microsystems, Inc., Scriptics Corporation, ActiveState
141
+ Corporation and other parties. The following terms apply to all files
142
+ associated with the software unless explicitly disclaimed in
143
+ individual files.
144
+
145
+ The authors hereby grant permission to use, copy, modify, distribute,
146
+ and license this software and its documentation for any purpose, provided
147
+ that existing copyright notices are retained in all copies and that this
148
+ notice is included verbatim in any distributions. No written agreement,
149
+ license, or royalty fee is required for any of the authorized uses.
150
+ Modifications to this software may be copyrighted by their authors
151
+ and need not follow the licensing terms described here, provided that
152
+ the new terms are clearly indicated on the first page of each file where
153
+ they apply.
154
+
155
+ IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY
156
+ FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
157
+ ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
158
+ DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE
159
+ POSSIBILITY OF SUCH DAMAGE.
160
+
161
+ THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
162
+ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,
163
+ FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE
164
+ IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE
165
+ NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR
166
+ MODIFICATIONS.
167
+
168
+ GOVERNMENT USE: If you are acquiring this software on behalf of the
169
+ U.S. government, the Government shall have only "Restricted Rights"
170
+ in the software and related documentation as defined in the Federal
171
+ Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you
172
+ are acquiring the software on behalf of the Department of Defense, the
173
+ software shall be classified as "Commercial Computer Software" and the
174
+ Government shall have only "Restricted Rights" as defined in Clause
175
+ 252.227-7013 (c) (1) of DFARs. Notwithstanding the foregoing, the
176
+ authors grant the U.S. Government and others acting in its behalf
177
+ permission to use and distribute the software in accordance with the
178
+ terms specified in this license.
179
+
180
+ **********************************************************************
181
+
182
+ Subsequent modifications to the code by the PostgreSQL project follow
183
+ the same license terms as the rest of PostgreSQL.
184
+
185
+ These PostgreSQL source files carry their own licences, which ask for their notice in
186
+ binary distributions. Some of the src/port files are compiled only where the C library
187
+ lacks the function; all are listed. Each is reproduced from the same tree:
188
+
189
+ src/backend/utils/mb/wstrcmp.c
190
+
191
+ /*
192
+ * src/backend/utils/mb/wstrcmp.c
193
+ *
194
+ *-
195
+ * Copyright (c) 1990, 1993
196
+ * The Regents of the University of California. All rights reserved.
197
+ *
198
+ * This code is derived from software contributed to Berkeley by
199
+ * Chris Torek.
200
+ *
201
+ * Redistribution and use in source and binary forms, with or without
202
+ * modification, are permitted provided that the following conditions
203
+ * are met:
204
+ * 1. Redistributions of source code must retain the above copyright
205
+ * notice, this list of conditions and the following disclaimer.
206
+ * 2. Redistributions in binary form must reproduce the above copyright
207
+ * notice, this list of conditions and the following disclaimer in the
208
+ * documentation and/or other materials provided with the distribution.
209
+ * 3. Neither the name of the University nor the names of its contributors
210
+ * may be used to endorse or promote products derived from this software
211
+ * without specific prior written permission.
212
+ *
213
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
214
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
215
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
216
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
217
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
218
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
219
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
220
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
221
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
222
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
223
+ * SUCH DAMAGE.
224
+ */
225
+
226
+ src/backend/utils/mb/wstrncmp.c
227
+
228
+ /*
229
+ * src/backend/utils/mb/wstrncmp.c
230
+ *
231
+ *
232
+ * Copyright (c) 1989, 1993
233
+ * The Regents of the University of California. All rights reserved.
234
+ *
235
+ * This code is derived from FreeBSD 2.2.1-RELEASE software.
236
+ *
237
+ * Redistribution and use in source and binary forms, with or without
238
+ * modification, are permitted provided that the following conditions
239
+ * are met:
240
+ * 1. Redistributions of source code must retain the above copyright
241
+ * notice, this list of conditions and the following disclaimer.
242
+ * 2. Redistributions in binary form must reproduce the above copyright
243
+ * notice, this list of conditions and the following disclaimer in the
244
+ * documentation and/or other materials provided with the distribution.
245
+ * 3. Neither the name of the University nor the names of its contributors
246
+ * may be used to endorse or promote products derived from this software
247
+ * without specific prior written permission.
248
+ *
249
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
250
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
251
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
252
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
253
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
254
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
255
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
256
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
257
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
258
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
259
+ * SUCH DAMAGE.
260
+ */
261
+
262
+ src/common/md5.c
263
+
264
+ /*
265
+ * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
266
+ * All rights reserved.
267
+ *
268
+ * Redistribution and use in source and binary forms, with or without
269
+ * modification, are permitted provided that the following conditions
270
+ * are met:
271
+ * 1. Redistributions of source code must retain the above copyright
272
+ * notice, this list of conditions and the following disclaimer.
273
+ * 2. Redistributions in binary form must reproduce the above copyright
274
+ * notice, this list of conditions and the following disclaimer in the
275
+ * documentation and/or other materials provided with the distribution.
276
+ * 3. Neither the name of the project nor the names of its contributors
277
+ * may be used to endorse or promote products derived from this software
278
+ * without specific prior written permission.
279
+ *
280
+ * THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
281
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
282
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
283
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
284
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
285
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
286
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
287
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
288
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
289
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
290
+ * SUCH DAMAGE.
291
+ */
292
+
293
+ src/common/md5_int.h
294
+
295
+ /*
296
+ * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
297
+ * All rights reserved.
298
+ *
299
+ * Redistribution and use in source and binary forms, with or without
300
+ * modification, are permitted provided that the following conditions
301
+ * are met:
302
+ * 1. Redistributions of source code must retain the above copyright
303
+ * notice, this list of conditions and the following disclaimer.
304
+ * 2. Redistributions in binary form must reproduce the above copyright
305
+ * notice, this list of conditions and the following disclaimer in the
306
+ * documentation and/or other materials provided with the distribution.
307
+ * 3. Neither the name of the project nor the names of its contributors
308
+ * may be used to endorse or promote products derived from this software
309
+ * without specific prior written permission.
310
+ *
311
+ * THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
312
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
313
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
314
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
315
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
316
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
317
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
318
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
319
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
320
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
321
+ * SUCH DAMAGE.
322
+ */
323
+
324
+ src/common/sha1.c
325
+
326
+ /*
327
+ * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
328
+ * All rights reserved.
329
+ *
330
+ * Redistribution and use in source and binary forms, with or without
331
+ * modification, are permitted provided that the following conditions
332
+ * are met:
333
+ * 1. Redistributions of source code must retain the above copyright
334
+ * notice, this list of conditions and the following disclaimer.
335
+ * 2. Redistributions in binary form must reproduce the above copyright
336
+ * notice, this list of conditions and the following disclaimer in the
337
+ * documentation and/or other materials provided with the distribution.
338
+ * 3. Neither the name of the project nor the names of its contributors
339
+ * may be used to endorse or promote products derived from this software
340
+ * without specific prior written permission.
341
+ *
342
+ * THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
343
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
344
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
345
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
346
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
347
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
348
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
349
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
350
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
351
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
352
+ * SUCH DAMAGE.
353
+ */
354
+
355
+ src/common/sha1_int.h
356
+
357
+ /*
358
+ * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
359
+ * All rights reserved.
360
+ *
361
+ * Redistribution and use in source and binary forms, with or without
362
+ * modification, are permitted provided that the following conditions
363
+ * are met:
364
+ * 1. Redistributions of source code must retain the above copyright
365
+ * notice, this list of conditions and the following disclaimer.
366
+ * 2. Redistributions in binary form must reproduce the above copyright
367
+ * notice, this list of conditions and the following disclaimer in the
368
+ * documentation and/or other materials provided with the distribution.
369
+ * 3. Neither the name of the project nor the names of its contributors
370
+ * may be used to endorse or promote products derived from this software
371
+ * without specific prior written permission.
372
+ *
373
+ * THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
374
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
375
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
376
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
377
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
378
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
379
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
380
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
381
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
382
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
383
+ * SUCH DAMAGE.
384
+ */
385
+
386
+ src/common/sha2.c
387
+
388
+ /*
389
+ * FILE: sha2.c
390
+ * AUTHOR: Aaron D. Gifford <me@aarongifford.com>
391
+ *
392
+ * Copyright (c) 2000-2001, Aaron D. Gifford
393
+ * All rights reserved.
394
+ *
395
+ * Redistribution and use in source and binary forms, with or without
396
+ * modification, are permitted provided that the following conditions
397
+ * are met:
398
+ * 1. Redistributions of source code must retain the above copyright
399
+ * notice, this list of conditions and the following disclaimer.
400
+ * 2. Redistributions in binary form must reproduce the above copyright
401
+ * notice, this list of conditions and the following disclaimer in the
402
+ * documentation and/or other materials provided with the distribution.
403
+ * 3. Neither the name of the copyright holder nor the names of contributors
404
+ * may be used to endorse or promote products derived from this software
405
+ * without specific prior written permission.
406
+ *
407
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTOR(S) ``AS IS'' AND
408
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
409
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
410
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTOR(S) BE LIABLE
411
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
412
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
413
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
414
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
415
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
416
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
417
+ * SUCH DAMAGE.
418
+ *
419
+ * $From: sha2.c,v 1.1 2001/11/08 00:01:51 adg Exp adg $
420
+ */
421
+
422
+ src/common/sha2_int.h
423
+
424
+ /*
425
+ * FILE: sha2.h
426
+ * AUTHOR: Aaron D. Gifford <me@aarongifford.com>
427
+ *
428
+ * Copyright (c) 2000-2001, Aaron D. Gifford
429
+ * All rights reserved.
430
+ *
431
+ * Redistribution and use in source and binary forms, with or without
432
+ * modification, are permitted provided that the following conditions
433
+ * are met:
434
+ * 1. Redistributions of source code must retain the above copyright
435
+ * notice, this list of conditions and the following disclaimer.
436
+ * 2. Redistributions in binary form must reproduce the above copyright
437
+ * notice, this list of conditions and the following disclaimer in the
438
+ * documentation and/or other materials provided with the distribution.
439
+ * 3. Neither the name of the copyright holder nor the names of contributors
440
+ * may be used to endorse or promote products derived from this software
441
+ * without specific prior written permission.
442
+ *
443
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTOR(S) ``AS IS'' AND
444
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
445
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
446
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTOR(S) BE LIABLE
447
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
448
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
449
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
450
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
451
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
452
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
453
+ * SUCH DAMAGE.
454
+ *
455
+ * $From: sha2.h,v 1.1 2001/11/08 00:02:01 adg Exp adg $
456
+ */
457
+
458
+ src/include/lib/sort_template.h
459
+
460
+ /*-
461
+ * Copyright (c) 1992, 1993
462
+ * The Regents of the University of California. All rights reserved.
463
+ *
464
+ * Redistribution and use in source and binary forms, with or without
465
+ * modification, are permitted provided that the following conditions
466
+ * are met:
467
+ * 1. Redistributions of source code must retain the above copyright
468
+ * notice, this list of conditions and the following disclaimer.
469
+ * 2. Redistributions in binary form must reproduce the above copyright
470
+ * notice, this list of conditions and the following disclaimer in the
471
+ * documentation and/or other materials provided with the distribution.
472
+ * 3. Neither the name of the University nor the names of its contributors
473
+ * may be used to endorse or promote products derived from this software
474
+ * without specific prior written permission.
475
+ *
476
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
477
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
478
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
479
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
480
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
481
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
482
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
483
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
484
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
485
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
486
+ * SUCH DAMAGE.
487
+ */
488
+
489
+ src/port/bsearch_arg.c
490
+
491
+ /*
492
+ * bsearch_arg.c: bsearch variant with a user-supplied pointer
493
+ *
494
+ * Copyright (c) 2021-2025, PostgreSQL Global Development Group
495
+ * Copyright (c) 1990 Regents of the University of California.
496
+ * All rights reserved.
497
+ *
498
+ * Redistribution and use in source and binary forms, with or without
499
+ * modification, are permitted provided that the following conditions
500
+ * are met:
501
+ * 1. Redistributions of source code must retain the above copyright
502
+ * notice, this list of conditions and the following disclaimer.
503
+ * 2. Redistributions in binary form must reproduce the above copyright
504
+ * notice, this list of conditions and the following disclaimer in the
505
+ * documentation and/or other materials provided with the distribution.
506
+ * 3. [rescinded 22 July 1999]
507
+ * 4. Neither the name of the University nor the names of its contributors
508
+ * may be used to endorse or promote products derived from this software
509
+ * without specific prior written permission.
510
+ *
511
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
512
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
513
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
514
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
515
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
516
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
517
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
518
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
519
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
520
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
521
+ * SUCH DAMAGE.
522
+ *
523
+ * src/port/bsearch_arg.c
524
+ */
525
+
526
+ src/port/getopt.c
527
+
528
+ /*
529
+ * Copyright (c) 1987, 1993, 1994
530
+ * The Regents of the University of California. All rights reserved.
531
+ *
532
+ * Redistribution and use in source and binary forms, with or without
533
+ * modification, are permitted provided that the following conditions
534
+ * are met:
535
+ * 1. Redistributions of source code must retain the above copyright
536
+ * notice, this list of conditions and the following disclaimer.
537
+ * 2. Redistributions in binary form must reproduce the above copyright
538
+ * notice, this list of conditions and the following disclaimer in the
539
+ * documentation and/or other materials provided with the distribution.
540
+ * 3. Neither the name of the University nor the names of its contributors
541
+ * may be used to endorse or promote products derived from this software
542
+ * without specific prior written permission.
543
+ *
544
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
545
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
546
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
547
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
548
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
549
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
550
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
551
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
552
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
553
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
554
+ * SUCH DAMAGE.
555
+ */
556
+
557
+ src/port/getopt_long.c
558
+
559
+ /*
560
+ * getopt_long() -- long options parser
561
+ *
562
+ * Portions Copyright (c) 1987, 1993, 1994
563
+ * The Regents of the University of California. All rights reserved.
564
+ *
565
+ * Portions Copyright (c) 2003
566
+ * PostgreSQL Global Development Group
567
+ *
568
+ * Redistribution and use in source and binary forms, with or without
569
+ * modification, are permitted provided that the following conditions
570
+ * are met:
571
+ * 1. Redistributions of source code must retain the above copyright
572
+ * notice, this list of conditions and the following disclaimer.
573
+ * 2. Redistributions in binary form must reproduce the above copyright
574
+ * notice, this list of conditions and the following disclaimer in the
575
+ * documentation and/or other materials provided with the distribution.
576
+ * 3. Neither the name of the University nor the names of its contributors
577
+ * may be used to endorse or promote products derived from this software
578
+ * without specific prior written permission.
579
+ *
580
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
581
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
582
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
583
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
584
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
585
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
586
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
587
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
588
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
589
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
590
+ * SUCH DAMAGE.
591
+ *
592
+ * src/port/getopt_long.c
593
+ */
594
+
595
+ src/port/inet_aton.c
596
+
597
+ /*
598
+ * Copyright (c) 1983, 1990, 1993
599
+ * The Regents of the University of California. All rights reserved.
600
+ *
601
+ * Redistribution and use in source and binary forms, with or without
602
+ * modification, are permitted provided that the following conditions
603
+ * are met:
604
+ * 1. Redistributions of source code must retain the above copyright
605
+ * notice, this list of conditions and the following disclaimer.
606
+ * 2. Redistributions in binary form must reproduce the above copyright
607
+ * notice, this list of conditions and the following disclaimer in the
608
+ * documentation and/or other materials provided with the distribution.
609
+ * 3. Neither the name of the University nor the names of its contributors
610
+ * may be used to endorse or promote products derived from this software
611
+ * without specific prior written permission.
612
+ *
613
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
614
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
615
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
616
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
617
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
618
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
619
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
620
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
621
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
622
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
623
+ * SUCH DAMAGE. */
624
+
625
+ src/port/mkdtemp.c
626
+
627
+ /*
628
+ * Copyright (c) 1987, 1993
629
+ * The Regents of the University of California. All rights reserved.
630
+ *
631
+ * Redistribution and use in source and binary forms, with or without
632
+ * modification, are permitted provided that the following conditions
633
+ * are met:
634
+ * 1. Redistributions of source code must retain the above copyright
635
+ * notice, this list of conditions and the following disclaimer.
636
+ * 2. Redistributions in binary form must reproduce the above copyright
637
+ * notice, this list of conditions and the following disclaimer in the
638
+ * documentation and/or other materials provided with the distribution.
639
+ * 3. Neither the name of the University nor the names of its contributors
640
+ * may be used to endorse or promote products derived from this software
641
+ * without specific prior written permission.
642
+ *
643
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
644
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
645
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
646
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
647
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
648
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
649
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
650
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
651
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
652
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
653
+ * SUCH DAMAGE.
654
+ */
655
+ /*
656
+ * Copyright (c) 1987, 1993
657
+ * The Regents of the University of California. All rights reserved.
658
+ *
659
+ * Redistribution and use in source and binary forms, with or without
660
+ * modification, are permitted provided that the following conditions
661
+ * are met:
662
+ * 1. Redistributions of source code must retain the above copyright
663
+ * notice, this list of conditions and the following disclaimer.
664
+ * 2. Redistributions in binary form must reproduce the above copyright
665
+ * notice, this list of conditions and the following disclaimer in the
666
+ * documentation and/or other materials provided with the distribution.
667
+ * 3. Neither the name of the University nor the names of its contributors
668
+ * may be used to endorse or promote products derived from this software
669
+ * without specific prior written permission.
670
+ *
671
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
672
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
673
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
674
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
675
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
676
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
677
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
678
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
679
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
680
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
681
+ * SUCH DAMAGE.
682
+ */
683
+
684
+ src/port/pgmkdirp.c
685
+
686
+ /*
687
+ * This is adapted from FreeBSD's src/bin/mkdir/mkdir.c, which bears
688
+ * the following copyright notice:
689
+ *
690
+ * Copyright (c) 1983, 1992, 1993
691
+ * The Regents of the University of California. All rights reserved.
692
+ *
693
+ * Redistribution and use in source and binary forms, with or without
694
+ * modification, are permitted provided that the following conditions
695
+ * are met:
696
+ * 1. Redistributions of source code must retain the above copyright
697
+ * notice, this list of conditions and the following disclaimer.
698
+ * 2. Redistributions in binary form must reproduce the above copyright
699
+ * notice, this list of conditions and the following disclaimer in the
700
+ * documentation and/or other materials provided with the distribution.
701
+ * 4. Neither the name of the University nor the names of its contributors
702
+ * may be used to endorse or promote products derived from this software
703
+ * without specific prior written permission.
704
+ *
705
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
706
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
707
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
708
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
709
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
710
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
711
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
712
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
713
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
714
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
715
+ * SUCH DAMAGE.
716
+ */
717
+
718
+ src/port/snprintf.c
719
+
720
+ /*
721
+ * Copyright (c) 1983, 1995, 1996 Eric P. Allman
722
+ * Copyright (c) 1988, 1993
723
+ * The Regents of the University of California. All rights reserved.
724
+ * Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
725
+ *
726
+ * Redistribution and use in source and binary forms, with or without
727
+ * modification, are permitted provided that the following conditions
728
+ * are met:
729
+ * 1. Redistributions of source code must retain the above copyright
730
+ * notice, this list of conditions and the following disclaimer.
731
+ * 2. Redistributions in binary form must reproduce the above copyright
732
+ * notice, this list of conditions and the following disclaimer in the
733
+ * documentation and/or other materials provided with the distribution.
734
+ * 3. Neither the name of the University nor the names of its contributors
735
+ * may be used to endorse or promote products derived from this software
736
+ * without specific prior written permission.
737
+ *
738
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
739
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
740
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
741
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
742
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
743
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
744
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
745
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
746
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
747
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
748
+ * SUCH DAMAGE.
749
+ *
750
+ * src/port/snprintf.c
751
+ */
752
+
753
+ src/port/strsep.c
754
+
755
+ /*-
756
+ * Copyright (c) 1990, 1993
757
+ * The Regents of the University of California. All rights reserved.
758
+ *
759
+ * Redistribution and use in source and binary forms, with or without
760
+ * modification, are permitted provided that the following conditions
761
+ * are met:
762
+ * 1. Redistributions of source code must retain the above copyright
763
+ * notice, this list of conditions and the following disclaimer.
764
+ * 2. Redistributions in binary form must reproduce the above copyright
765
+ * notice, this list of conditions and the following disclaimer in the
766
+ * documentation and/or other materials provided with the distribution.
767
+ * 3. Neither the name of the University nor the names of its contributors
768
+ * may be used to endorse or promote products derived from this software
769
+ * without specific prior written permission.
770
+ *
771
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
772
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
773
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
774
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
775
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
776
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
777
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
778
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
779
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
780
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
781
+ * SUCH DAMAGE.
782
+ */
783
+
784
+ src/timezone/strftime.c
785
+
786
+ /*
787
+ * Copyright 1989 The Regents of the University of California.
788
+ * All rights reserved.
789
+ *
790
+ * Redistribution and use in source and binary forms, with or without
791
+ * modification, are permitted provided that the following conditions
792
+ * are met:
793
+ * 1. Redistributions of source code must retain the above copyright
794
+ * notice, this list of conditions and the following disclaimer.
795
+ * 2. Redistributions in binary form must reproduce the above copyright
796
+ * notice, this list of conditions and the following disclaimer in the
797
+ * documentation and/or other materials provided with the distribution.
798
+ * 3. Neither the name of the University nor the names of its contributors
799
+ * may be used to endorse or promote products derived from this software
800
+ * without specific prior written permission.
801
+ *
802
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS "AS IS" AND
803
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
804
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
805
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
806
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
807
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
808
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
809
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
810
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
811
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
812
+ * SUCH DAMAGE.
813
+ */
814
+
815
+ The time zone data in postgres.data (IANA tzdata 2025c, from src/timezone/data/tzdata.zi)
816
+ is in the public domain, as that file states.
817
+
818
+ ------------------------------------------------------------------------------
819
+ Snowball (dict_snowball.so and its stopword files, in postgres.data)
820
+ ------------------------------------------------------------------------------
821
+
822
+ PostgreSQL's snowball module is synced with Snowball commit
823
+ d19326ac6c1b9a417fc872f7c2f845265a5e9ece (src/backend/snowball/README).
824
+ Source: https://raw.githubusercontent.com/snowballstem/snowball/d19326ac6c1b9a417fc872f7c2f845265a5e9ece/COPYING
825
+
826
+ Copyright (c) 2001, Dr Martin Porter
827
+ Copyright (c) 2004,2005, Richard Boulton
828
+ Copyright (c) 2013, Yoshiki Shibukawa
829
+ Copyright (c) 2006,2007,2009,2010,2011,2014-2019, Olly Betts
830
+ All rights reserved.
831
+
832
+ Redistribution and use in source and binary forms, with or without
833
+ modification, are permitted provided that the following conditions
834
+ are met:
835
+
836
+ 1. Redistributions of source code must retain the above copyright notice,
837
+ this list of conditions and the following disclaimer.
838
+ 2. Redistributions in binary form must reproduce the above copyright notice,
839
+ this list of conditions and the following disclaimer in the documentation
840
+ and/or other materials provided with the distribution.
841
+ 3. Neither the name of the Snowball project nor the names of its contributors
842
+ may be used to endorse or promote products derived from this software
843
+ without specific prior written permission.
844
+
845
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
846
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
847
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
848
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
849
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
850
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
851
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
852
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
853
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
854
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
855
+
856
+ ------------------------------------------------------------------------------
857
+ ICU 76.1 (postgres.wasm, initdb.wasm, and its data in postgres.data)
858
+ ------------------------------------------------------------------------------
859
+
860
+ Source: https://raw.githubusercontent.com/unicode-org/icu/release-76-1/LICENSE
861
+ The same file travels inside postgres.data at /pgwasm/icu/LICENSE (byte-identical).
862
+ PostgreSQL's own Unicode tables are generated from the Unicode Character Database,
863
+ whose terms are the Unicode License v3 at the start of this file.
864
+
865
+ UNICODE LICENSE V3
866
+
867
+ COPYRIGHT AND PERMISSION NOTICE
868
+
869
+ Copyright © 2016-2024 Unicode, Inc.
870
+
871
+ NOTICE TO USER: Carefully read the following legal agreement. BY
872
+ DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR
873
+ SOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE
874
+ TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT
875
+ DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE.
876
+
877
+ Permission is hereby granted, free of charge, to any person obtaining a
878
+ copy of data files and any associated documentation (the "Data Files") or
879
+ software and any associated documentation (the "Software") to deal in the
880
+ Data Files or Software without restriction, including without limitation
881
+ the rights to use, copy, modify, merge, publish, distribute, and/or sell
882
+ copies of the Data Files or Software, and to permit persons to whom the
883
+ Data Files or Software are furnished to do so, provided that either (a)
884
+ this copyright and permission notice appear with all copies of the Data
885
+ Files or Software, or (b) this copyright and permission notice appear in
886
+ associated Documentation.
887
+
888
+ THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
889
+ KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
890
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
891
+ THIRD PARTY RIGHTS.
892
+
893
+ IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE
894
+ BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES,
895
+ OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
896
+ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
897
+ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA
898
+ FILES OR SOFTWARE.
899
+
900
+ Except as contained in this notice, the name of a copyright holder shall
901
+ not be used in advertising or otherwise to promote the sale, use or other
902
+ dealings in these Data Files or Software without prior written
903
+ authorization of the copyright holder.
904
+
905
+ SPDX-License-Identifier: Unicode-3.0
906
+
907
+ ----------------------------------------------------------------------
908
+
909
+ Third-Party Software Licenses
910
+
911
+ This section contains third-party software notices and/or additional
912
+ terms for licensed third-party software components included within ICU
913
+ libraries.
914
+
915
+ ----------------------------------------------------------------------
916
+
917
+ ICU License - ICU 1.8.1 to ICU 57.1
918
+
919
+ COPYRIGHT AND PERMISSION NOTICE
920
+
921
+ Copyright (c) 1995-2016 International Business Machines Corporation and others
922
+ All rights reserved.
923
+
924
+ Permission is hereby granted, free of charge, to any person obtaining
925
+ a copy of this software and associated documentation files (the
926
+ "Software"), to deal in the Software without restriction, including
927
+ without limitation the rights to use, copy, modify, merge, publish,
928
+ distribute, and/or sell copies of the Software, and to permit persons
929
+ to whom the Software is furnished to do so, provided that the above
930
+ copyright notice(s) and this permission notice appear in all copies of
931
+ the Software and that both the above copyright notice(s) and this
932
+ permission notice appear in supporting documentation.
933
+
934
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
935
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
936
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
937
+ OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
938
+ HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY
939
+ SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER
940
+ RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF
941
+ CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
942
+ CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
943
+
944
+ Except as contained in this notice, the name of a copyright holder
945
+ shall not be used in advertising or otherwise to promote the sale, use
946
+ or other dealings in this Software without prior written authorization
947
+ of the copyright holder.
948
+
949
+ All trademarks and registered trademarks mentioned herein are the
950
+ property of their respective owners.
951
+
952
+ ----------------------------------------------------------------------
953
+
954
+ Chinese/Japanese Word Break Dictionary Data (cjdict.txt)
955
+
956
+ # The Google Chrome software developed by Google is licensed under
957
+ # the BSD license. Other software included in this distribution is
958
+ # provided under other licenses, as set forth below.
959
+ #
960
+ # The BSD License
961
+ # http://opensource.org/licenses/bsd-license.php
962
+ # Copyright (C) 2006-2008, Google Inc.
963
+ #
964
+ # All rights reserved.
965
+ #
966
+ # Redistribution and use in source and binary forms, with or without
967
+ # modification, are permitted provided that the following conditions are met:
968
+ #
969
+ # Redistributions of source code must retain the above copyright notice,
970
+ # this list of conditions and the following disclaimer.
971
+ # Redistributions in binary form must reproduce the above
972
+ # copyright notice, this list of conditions and the following
973
+ # disclaimer in the documentation and/or other materials provided with
974
+ # the distribution.
975
+ # Neither the name of Google Inc. nor the names of its
976
+ # contributors may be used to endorse or promote products derived from
977
+ # this software without specific prior written permission.
978
+ #
979
+ #
980
+ # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
981
+ # CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
982
+ # INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
983
+ # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
984
+ # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
985
+ # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
986
+ # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
987
+ # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
988
+ # BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
989
+ # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
990
+ # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
991
+ # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
992
+ #
993
+ #
994
+ # The word list in cjdict.txt are generated by combining three word lists
995
+ # listed below with further processing for compound word breaking. The
996
+ # frequency is generated with an iterative training against Google web
997
+ # corpora.
998
+ #
999
+ # * Libtabe (Chinese)
1000
+ # - https://sourceforge.net/project/?group_id=1519
1001
+ # - Its license terms and conditions are shown below.
1002
+ #
1003
+ # * IPADIC (Japanese)
1004
+ # - http://chasen.aist-nara.ac.jp/chasen/distribution.html
1005
+ # - Its license terms and conditions are shown below.
1006
+ #
1007
+ # ---------COPYING.libtabe ---- BEGIN--------------------
1008
+ #
1009
+ # /*
1010
+ # * Copyright (c) 1999 TaBE Project.
1011
+ # * Copyright (c) 1999 Pai-Hsiang Hsiao.
1012
+ # * All rights reserved.
1013
+ # *
1014
+ # * Redistribution and use in source and binary forms, with or without
1015
+ # * modification, are permitted provided that the following conditions
1016
+ # * are met:
1017
+ # *
1018
+ # * . Redistributions of source code must retain the above copyright
1019
+ # * notice, this list of conditions and the following disclaimer.
1020
+ # * . Redistributions in binary form must reproduce the above copyright
1021
+ # * notice, this list of conditions and the following disclaimer in
1022
+ # * the documentation and/or other materials provided with the
1023
+ # * distribution.
1024
+ # * . Neither the name of the TaBE Project nor the names of its
1025
+ # * contributors may be used to endorse or promote products derived
1026
+ # * from this software without specific prior written permission.
1027
+ # *
1028
+ # * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1029
+ # * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1030
+ # * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
1031
+ # * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
1032
+ # * REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
1033
+ # * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
1034
+ # * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
1035
+ # * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1036
+ # * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
1037
+ # * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
1038
+ # * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
1039
+ # * OF THE POSSIBILITY OF SUCH DAMAGE.
1040
+ # */
1041
+ #
1042
+ # /*
1043
+ # * Copyright (c) 1999 Computer Systems and Communication Lab,
1044
+ # * Institute of Information Science, Academia
1045
+ # * Sinica. All rights reserved.
1046
+ # *
1047
+ # * Redistribution and use in source and binary forms, with or without
1048
+ # * modification, are permitted provided that the following conditions
1049
+ # * are met:
1050
+ # *
1051
+ # * . Redistributions of source code must retain the above copyright
1052
+ # * notice, this list of conditions and the following disclaimer.
1053
+ # * . Redistributions in binary form must reproduce the above copyright
1054
+ # * notice, this list of conditions and the following disclaimer in
1055
+ # * the documentation and/or other materials provided with the
1056
+ # * distribution.
1057
+ # * . Neither the name of the Computer Systems and Communication Lab
1058
+ # * nor the names of its contributors may be used to endorse or
1059
+ # * promote products derived from this software without specific
1060
+ # * prior written permission.
1061
+ # *
1062
+ # * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1063
+ # * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1064
+ # * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
1065
+ # * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
1066
+ # * REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
1067
+ # * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
1068
+ # * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
1069
+ # * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1070
+ # * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
1071
+ # * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
1072
+ # * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
1073
+ # * OF THE POSSIBILITY OF SUCH DAMAGE.
1074
+ # */
1075
+ #
1076
+ # Copyright 1996 Chih-Hao Tsai @ Beckman Institute,
1077
+ # University of Illinois
1078
+ # c-tsai4@uiuc.edu http://casper.beckman.uiuc.edu/~c-tsai4
1079
+ #
1080
+ # ---------------COPYING.libtabe-----END--------------------------------
1081
+ #
1082
+ #
1083
+ # ---------------COPYING.ipadic-----BEGIN-------------------------------
1084
+ #
1085
+ # Copyright 2000, 2001, 2002, 2003 Nara Institute of Science
1086
+ # and Technology. All Rights Reserved.
1087
+ #
1088
+ # Use, reproduction, and distribution of this software is permitted.
1089
+ # Any copy of this software, whether in its original form or modified,
1090
+ # must include both the above copyright notice and the following
1091
+ # paragraphs.
1092
+ #
1093
+ # Nara Institute of Science and Technology (NAIST),
1094
+ # the copyright holders, disclaims all warranties with regard to this
1095
+ # software, including all implied warranties of merchantability and
1096
+ # fitness, in no event shall NAIST be liable for
1097
+ # any special, indirect or consequential damages or any damages
1098
+ # whatsoever resulting from loss of use, data or profits, whether in an
1099
+ # action of contract, negligence or other tortuous action, arising out
1100
+ # of or in connection with the use or performance of this software.
1101
+ #
1102
+ # A large portion of the dictionary entries
1103
+ # originate from ICOT Free Software. The following conditions for ICOT
1104
+ # Free Software applies to the current dictionary as well.
1105
+ #
1106
+ # Each User may also freely distribute the Program, whether in its
1107
+ # original form or modified, to any third party or parties, PROVIDED
1108
+ # that the provisions of Section 3 ("NO WARRANTY") will ALWAYS appear
1109
+ # on, or be attached to, the Program, which is distributed substantially
1110
+ # in the same form as set out herein and that such intended
1111
+ # distribution, if actually made, will neither violate or otherwise
1112
+ # contravene any of the laws and regulations of the countries having
1113
+ # jurisdiction over the User or the intended distribution itself.
1114
+ #
1115
+ # NO WARRANTY
1116
+ #
1117
+ # The program was produced on an experimental basis in the course of the
1118
+ # research and development conducted during the project and is provided
1119
+ # to users as so produced on an experimental basis. Accordingly, the
1120
+ # program is provided without any warranty whatsoever, whether express,
1121
+ # implied, statutory or otherwise. The term "warranty" used herein
1122
+ # includes, but is not limited to, any warranty of the quality,
1123
+ # performance, merchantability and fitness for a particular purpose of
1124
+ # the program and the nonexistence of any infringement or violation of
1125
+ # any right of any third party.
1126
+ #
1127
+ # Each user of the program will agree and understand, and be deemed to
1128
+ # have agreed and understood, that there is no warranty whatsoever for
1129
+ # the program and, accordingly, the entire risk arising from or
1130
+ # otherwise connected with the program is assumed by the user.
1131
+ #
1132
+ # Therefore, neither ICOT, the copyright holder, or any other
1133
+ # organization that participated in or was otherwise related to the
1134
+ # development of the program and their respective officials, directors,
1135
+ # officers and other employees shall be held liable for any and all
1136
+ # damages, including, without limitation, general, special, incidental
1137
+ # and consequential damages, arising out of or otherwise in connection
1138
+ # with the use or inability to use the program or any product, material
1139
+ # or result produced or otherwise obtained by using the program,
1140
+ # regardless of whether they have been advised of, or otherwise had
1141
+ # knowledge of, the possibility of such damages at any time during the
1142
+ # project or thereafter. Each user will be deemed to have agreed to the
1143
+ # foregoing by his or her commencement of use of the program. The term
1144
+ # "use" as used herein includes, but is not limited to, the use,
1145
+ # modification, copying and distribution of the program and the
1146
+ # production of secondary products from the program.
1147
+ #
1148
+ # In the case where the program, whether in its original form or
1149
+ # modified, was distributed or delivered to or received by a user from
1150
+ # any person, organization or entity other than ICOT, unless it makes or
1151
+ # grants independently of ICOT any specific warranty to the user in
1152
+ # writing, such person, organization or entity, will also be exempted
1153
+ # from and not be held liable to the user for any such damages as noted
1154
+ # above as far as the program is concerned.
1155
+ #
1156
+ # ---------------COPYING.ipadic-----END----------------------------------
1157
+
1158
+ ----------------------------------------------------------------------
1159
+
1160
+ Lao Word Break Dictionary Data (laodict.txt)
1161
+
1162
+ # Copyright (C) 2016 and later: Unicode, Inc. and others.
1163
+ # License & terms of use: http://www.unicode.org/copyright.html
1164
+ # Copyright (c) 2015 International Business Machines Corporation
1165
+ # and others. All Rights Reserved.
1166
+ #
1167
+ # Project: https://github.com/rober42539/lao-dictionary
1168
+ # Dictionary: https://github.com/rober42539/lao-dictionary/laodict.txt
1169
+ # License: https://github.com/rober42539/lao-dictionary/LICENSE.txt
1170
+ # (copied below)
1171
+ #
1172
+ # This file is derived from the above dictionary version of Nov 22, 2020
1173
+ # ----------------------------------------------------------------------
1174
+ # Copyright (C) 2013 Brian Eugene Wilson, Robert Martin Campbell.
1175
+ # All rights reserved.
1176
+ #
1177
+ # Redistribution and use in source and binary forms, with or without
1178
+ # modification, are permitted provided that the following conditions are met:
1179
+ #
1180
+ # Redistributions of source code must retain the above copyright notice, this
1181
+ # list of conditions and the following disclaimer. Redistributions in binary
1182
+ # form must reproduce the above copyright notice, this list of conditions and
1183
+ # the following disclaimer in the documentation and/or other materials
1184
+ # provided with the distribution.
1185
+ #
1186
+ # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1187
+ # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1188
+ # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
1189
+ # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
1190
+ # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
1191
+ # INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
1192
+ # (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
1193
+ # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1194
+ # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
1195
+ # STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
1196
+ # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
1197
+ # OF THE POSSIBILITY OF SUCH DAMAGE.
1198
+ # --------------------------------------------------------------------------
1199
+
1200
+ ----------------------------------------------------------------------
1201
+
1202
+ Burmese Word Break Dictionary Data (burmesedict.txt)
1203
+
1204
+ # Copyright (c) 2014 International Business Machines Corporation
1205
+ # and others. All Rights Reserved.
1206
+ #
1207
+ # This list is part of a project hosted at:
1208
+ # github.com/kanyawtech/myanmar-karen-word-lists
1209
+ #
1210
+ # --------------------------------------------------------------------------
1211
+ # Copyright (c) 2013, LeRoy Benjamin Sharon
1212
+ # All rights reserved.
1213
+ #
1214
+ # Redistribution and use in source and binary forms, with or without
1215
+ # modification, are permitted provided that the following conditions
1216
+ # are met: Redistributions of source code must retain the above
1217
+ # copyright notice, this list of conditions and the following
1218
+ # disclaimer. Redistributions in binary form must reproduce the
1219
+ # above copyright notice, this list of conditions and the following
1220
+ # disclaimer in the documentation and/or other materials provided
1221
+ # with the distribution.
1222
+ #
1223
+ # Neither the name Myanmar Karen Word Lists, nor the names of its
1224
+ # contributors may be used to endorse or promote products derived
1225
+ # from this software without specific prior written permission.
1226
+ #
1227
+ # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
1228
+ # CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
1229
+ # INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
1230
+ # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
1231
+ # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS
1232
+ # BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
1233
+ # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
1234
+ # TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1235
+ # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
1236
+ # ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
1237
+ # TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
1238
+ # THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
1239
+ # SUCH DAMAGE.
1240
+ # --------------------------------------------------------------------------
1241
+
1242
+ ----------------------------------------------------------------------
1243
+
1244
+ Time Zone Database
1245
+
1246
+ ICU uses the public domain data and code derived from Time Zone
1247
+ Database for its time zone support. The ownership of the TZ database
1248
+ is explained in BCP 175: Procedure for Maintaining the Time Zone
1249
+ Database section 7.
1250
+
1251
+ # 7. Database Ownership
1252
+ #
1253
+ # The TZ database itself is not an IETF Contribution or an IETF
1254
+ # document. Rather it is a pre-existing and regularly updated work
1255
+ # that is in the public domain, and is intended to remain in the
1256
+ # public domain. Therefore, BCPs 78 [RFC5378] and 79 [RFC3979] do
1257
+ # not apply to the TZ Database or contributions that individuals make
1258
+ # to it. Should any claims be made and substantiated against the TZ
1259
+ # Database, the organization that is providing the IANA
1260
+ # Considerations defined in this RFC, under the memorandum of
1261
+ # understanding with the IETF, currently ICANN, may act in accordance
1262
+ # with all competent court orders. No ownership claims will be made
1263
+ # by ICANN or the IETF Trust on the database or the code. Any person
1264
+ # making a contribution to the database or code waives all rights to
1265
+ # future claims in that contribution or in the TZ Database.
1266
+
1267
+ ----------------------------------------------------------------------
1268
+
1269
+ Google double-conversion
1270
+
1271
+ Copyright 2006-2011, the V8 project authors. All rights reserved.
1272
+ Redistribution and use in source and binary forms, with or without
1273
+ modification, are permitted provided that the following conditions are
1274
+ met:
1275
+
1276
+ * Redistributions of source code must retain the above copyright
1277
+ notice, this list of conditions and the following disclaimer.
1278
+ * Redistributions in binary form must reproduce the above
1279
+ copyright notice, this list of conditions and the following
1280
+ disclaimer in the documentation and/or other materials provided
1281
+ with the distribution.
1282
+ * Neither the name of Google Inc. nor the names of its
1283
+ contributors may be used to endorse or promote products derived
1284
+ from this software without specific prior written permission.
1285
+
1286
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1287
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1288
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1289
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1290
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1291
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
1292
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1293
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1294
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1295
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1296
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1297
+
1298
+ ----------------------------------------------------------------------
1299
+
1300
+ JSON parsing library (nlohmann/json)
1301
+
1302
+ File: vendor/json/upstream/single_include/nlohmann/json.hpp (only for ICU4C)
1303
+
1304
+ MIT License
1305
+
1306
+ Copyright (c) 2013-2022 Niels Lohmann
1307
+
1308
+ Permission is hereby granted, free of charge, to any person obtaining a copy
1309
+ of this software and associated documentation files (the "Software"), to deal
1310
+ in the Software without restriction, including without limitation the rights
1311
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1312
+ copies of the Software, and to permit persons to whom the Software is
1313
+ furnished to do so, subject to the following conditions:
1314
+
1315
+ The above copyright notice and this permission notice shall be included in all
1316
+ copies or substantial portions of the Software.
1317
+
1318
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1319
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1320
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1321
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1322
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1323
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1324
+ SOFTWARE.
1325
+
1326
+ ----------------------------------------------------------------------
1327
+
1328
+ File: aclocal.m4 (only for ICU4C)
1329
+ Section: pkg.m4 - Macros to locate and utilise pkg-config.
1330
+
1331
+
1332
+ Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
1333
+ Copyright © 2012-2015 Dan Nicholson <dbn.lists@gmail.com>
1334
+
1335
+ This program is free software; you can redistribute it and/or modify
1336
+ it under the terms of the GNU General Public License as published by
1337
+ the Free Software Foundation; either version 2 of the License, or
1338
+ (at your option) any later version.
1339
+
1340
+ This program is distributed in the hope that it will be useful, but
1341
+ WITHOUT ANY WARRANTY; without even the implied warranty of
1342
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1343
+ General Public License for more details.
1344
+
1345
+ You should have received a copy of the GNU General Public License
1346
+ along with this program; if not, write to the Free Software
1347
+ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
1348
+ 02111-1307, USA.
1349
+
1350
+ As a special exception to the GNU General Public License, if you
1351
+ distribute this file as part of a program that contains a
1352
+ configuration script generated by Autoconf, you may include it under
1353
+ the same distribution terms that you use for the rest of that
1354
+ program.
1355
+
1356
+
1357
+ (The condition for the exception is fulfilled because
1358
+ ICU4C includes a configuration script generated by Autoconf,
1359
+ namely the `configure` script.)
1360
+
1361
+ ----------------------------------------------------------------------
1362
+
1363
+ File: config.guess (only for ICU4C)
1364
+
1365
+
1366
+ This file is free software; you can redistribute it and/or modify it
1367
+ under the terms of the GNU General Public License as published by
1368
+ the Free Software Foundation, either version 3 of the License, or
1369
+ (at your option) any later version.
1370
+
1371
+ This program is distributed in the hope that it will be useful, but
1372
+ WITHOUT ANY WARRANTY; without even the implied warranty of
1373
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1374
+ General Public License for more details.
1375
+
1376
+ You should have received a copy of the GNU General Public License
1377
+ along with this program; if not, see <https://www.gnu.org/licenses/>.
1378
+
1379
+ As a special exception to the GNU General Public License, if you
1380
+ distribute this file as part of a program that contains a
1381
+ configuration script generated by Autoconf, you may include it under
1382
+ the same distribution terms that you use for the rest of that
1383
+ program. This Exception is an additional permission under section 7
1384
+ of the GNU General Public License, version 3 ("GPLv3").
1385
+
1386
+
1387
+ (The condition for the exception is fulfilled because
1388
+ ICU4C includes a configuration script generated by Autoconf,
1389
+ namely the `configure` script.)
1390
+
1391
+ ----------------------------------------------------------------------
1392
+
1393
+ File: install-sh (only for ICU4C)
1394
+
1395
+
1396
+ Copyright 1991 by the Massachusetts Institute of Technology
1397
+
1398
+ Permission to use, copy, modify, distribute, and sell this software and its
1399
+ documentation for any purpose is hereby granted without fee, provided that
1400
+ the above copyright notice appear in all copies and that both that
1401
+ copyright notice and this permission notice appear in supporting
1402
+ documentation, and that the name of M.I.T. not be used in advertising or
1403
+ publicity pertaining to distribution of the software without specific,
1404
+ written prior permission. M.I.T. makes no representations about the
1405
+ suitability of this software for any purpose. It is provided "as is"
1406
+ without express or implied warranty.
1407
+
1408
+ ------------------------------------------------------------------------------
1409
+ libxml2 2.15.4 (postgres.wasm)
1410
+ ------------------------------------------------------------------------------
1411
+
1412
+ Source: https://gitlab.gnome.org/GNOME/libxml2/-/raw/v2.15.4/Copyright
1413
+
1414
+ Except where otherwise noted in the source code (e.g. the files dict.c and
1415
+ list.c, which are covered by a similar licence but with different Copyright
1416
+ notices) all the files are:
1417
+
1418
+ Copyright (C) 1998-2012 Daniel Veillard. All Rights Reserved.
1419
+ Copyright (C) The Libxml2 Contributors.
1420
+
1421
+ Permission is hereby granted, free of charge, to any person obtaining a copy
1422
+ of this software and associated documentation files (the "Software"), to deal
1423
+ in the Software without restriction, including without limitation the rights
1424
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1425
+ copies of the Software, and to permit persons to whom the Software is fur-
1426
+ nished to do so, subject to the following conditions:
1427
+
1428
+ The above copyright notice and this permission notice shall be included in
1429
+ all copies or substantial portions of the Software.
1430
+
1431
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1432
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
1433
+ NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1434
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1435
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1436
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1437
+ THE SOFTWARE.
1438
+
1439
+ ------------------------------------------------------------------------------
1440
+ zlib 1.3.2 (postgres.wasm)
1441
+ ------------------------------------------------------------------------------
1442
+
1443
+ Source: https://raw.githubusercontent.com/madler/zlib/v1.3.2/LICENSE
1444
+
1445
+ Copyright notice:
1446
+
1447
+ (C) 1995-2026 Jean-loup Gailly and Mark Adler
1448
+
1449
+ This software is provided 'as-is', without any express or implied
1450
+ warranty. In no event will the authors be held liable for any damages
1451
+ arising from the use of this software.
1452
+
1453
+ Permission is granted to anyone to use this software for any purpose,
1454
+ including commercial applications, and to alter it and redistribute it
1455
+ freely, subject to the following restrictions:
1456
+
1457
+ 1. The origin of this software must not be misrepresented; you must not
1458
+ claim that you wrote the original software. If you use this software
1459
+ in a product, an acknowledgment in the product documentation would be
1460
+ appreciated but is not required.
1461
+ 2. Altered source versions must be plainly marked as such, and must not be
1462
+ misrepresented as being the original software.
1463
+ 3. This notice may not be removed or altered from any source distribution.
1464
+
1465
+ Jean-loup Gailly Mark Adler
1466
+ jloup@gzip.org madler@alumni.caltech.edu
1467
+
1468
+ ------------------------------------------------------------------------------
1469
+ Emscripten 6.0.10 (the runtime in postgres.js and initdb.js, and its system libraries in postgres.wasm and initdb.wasm)
1470
+ ------------------------------------------------------------------------------
1471
+
1472
+ Source: https://raw.githubusercontent.com/emscripten-core/emscripten/6.0.10/LICENSE
1473
+
1474
+ Emscripten is available under 2 licenses, the MIT license and the
1475
+ University of Illinois/NCSA Open Source License.
1476
+
1477
+ Both are permissive open source licenses, with little if any
1478
+ practical difference between them.
1479
+
1480
+ The reason for offering both is that (1) the MIT license is
1481
+ well-known, while (2) the University of Illinois/NCSA Open Source
1482
+ License allows Emscripten's code to be integrated upstream into
1483
+ LLVM, which uses that license, should the opportunity arise.
1484
+
1485
+ The full text of both licenses follows.
1486
+
1487
+ ==============================================================================
1488
+
1489
+ Copyright (c) 2010-2014 Emscripten authors, see AUTHORS file.
1490
+
1491
+ Permission is hereby granted, free of charge, to any person obtaining a copy
1492
+ of this software and associated documentation files (the "Software"), to deal
1493
+ in the Software without restriction, including without limitation the rights
1494
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1495
+ copies of the Software, and to permit persons to whom the Software is
1496
+ furnished to do so, subject to the following conditions:
1497
+
1498
+ The above copyright notice and this permission notice shall be included in
1499
+ all copies or substantial portions of the Software.
1500
+
1501
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1502
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1503
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1504
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1505
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1506
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1507
+ THE SOFTWARE.
1508
+
1509
+ ==============================================================================
1510
+
1511
+ Copyright (c) 2010-2014 Emscripten authors, see AUTHORS file.
1512
+ All rights reserved.
1513
+
1514
+ Permission is hereby granted, free of charge, to any person obtaining a
1515
+ copy of this software and associated documentation files (the
1516
+ "Software"), to deal with the Software without restriction, including
1517
+ without limitation the rights to use, copy, modify, merge, publish,
1518
+ distribute, sublicense, and/or sell copies of the Software, and to
1519
+ permit persons to whom the Software is furnished to do so, subject to
1520
+ the following conditions:
1521
+
1522
+ Redistributions of source code must retain the above copyright
1523
+ notice, this list of conditions and the following disclaimers.
1524
+
1525
+ Redistributions in binary form must reproduce the above
1526
+ copyright notice, this list of conditions and the following disclaimers
1527
+ in the documentation and/or other materials provided with the
1528
+ distribution.
1529
+
1530
+ Neither the names of Mozilla,
1531
+ nor the names of its contributors may be used to endorse
1532
+ or promote products derived from this Software without specific prior
1533
+ written permission.
1534
+
1535
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
1536
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
1537
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
1538
+ IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR
1539
+ ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
1540
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
1541
+ SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE.
1542
+
1543
+ ==============================================================================
1544
+
1545
+ This program uses portions of Node.js source code located in src/library_path.js,
1546
+ in accordance with the terms of the MIT license. Node's license follows:
1547
+
1548
+ """
1549
+ Copyright Joyent, Inc. and other Node contributors. All rights reserved.
1550
+ Permission is hereby granted, free of charge, to any person obtaining a copy
1551
+ of this software and associated documentation files (the "Software"), to
1552
+ deal in the Software without restriction, including without limitation the
1553
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
1554
+ sell copies of the Software, and to permit persons to whom the Software is
1555
+ furnished to do so, subject to the following conditions:
1556
+
1557
+ The above copyright notice and this permission notice shall be included in
1558
+ all copies or substantial portions of the Software.
1559
+
1560
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1561
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1562
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1563
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1564
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
1565
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
1566
+ IN THE SOFTWARE.
1567
+ """
1568
+
1569
+ The musl libc project is bundled in this repo, and it has the MIT license, see
1570
+ system/lib/libc/musl/COPYRIGHT
1571
+
1572
+ The third_party/ subdirectory contains code with other licenses. None of it is
1573
+ used by default, but certain options use it (e.g., the optional closure compiler
1574
+ flag will run closure compiler from third_party/).
1575
+
1576
+ ------------------------------------------------------------------------------
1577
+ musl libc, as bundled in Emscripten 6.0.10 (postgres.wasm, initdb.wasm)
1578
+ ------------------------------------------------------------------------------
1579
+
1580
+ Source: https://raw.githubusercontent.com/emscripten-core/emscripten/6.0.10/system/lib/libc/musl/COPYRIGHT
1581
+
1582
+ musl as a whole is licensed under the following standard MIT license:
1583
+
1584
+ ----------------------------------------------------------------------
1585
+ Copyright © 2005-2020 Rich Felker, et al.
1586
+
1587
+ Permission is hereby granted, free of charge, to any person obtaining
1588
+ a copy of this software and associated documentation files (the
1589
+ "Software"), to deal in the Software without restriction, including
1590
+ without limitation the rights to use, copy, modify, merge, publish,
1591
+ distribute, sublicense, and/or sell copies of the Software, and to
1592
+ permit persons to whom the Software is furnished to do so, subject to
1593
+ the following conditions:
1594
+
1595
+ The above copyright notice and this permission notice shall be
1596
+ included in all copies or substantial portions of the Software.
1597
+
1598
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
1599
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
1600
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
1601
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
1602
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
1603
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
1604
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1605
+ ----------------------------------------------------------------------
1606
+
1607
+ Authors/contributors include:
1608
+
1609
+ A. Wilcox
1610
+ Ada Worcester
1611
+ Alex Dowad
1612
+ Alex Suykov
1613
+ Alexander Monakov
1614
+ Andre McCurdy
1615
+ Andrew Kelley
1616
+ Anthony G. Basile
1617
+ Aric Belsito
1618
+ Arvid Picciani
1619
+ Bartosz Brachaczek
1620
+ Benjamin Peterson
1621
+ Bobby Bingham
1622
+ Boris Brezillon
1623
+ Brent Cook
1624
+ Chris Spiegel
1625
+ Clément Vasseur
1626
+ Daniel Micay
1627
+ Daniel Sabogal
1628
+ Daurnimator
1629
+ David Carlier
1630
+ David Edelsohn
1631
+ Denys Vlasenko
1632
+ Dmitry Ivanov
1633
+ Dmitry V. Levin
1634
+ Drew DeVault
1635
+ Emil Renner Berthing
1636
+ Fangrui Song
1637
+ Felix Fietkau
1638
+ Felix Janda
1639
+ Gianluca Anzolin
1640
+ Hauke Mehrtens
1641
+ He X
1642
+ Hiltjo Posthuma
1643
+ Isaac Dunham
1644
+ Jaydeep Patil
1645
+ Jens Gustedt
1646
+ Jeremy Huntwork
1647
+ Jo-Philipp Wich
1648
+ Joakim Sindholt
1649
+ John Spencer
1650
+ Julien Ramseier
1651
+ Justin Cormack
1652
+ Kaarle Ritvanen
1653
+ Khem Raj
1654
+ Kylie McClain
1655
+ Leah Neukirchen
1656
+ Luca Barbato
1657
+ Luka Perkov
1658
+ Lynn Ochs
1659
+ M Farkas-Dyck (Strake)
1660
+ Mahesh Bodapati
1661
+ Markus Wichmann
1662
+ Masanori Ogino
1663
+ Michael Clark
1664
+ Michael Forney
1665
+ Mikhail Kremnyov
1666
+ Natanael Copa
1667
+ Nicholas J. Kain
1668
+ orc
1669
+ Pascal Cuoq
1670
+ Patrick Oppenlander
1671
+ Petr Hosek
1672
+ Petr Skocik
1673
+ Pierre Carrier
1674
+ Reini Urban
1675
+ Rich Felker
1676
+ Richard Pennington
1677
+ Ryan Fairfax
1678
+ Samuel Holland
1679
+ Segev Finer
1680
+ Shiz
1681
+ sin
1682
+ Solar Designer
1683
+ Stefan Kristiansson
1684
+ Stefan O'Rear
1685
+ Szabolcs Nagy
1686
+ Timo Teräs
1687
+ Trutz Behn
1688
+ Will Dietz
1689
+ William Haddon
1690
+ William Pitcock
1691
+
1692
+ Portions of this software are derived from third-party works licensed
1693
+ under terms compatible with the above MIT license:
1694
+
1695
+ The TRE regular expression implementation (src/regex/reg* and
1696
+ src/regex/tre*) is Copyright © 2001-2008 Ville Laurikari and licensed
1697
+ under a 2-clause BSD license (license text in the source files). The
1698
+ included version has been heavily modified by Rich Felker in 2012, in
1699
+ the interests of size, simplicity, and namespace cleanliness.
1700
+
1701
+ Much of the math library code (src/math/* and src/complex/*) is
1702
+ Copyright © 1993,2004 Sun Microsystems or
1703
+ Copyright © 2003-2011 David Schultz or
1704
+ Copyright © 2003-2009 Steven G. Kargl or
1705
+ Copyright © 2003-2009 Bruce D. Evans or
1706
+ Copyright © 2008 Stephen L. Moshier or
1707
+ Copyright © 2017-2018 Arm Limited
1708
+ and labelled as such in comments in the individual source files. All
1709
+ have been licensed under extremely permissive terms.
1710
+
1711
+ The ARM memcpy code (src/string/arm/memcpy.S) is Copyright © 2008
1712
+ The Android Open Source Project and is licensed under a two-clause BSD
1713
+ license. It was taken from Bionic libc, used on Android.
1714
+
1715
+ The AArch64 memcpy and memset code (src/string/aarch64/*) are
1716
+ Copyright © 1999-2019, Arm Limited.
1717
+
1718
+ The implementation of DES for crypt (src/crypt/crypt_des.c) is
1719
+ Copyright © 1994 David Burren. It is licensed under a BSD license.
1720
+
1721
+ The implementation of blowfish crypt (src/crypt/crypt_blowfish.c) was
1722
+ originally written by Solar Designer and placed into the public
1723
+ domain. The code also comes with a fallback permissive license for use
1724
+ in jurisdictions that may not recognize the public domain.
1725
+
1726
+ The smoothsort implementation (src/stdlib/qsort.c) is Copyright © 2011
1727
+ Lynn Ochs and is licensed under an MIT-style license.
1728
+
1729
+ The x86_64 port was written by Nicholas J. Kain and is licensed under
1730
+ the standard MIT terms.
1731
+
1732
+ The mips and microblaze ports were originally written by Richard
1733
+ Pennington for use in the ellcc project. The original code was adapted
1734
+ by Rich Felker for build system and code conventions during upstream
1735
+ integration. It is licensed under the standard MIT terms.
1736
+
1737
+ The mips64 port was contributed by Imagination Technologies and is
1738
+ licensed under the standard MIT terms.
1739
+
1740
+ The powerpc port was also originally written by Richard Pennington,
1741
+ and later supplemented and integrated by John Spencer. It is licensed
1742
+ under the standard MIT terms.
1743
+
1744
+ All other files which have no copyright comments are original works
1745
+ produced specifically for use as part of this library, written either
1746
+ by Rich Felker, the main author of the library, or by one or more
1747
+ contibutors listed above. Details on authorship of individual files
1748
+ can be found in the git version control history of the project. The
1749
+ omission of copyright and license comments in each file is in the
1750
+ interest of source tree size.
1751
+
1752
+ In addition, permission is hereby granted for all public header files
1753
+ (include/* and arch/*/bits/*) and crt files intended to be linked into
1754
+ applications (crt/*, ldso/dlstart.c, and arch/*/crt_arch.h) to omit
1755
+ the copyright notice and permission notice otherwise required by the
1756
+ license, and to use these files without any requirement of
1757
+ attribution. These files include substantial contributions from:
1758
+
1759
+ Bobby Bingham
1760
+ John Spencer
1761
+ Nicholas J. Kain
1762
+ Rich Felker
1763
+ Richard Pennington
1764
+ Stefan Kristiansson
1765
+ Szabolcs Nagy
1766
+
1767
+ all of whom have explicitly granted such permission.
1768
+
1769
+ This file previously contained text expressing a belief that most of
1770
+ the files covered by the above exception were sufficiently trivial not
1771
+ to be subject to copyright, resulting in confusion over whether it
1772
+ negated the permissions granted in the license. In the spirit of
1773
+ permissive licensing, and of not having licensing issues being an
1774
+ obstacle to adoption, that text has been removed.
1775
+
1776
+ ------------------------------------------------------------------------------
1777
+ LLVM runtime libraries, as bundled in Emscripten 6.0.10 (compiler-rt, libc++, libc++abi; postgres.wasm, initdb.wasm)
1778
+ ------------------------------------------------------------------------------
1779
+
1780
+ These are under the Apache License v2.0 with LLVM Exceptions. Their object code is
1781
+ embedded in the artefacts, which the exception covers (text below, from each
1782
+ library's LICENSE.TXT, where it is identical):
1783
+
1784
+ ---- LLVM Exceptions to the Apache 2.0 License ----
1785
+
1786
+ As an exception, if, as a result of your compiling your source code, portions
1787
+ of this Software are embedded into an Object form of such source code, you
1788
+ may redistribute such embedded portions in such Object form without complying
1789
+ with the conditions of Sections 4(a), 4(b) and 4(d) of the License.
1790
+
1791
+ In addition, if you combine or link compiled forms of this Software with
1792
+ software that is licensed under the GPLv2 ("Combined Software") and if a
1793
+ court of competent jurisdiction determines that the patent provision (Section
1794
+ 3), the indemnity provision (Section 9) or other Section of the License
1795
+ conflicts with the conditions of the GPLv2, you may retroactively and
1796
+ prospectively choose to deem waived or otherwise exclude such Section(s) of
1797
+ the License, but only in their entirety and only with respect to the Combined
1798
+ Software.
1799
+
1800
+ Each library's LICENSE.TXT also carries the legacy LLVM licence:
1801
+
1802
+ compiler-rt — https://raw.githubusercontent.com/emscripten-core/emscripten/6.0.10/system/lib/compiler-rt/LICENSE.TXT
1803
+ Legacy licence (dual NCSA / MIT; the MIT notice is reproduced):
1804
+
1805
+ The compiler_rt library is dual licensed under both the University of Illinois
1806
+ "BSD-Like" license and the MIT license. As a user of this code you may choose
1807
+ to use it under either license. As a contributor, you agree to allow your code
1808
+ to be used under both.
1809
+
1810
+ Full text of the relevant licenses is included below.
1811
+
1812
+ Copyright (c) 2009-2015 by the contributors listed in CREDITS.TXT
1813
+
1814
+ Permission is hereby granted, free of charge, to any person obtaining a copy
1815
+ of this software and associated documentation files (the "Software"), to deal
1816
+ in the Software without restriction, including without limitation the rights
1817
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1818
+ copies of the Software, and to permit persons to whom the Software is
1819
+ furnished to do so, subject to the following conditions:
1820
+
1821
+ The above copyright notice and this permission notice shall be included in
1822
+ all copies or substantial portions of the Software.
1823
+
1824
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1825
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1826
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1827
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1828
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1829
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1830
+ THE SOFTWARE.
1831
+
1832
+ libc++ — https://raw.githubusercontent.com/emscripten-core/emscripten/6.0.10/system/lib/libcxx/LICENSE.TXT
1833
+ Legacy licence (dual NCSA / MIT; the MIT notice is reproduced):
1834
+
1835
+ The libc++ library is dual licensed under both the University of Illinois
1836
+ "BSD-Like" license and the MIT license. As a user of this code you may choose
1837
+ to use it under either license. As a contributor, you agree to allow your code
1838
+ to be used under both.
1839
+
1840
+ Full text of the relevant licenses is included below.
1841
+
1842
+ Copyright (c) 2009-2014 by the contributors listed in CREDITS.TXT
1843
+
1844
+ Permission is hereby granted, free of charge, to any person obtaining a copy
1845
+ of this software and associated documentation files (the "Software"), to deal
1846
+ in the Software without restriction, including without limitation the rights
1847
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1848
+ copies of the Software, and to permit persons to whom the Software is
1849
+ furnished to do so, subject to the following conditions:
1850
+
1851
+ The above copyright notice and this permission notice shall be included in
1852
+ all copies or substantial portions of the Software.
1853
+
1854
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1855
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1856
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1857
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1858
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1859
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1860
+ THE SOFTWARE.
1861
+
1862
+ libc++abi — https://raw.githubusercontent.com/emscripten-core/emscripten/6.0.10/system/lib/libcxxabi/LICENSE.TXT
1863
+ Legacy licence (dual NCSA / MIT; the MIT notice is reproduced):
1864
+
1865
+ The libc++abi library is dual licensed under both the University of Illinois
1866
+ "BSD-Like" license and the MIT license. As a user of this code you may choose
1867
+ to use it under either license. As a contributor, you agree to allow your code
1868
+ to be used under both.
1869
+
1870
+ Full text of the relevant licenses is included below.
1871
+
1872
+ Copyright (c) 2009-2014 by the contributors listed in CREDITS.TXT
1873
+
1874
+ Permission is hereby granted, free of charge, to any person obtaining a copy
1875
+ of this software and associated documentation files (the "Software"), to deal
1876
+ in the Software without restriction, including without limitation the rights
1877
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1878
+ copies of the Software, and to permit persons to whom the Software is
1879
+ furnished to do so, subject to the following conditions:
1880
+
1881
+ The above copyright notice and this permission notice shall be included in
1882
+ all copies or substantial portions of the Software.
1883
+
1884
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1885
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1886
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1887
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1888
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1889
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1890
+ THE SOFTWARE.