Re: create a temp table in SPI

2023-07-17 Thread 黄宁
Thanks for your explanation. Laurenz Albe 于2023年7月13日周四 17:48写道: > On Thu, 2023-07-13 at 13:12 +0800, 黄宁 wrote: > > I want to create some temporary tables in SPI, but after I created the > table and inserted the data, I can’t query any data, why? > > > > the postgres version: > > PostgreSQL 13.6

Re: create a temp table in SPI

2023-07-13 Thread Laurenz Albe
On Thu, 2023-07-13 at 13:12 +0800, 黄宁 wrote: > I want to create some temporary tables in SPI, but after I created the table > and inserted the data, I can’t query any data, why? > > the postgres version: > PostgreSQL 13.6 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 7.3.0, 64-bit > code: > > >

create a temp table in SPI

2023-07-13 Thread 黄宁
I want to create some temporary tables in SPI, but after I created the table and inserted the data, I can’t query any data, why? the postgres version: PostgreSQL 13.6 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 7.3.0, 64-bit code: int ret = 0; SPI_connect(); ret = SPI_execute("CREATE