Permalink
Browse files

fix \set ECHO issue, bump to 0.2.4

  • Loading branch information...
tvondra committed Aug 29, 2015
1 parent cc8da2c commit fe3166d24ff18dee2191c53f928877422b1fe520
Showing with 7 additions and 7 deletions.
  1. +3 −3 META.json
  2. +1 −1 geoip.control
  3. 0 sql/{geoip--0.2.2.sql → geoip--0.2.4.sql}
  4. +1 −1 test/expected/base.out
  5. +2 −2 test/sql/base.sql
View
@@ -2,15 +2,15 @@
"name": "geoip",
"abstract": "Geolocation using GeoIP.",
"description": "Provides geolocation (determining country, city etc. from an IP address) using GeoIP data.",
- "version": "0.2.2",
+ "version": "0.2.4",
"maintainer": "Tomas Vondra <tv@fuzzy.cz>",
"license": "bsd",
"provides": {
"geoip": {
- "file": "sql/geoip--0.2.2.sql",
+ "file": "sql/geoip--0.2.4.sql",
"docfile": "README.md",
- "version": "0.2.2"
+ "version": "0.2.4"
}
},
View
@@ -1,5 +1,5 @@
# geoip extension
comment = 'An IP geolocation extension (a wrapper around the MaxMind GeoLite dataset)'
-default_version = '0.2.2'
+default_version = '0.2.4'
module_pathname = '$libdir/geoip'
relocatable = true
File renamed without changes.
View
@@ -1,4 +1,4 @@
-\set ECHO 0
+\set ECHO none
geoip_country_code
--------------------
CC
View
@@ -1,8 +1,8 @@
-\set ECHO 0
+\set ECHO none
BEGIN;
SET client_min_messages = 'WARNING';
-\i sql/geoip--0.2.1.sql
+\i sql/geoip--0.2.4.sql
INSERT INTO geoip_country(begin_ip, end_ip, country, name) VALUES ('78.31.24.0', '78.31.31.255', 'AA', 'Country A');
INSERT INTO geoip_country(begin_ip, end_ip, country, name) VALUES ('78.41.8.0', '78.41.23.255', 'BB', 'Country B');

0 comments on commit fe3166d

Please sign in to comment.