Re: PGSQL insert data to a oid column using SOCI

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Chamath Sajeewa <csgsajeewa(at)gmail(dot)com>
Cc: David Raymond <David(dot)Raymond(at)tomtom(dot)com>, "pgsql-novice(at)lists(dot)postgresql(dot)org" <pgsql-novice(at)lists(dot)postgresql(dot)org>
Subject: Re: PGSQL insert data to a oid column using SOCI
Date: 2020-07-30 02:32:53
Message-ID: CAKFQuwa4X35NafjeOdpkT-9v-oN-PsB6k=-NtMgax=biTFikaQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Wednesday, July 29, 2020, Chamath Sajeewa <csgsajeewa(at)gmail(dot)com> wrote:

> What is the correct data type to be used for large objects then?
>

Please don’t top-post.

If you want to use large objects you should follow the examples in the
documentation. Specifically:

https://www.postgresql.org/docs/12/lo-funcs.html

Though as you are using a client library it should be telling you how it
implements the large object api which is usually quite different than its
SQL api.

David J.

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Chamath Sajeewa 2020-07-30 02:46:00 PGSQL returning into in insert statement
Previous Message Chamath Sajeewa 2020-07-30 02:23:41 Re: PGSQL insert data to a oid column using SOCI