Re: Syncing Data of data type BLOB into Postgres- Bytea

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Cynthia Hombakazi Ngejane <hombakazi(dot)ngejane(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Syncing Data of data type BLOB into Postgres- Bytea
Date: 2016-11-10 14:31:16
Message-ID: 1570b9db-a743-ee2f-f3f7-14e8e58600d8@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 11/09/2016 11:35 PM, Cynthia Hombakazi Ngejane wrote:
>
>
> Hello,
>
> I have two databases SQLlite and Postgres, SQLite is my local database
> in it I am saving fingerprint templates that get capture onsite (i.e
> offline) and my column is of type BLOB. Now I want to sync these
> templates into Postgres (to the server), so I created a column of type
> bytea but Postgres is refusing to take BLOB it says there was a syntax
> error. I am using Qt c++ 5.7 application to do the syncing.

What version of Postgres?

What is the syntax error?

What is the code you are using to insert/update the data into Postgres?

>
> Please Help...
>
> CH Ngejane
>
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Devrim Gündüz 2016-11-10 14:36:15 Re: Postgresql 94 from PostgreSQL RPM Repository (with Yum)
Previous Message rob stone 2016-11-10 13:31:05 Re: Import data from MS SQL Server 2014 to Postgresql 9.6 using dbi-link and fdw (error: utf-8/uft-16)