diff --git a/src/modules/db_postgres/km_res.c b/src/modules/db_postgres/km_res.c index 8e9b6288ff3..5f6cbd43072 100644 --- a/src/modules/db_postgres/km_res.c +++ b/src/modules/db_postgres/km_res.c @@ -15,8 +15,8 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * */ @@ -131,6 +131,7 @@ int db_postgres_get_columns(const db1_con_t* _h, db1_res_t* _r) case INT8OID: LM_DBG("use DB1_BIGINT result type\n"); RES_TYPES(_r)[col] = DB1_BIGINT; + break; case FLOAT4OID: case FLOAT8OID: @@ -166,7 +167,7 @@ int db_postgres_get_columns(const db1_con_t* _h, db1_res_t* _r) LM_DBG("use DB1_BITMAP result type\n"); RES_TYPES(_r)[col] = DB1_BITMAP; break; - + default: LM_WARN("unhandled data type column (%.*s) type id (%d), " "use DB1_STRING as default\n", RES_NAMES(_r)[col]->len,