Re: Read rows from a table and process - Need pointers

Поиск
Список
Период
Сортировка
От Amul Sul
Тема Re: Read rows from a table and process - Need pointers
Дата
Msg-id CAAJ_b97EEhJejL7fMbnsdL36_HqZRDZzjx1Vs+wt-fK4Y8whSA@mail.gmail.com
обсуждение исходный текст
Ответ на Read rows from a table and process - Need pointers  (mahendrakar s <mahendrakarforpg@gmail.com>)
Ответы Re: Read rows from a table and process - Need pointers  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-novice
On Mon, May 16, 2022 at 11:57 PM mahendrakar s
<mahendrakarforpg@gmail.com> wrote:
>
> Hi,
>
> I have a table test with two columns varchar and json. I need to open test table and read the rows (string and json
object)and process them inside pg extension 'C' code.
 
> How to do this?  There is table_open function in pg code but it requires OID as input parameter.
>

See if table_openrv() works for you.

Regards,
Amul



В списке pgsql-novice по дате отправления:

Предыдущее
От: mahendrakar s
Дата:
Сообщение: Read rows from a table and process - Need pointers
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Read rows from a table and process - Need pointers