Permalink
Browse files

Allow overriding maximum allowed columns in a result set via -- --wit…

…h-cflags=\"-DSPG_MAX_FIELDS=1600\" (Fixes #12)

Previously, you couldn't override this limit without modifying
the source code.
  • Loading branch information...
1 parent 2e5835c commit 143f700b88d49f079f8336c0a168b8171402229d @jeremyevans committed Aug 5, 2013
Showing with 7 additions and 1 deletion.
  1. +4 −0 CHANGELOG
  2. +2 −0 ext/sequel_pg/sequel_pg.c
  3. +1 −1 sequel_pg.gemspec
View
@@ -1,3 +1,7 @@
+=== 1.6.8 (2013-08-05)
+
+* Allow overriding maximum allowed columns in a result set via -- --with-cflags=\"-DSPG_MAX_FIELDS=1600\" (jeremyevans) (#12)
+
=== 1.6.7 (2013-06-06)
* Correctly handle fractional seconds in the time type (jeremyevans)
@@ -12,7 +12,9 @@
#define ENC_INDEX
#endif
+#ifndef SPG_MAX_FIELDS
#define SPG_MAX_FIELDS 256
+#endif
#define SPG_MICROSECONDS_PER_DAY_LL 86400000000ULL
#define SPG_MICROSECONDS_PER_DAY 86400000000.0
#define SPG_MINUTES_PER_DAY 1440.0
View
@@ -1,6 +1,6 @@
SEQUEL_PG_GEMSPEC = Gem::Specification.new do |s|
s.name = 'sequel_pg'
- s.version = '1.6.7'
+ s.version = '1.6.8'
s.platform = Gem::Platform::RUBY
s.has_rdoc = false
s.extra_rdoc_files = ["README.rdoc", "CHANGELOG", "MIT-LICENSE"]

0 comments on commit 143f700

Please sign in to comment.