Re: [fpc-pascal] [PATCH] Add Oid_JSON in pqconnection unit

2015-03-05 Thread silvioprog
On Thu, Mar 5, 2015 at 6:25 AM, Michael Van Canneyt wrote: > > On Wed, 4 Mar 2015, silvioprog wrote: > >> Hello, >> The patch allows to use this ... : >> >> select row_to_json(row(1,'foo')) >> >> ... instead of this (in this case, the ::text cast avoids the "Missing >> (compatible) underlying

Re: [fpc-pascal] [PATCH] Add Oid_JSON in pqconnection unit

2015-03-05 Thread Michael Van Canneyt
On Wed, 4 Mar 2015, silvioprog wrote: Hello, The patch allows to use this ... :     select row_to_json(row(1,'foo')) ... instead of this (in this case, the ::text cast avoids the "Missing (compatible) underlying dataset, can not open" error): I think you better cast it to ftMemo instead o