Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.databases.postgresql > #819

all types returned in result are strings

X-Received by 10.200.3.211 with SMTP id z19mr26705395qtg.14.1523293906574; Mon, 09 Apr 2018 10:11:46 -0700 (PDT)
X-Received by 10.31.162.10 with SMTP id l10mr4696982vke.12.1523293906253; Mon, 09 Apr 2018 10:11:46 -0700 (PDT)
Path csiph.com!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!k3no2474840qtm.1!news-out.google.com!f13ni253qtj.0!nntp.google.com!g18no2484659qtk.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.databases.postgresql
Date Mon, 9 Apr 2018 10:11:46 -0700 (PDT)
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=170.63.67.35; posting-account=UuuxfwoAAABb2iidcwthgBjC9akCrmwq
NNTP-Posting-Host 170.63.67.35
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <25ea1628-5aaf-4d3d-bc5e-cec51c0b6d84@googlegroups.com> (permalink)
Subject all types returned in result are strings
From Majid Lotfi <akramakom@gmail.com>
Injection-Date Mon, 09 Apr 2018 17:11:46 +0000
Content-Type text/plain; charset="UTF-8"
Lines 1
Xref csiph.com comp.databases.postgresql:819

Show key headers only | View raw


Hi, I am using postgres from ruby using pg gem, I did a select * from table, but all integer, smallint, timestamp types are returned as strings.

Back to comp.databases.postgresql | Previous | NextNext in thread | Find similar | Unroll thread


Thread

all types returned in result are strings Majid Lotfi <akramakom@gmail.com> - 2018-04-09 10:11 -0700
  Re: all types returned in result are strings Robert Klemme <shortcutter@googlemail.com> - 2018-04-09 23:17 +0200

csiph-web