Creating tables for columns

Lists: pgsql-hackers
From: Rajashree Mandaogane <rajashree(dot)28m(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Creating tables for columns
Date: 2014-03-21 13:57:54
Message-ID: CAPn0L0PSjryKHptRE6_bzwbSPvJ9=a4YKh1rs0VnB8p0Y5comw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

We are working on a project in which we need to create tables for each
column. So which function should we call in recursion to create the tables?


From: Kohei KaiGai <kaigai(at)kaigai(dot)gr(dot)jp>
To: Rajashree Mandaogane <rajashree(dot)28m(at)gmail(dot)com>
Cc: PgHacker <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Creating tables for columns
Date: 2014-03-21 14:10:29
Message-ID: CADyhKSWgO1cN+JJ+ZCh1Fgm9hwk+1hD_XMAuA1j7MpoZPtnz=g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

I had implemented similar code on top of FDW API.
https://github.com/kaigai/pg_strom/blob/old_cuda/utilcmds.c#L244

Probably, heap_create_with_catalog() is what you are finding out.

2014-03-21 22:57 GMT+09:00 Rajashree Mandaogane <rajashree(dot)28m(at)gmail(dot)com>:
> We are working on a project in which we need to create tables for each
> column. So which function should we call in recursion to create the tables?

--
KaiGai Kohei <kaigai(at)kaigai(dot)gr(dot)jp>