From 15304fc2db41bd8ed13e2f54ea9e0de54dd5c384 Mon Sep 17 00:00:00 2001 From: Dmitry Simonenko Date: Wed, 23 Aug 2017 17:35:54 +0300 Subject: [PATCH] shapito: fix id types in format --- shapito/be_write.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shapito/be_write.h b/shapito/be_write.h index 0510769c..699fc682 100644 --- a/shapito/be_write.h +++ b/shapito/be_write.h @@ -215,15 +215,15 @@ shapito_be_write_row_descriptionf(shapito_stream_t *stream, char *fmt, ...) switch (*fmt) { case 's': rc = shapito_be_write_row_description_add(stream, offset, name, name_len, - 0, 0, 20, -1, 0, 0); + 0, 0, 25 /* TEXTOID */, -1, 0, 0); break; case 'd': rc = shapito_be_write_row_description_add(stream, offset, name, name_len, - 0, 0, 23, 4, 0, 0); + 0, 0, 23 /* INT4OID */, 4, 0, 0); break; case 'l': rc = shapito_be_write_row_description_add(stream, offset, name, name_len, - 0, 0, 25, 8, 0, 0); + 0, 0, 20 /* INT8OID */, 8, 0, 0); break; default: va_end(args);