pg 1.6.0.rc1-x86_64-linux
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +4 -0
- data/BSDL +22 -0
- data/Contributors.rdoc +46 -0
- data/Gemfile +23 -0
- data/History.md +958 -0
- data/LICENSE +56 -0
- data/Manifest.txt +72 -0
- data/POSTGRES +23 -0
- data/README-OS_X.rdoc +68 -0
- data/README-Windows.rdoc +56 -0
- data/README.ja.md +300 -0
- data/README.md +286 -0
- data/Rakefile +161 -0
- data/certs/ged.pem +24 -0
- data/certs/kanis@comcard.de.pem +20 -0
- data/certs/larskanis-2022.pem +26 -0
- data/certs/larskanis-2023.pem +24 -0
- data/certs/larskanis-2024.pem +24 -0
- data/ext/errorcodes.def +1043 -0
- data/ext/errorcodes.rb +45 -0
- data/ext/errorcodes.txt +494 -0
- data/ext/extconf.rb +282 -0
- data/ext/gvl_wrappers.c +32 -0
- data/ext/gvl_wrappers.h +297 -0
- data/ext/pg.c +703 -0
- data/ext/pg.h +390 -0
- data/ext/pg_binary_decoder.c +460 -0
- data/ext/pg_binary_encoder.c +583 -0
- data/ext/pg_cancel_connection.c +360 -0
- data/ext/pg_coder.c +622 -0
- data/ext/pg_connection.c +4869 -0
- data/ext/pg_copy_coder.c +921 -0
- data/ext/pg_errors.c +95 -0
- data/ext/pg_record_coder.c +522 -0
- data/ext/pg_result.c +1764 -0
- data/ext/pg_text_decoder.c +1008 -0
- data/ext/pg_text_encoder.c +833 -0
- data/ext/pg_tuple.c +572 -0
- data/ext/pg_type_map.c +200 -0
- data/ext/pg_type_map_all_strings.c +130 -0
- data/ext/pg_type_map_by_class.c +271 -0
- data/ext/pg_type_map_by_column.c +355 -0
- data/ext/pg_type_map_by_mri_type.c +313 -0
- data/ext/pg_type_map_by_oid.c +388 -0
- data/ext/pg_type_map_in_ruby.c +333 -0
- data/ext/pg_util.c +149 -0
- data/ext/pg_util.h +65 -0
- data/ext/vc/pg.sln +26 -0
- data/ext/vc/pg_18/pg.vcproj +216 -0
- data/ext/vc/pg_19/pg_19.vcproj +209 -0
- data/lib/2.7/pg_ext.so +0 -0
- data/lib/3.0/pg_ext.so +0 -0
- data/lib/3.1/pg_ext.so +0 -0
- data/lib/3.2/pg_ext.so +0 -0
- data/lib/3.3/pg_ext.so +0 -0
- data/lib/pg/basic_type_map_based_on_result.rb +67 -0
- data/lib/pg/basic_type_map_for_queries.rb +202 -0
- data/lib/pg/basic_type_map_for_results.rb +104 -0
- data/lib/pg/basic_type_registry.rb +311 -0
- data/lib/pg/binary_decoder/date.rb +9 -0
- data/lib/pg/binary_decoder/timestamp.rb +26 -0
- data/lib/pg/binary_encoder/timestamp.rb +20 -0
- data/lib/pg/cancel_connection.rb +30 -0
- data/lib/pg/coder.rb +106 -0
- data/lib/pg/connection.rb +1027 -0
- data/lib/pg/exceptions.rb +31 -0
- data/lib/pg/result.rb +43 -0
- data/lib/pg/text_decoder/date.rb +21 -0
- data/lib/pg/text_decoder/inet.rb +9 -0
- data/lib/pg/text_decoder/json.rb +17 -0
- data/lib/pg/text_decoder/numeric.rb +9 -0
- data/lib/pg/text_decoder/timestamp.rb +30 -0
- data/lib/pg/text_encoder/date.rb +13 -0
- data/lib/pg/text_encoder/inet.rb +31 -0
- data/lib/pg/text_encoder/json.rb +17 -0
- data/lib/pg/text_encoder/numeric.rb +9 -0
- data/lib/pg/text_encoder/timestamp.rb +24 -0
- data/lib/pg/tuple.rb +30 -0
- data/lib/pg/type_map_by_column.rb +16 -0
- data/lib/pg/version.rb +4 -0
- data/lib/pg.rb +144 -0
- data/misc/openssl-pg-segfault.rb +31 -0
- data/misc/postgres/History.txt +9 -0
- data/misc/postgres/Manifest.txt +5 -0
- data/misc/postgres/README.txt +21 -0
- data/misc/postgres/Rakefile +21 -0
- data/misc/postgres/lib/postgres.rb +16 -0
- data/misc/ruby-pg/History.txt +9 -0
- data/misc/ruby-pg/Manifest.txt +5 -0
- data/misc/ruby-pg/README.txt +21 -0
- data/misc/ruby-pg/Rakefile +21 -0
- data/misc/ruby-pg/lib/ruby/pg.rb +16 -0
- data/pg.gemspec +36 -0
- data/ports/x86_64-linux/lib/libpq-ruby-pg.so.1 +0 -0
- data/rakelib/task_extension.rb +46 -0
- data/sample/array_insert.rb +20 -0
- data/sample/async_api.rb +102 -0
- data/sample/async_copyto.rb +39 -0
- data/sample/async_mixed.rb +56 -0
- data/sample/check_conn.rb +21 -0
- data/sample/copydata.rb +71 -0
- data/sample/copyfrom.rb +81 -0
- data/sample/copyto.rb +19 -0
- data/sample/cursor.rb +21 -0
- data/sample/disk_usage_report.rb +177 -0
- data/sample/issue-119.rb +94 -0
- data/sample/losample.rb +69 -0
- data/sample/minimal-testcase.rb +17 -0
- data/sample/notify_wait.rb +72 -0
- data/sample/pg_statistics.rb +285 -0
- data/sample/replication_monitor.rb +222 -0
- data/sample/test_binary_values.rb +33 -0
- data/sample/wal_shipper.rb +434 -0
- data/sample/warehouse_partitions.rb +311 -0
- data.tar.gz.sig +0 -0
- metadata +252 -0
- metadata.gz.sig +0 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: dfddc1603e3830854b4c0c98afac35f652fd53dd1f4e3de297059ff82833c843
|
4
|
+
data.tar.gz: 1681f4a8dcf1c2a1b5eb9600bb019398796020ed60eabbe3c84c50502b7e3b8c
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: fd07dd8b9ae5cd3775ce3ecfabca8c5aed5e1c0aa5bdbdab8d17bfc71a374d9efd1039a3aa610a38a58cb27a80e61f1684dff4ba4a1500844317eb40b4055f93
|
7
|
+
data.tar.gz: 4c0e80381ac963d36116f4bfa7a7826ba3b4fb323494de9d5b68a85ce8c2552a9d05240d8980e9e5a5c9fe2b1470cd3e5e6b764aa45c044d2e51e1d23f6c1e75
|
checksums.yaml.gz.sig
ADDED
@@ -0,0 +1,4 @@
|
|
1
|
+
U]��F.��A��;�sx��i�3�����ظ��,Jg��k�0u��'Ξa�����V]�TW�"]R{�KN�p.�,��L��=����E��|�d^t�6FV��UQҭҪc!�Û��@n�2�R�I���f��ɷ{�B`�����㞖�^���jcJ���@�+ԫK���Jʥņ>��_o�M4V�2�^��@�
|
2
|
+
{��%V��9*���b���Ҿ^8����W�K����A��Rw|�x�2���kG���Pnk�~+b�b����go:%Fn��r9ĜT���
|
3
|
+
���^�!~�� n�'k��~$r��aZ�C����!����nؖ"����7�߬���ەʤkd�P��9��n���7��:��?Z��,8j�
|
4
|
+
�]�
|
data/BSDL
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (C) 1993-2013 Yukihiro Matsumoto. All rights reserved.
|
2
|
+
|
3
|
+
Redistribution and use in source and binary forms, with or without
|
4
|
+
modification, are permitted provided that the following conditions
|
5
|
+
are met:
|
6
|
+
1. Redistributions of source code must retain the above copyright
|
7
|
+
notice, this list of conditions and the following disclaimer.
|
8
|
+
2. Redistributions in binary form must reproduce the above copyright
|
9
|
+
notice, this list of conditions and the following disclaimer in the
|
10
|
+
documentation and/or other materials provided with the distribution.
|
11
|
+
|
12
|
+
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
13
|
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
14
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
15
|
+
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
16
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
17
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
18
|
+
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
19
|
+
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
20
|
+
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
21
|
+
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
22
|
+
SUCH DAMAGE.
|
data/Contributors.rdoc
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
|
2
|
+
Thanks to all the great people that have contributed code, suggestions, and patches through the
|
3
|
+
years. If you contribute a patch, please include a patch for this file that adds your name to the
|
4
|
+
list.
|
5
|
+
|
6
|
+
* Dennis Vshivkov <walrus@amur.ru>
|
7
|
+
* Gabriel Emerson <gemerson@evalsoft.com>
|
8
|
+
* Noboru Saitou <noborus@netlab.jp>
|
9
|
+
* Akinori MUSHA <knu@iDaemons.org>
|
10
|
+
* Andy Yu <is@gnuchina.org>
|
11
|
+
* Ceri Storey <cez@compsoc.man.ac.uk>
|
12
|
+
* Gavin Kistner <gavin@refinery.com>
|
13
|
+
* Henry T. So Jr. <henryso@panix.com>
|
14
|
+
* Jeremy Henty <jeremy@chaos.org.uk>
|
15
|
+
* <kasa@air.linkclub.or.jp>
|
16
|
+
* Leon Brooks <leon-ruby-postgres@cyberknights.com.au>
|
17
|
+
* Martin Hedenfalk <mahe@kth.se>
|
18
|
+
* Yukihiro Matsumoto <matz@zetabits.com>
|
19
|
+
* Eiji Matsumoto <usagi@ruby.club.or.jp>
|
20
|
+
* MoonWolf <moonwolf@moonwolf.com>
|
21
|
+
* <m_seki@mva.biglobe.ne.jp>
|
22
|
+
* Nate Haggard <nate@wordplace.com>
|
23
|
+
* Neil Conway <nconway@klamath.dyndns.org>
|
24
|
+
* Noboru Matui <silicon@mx1.freemail.ne.jp>
|
25
|
+
* Okada Jun <yun@be-in.org>
|
26
|
+
* Shirai,Kaoru <shirai@p1jp.com>
|
27
|
+
* Riley <wormwood@speakeasy.org>
|
28
|
+
* shibata <kshibata@vesta.ocn.ne.jp>
|
29
|
+
* <greentea@fa2.so-net.ne.jp>
|
30
|
+
* ts <decoux@moulon.inra.fr>
|
31
|
+
* Yuta TSUBOI <yuuta-t@is.aist-nara.ac.jp>
|
32
|
+
* Lugovoi Nikolai <meadow.nnick@gmail.com>
|
33
|
+
* Jeff Davis <ruby@j-davis.com>
|
34
|
+
* Bertram Scharpf <software@bertram-scharpf.de>
|
35
|
+
* Michael Granger <ged@FaerieMUD.org>
|
36
|
+
* Mahlon E. Smith <mahlon@martini.nu>
|
37
|
+
* Lars Kanis <kanis@comcard.de>
|
38
|
+
* Jason Yanowitz <me-bitbucket@jasonyanowitz.com>
|
39
|
+
* Charlie Savage <cfis@rubyforge.org>
|
40
|
+
* Rafał Bigaj <rafal.bigaj@gmail.com>
|
41
|
+
* Jason Yanowitz <me-bitbucket@jasonyanowitz.com>
|
42
|
+
* Greg Hazel <ghazel@gmail.com>
|
43
|
+
* Chris White <cwprogram@live.com>
|
44
|
+
* Aaron Patterson <aaron.patterson@gmail.com>
|
45
|
+
* Tim Felgentreff <timfelgentreff@gmail.com>
|
46
|
+
|
data/Gemfile
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# -*- ruby -*-
|
2
|
+
|
3
|
+
# Specify your gem's runtime dependencies in pg.gemspec
|
4
|
+
gemspec
|
5
|
+
|
6
|
+
source "https://rubygems.org/"
|
7
|
+
|
8
|
+
group :development do
|
9
|
+
gem "rdoc", "~> 6.4"
|
10
|
+
gem "mini_portile2", "~> 2.1"
|
11
|
+
end
|
12
|
+
|
13
|
+
group :test do
|
14
|
+
gem "bundler", ">= 1.16", "< 3.0"
|
15
|
+
gem "rake-compiler", "~> 1.0"
|
16
|
+
gem "rake-compiler-dock", "~> 1.5"
|
17
|
+
gem "rspec", "~> 3.5"
|
18
|
+
# "bigdecimal" is a gem on ruby-3.4+ and it's optional for ruby-pg.
|
19
|
+
# Specs should succeed without it, but 4 examples are then excluded.
|
20
|
+
# With bigdecimal commented out here, corresponding tests are omitted on ruby-3.4+ but are executed on ruby < 3.4.
|
21
|
+
# That way we can check both situations in CI.
|
22
|
+
# gem "bigdecimal", "~> 3.0"
|
23
|
+
end
|