Re: Building SPI programs
От | Ian Lance Taylor |
---|---|
Тема | Re: Building SPI programs |
Дата | |
Msg-id | sik86i2gg9.fsf@daffy.airs.com обсуждение исходный текст |
Ответ на | Building SPI programs (Aristide Aragon <zuri@busa.lionking.org>) |
Список | pgsql-general |
Aristide Aragon <aristide@lionking.org> writes: > On Thu, Feb 22, 2001 at 07:49:56PM -0800, Ian Lance Taylor wrote: > > Aristide Aragon <zuri@busa.lionking.org> writes: > > > > > I have to do some programming in C or C++ and PostgreSQL. > > SPI is only for stored procedures which are dynamically linked into > > the Postgres backend. > > > > Ordinary code doesn't do that. It uses some one of the other > > mechanisms. > > I don't understand.. So I shouldn't use SPI? If I should, how would I comple a program, if not, what can I use? Can youhelp me? You didn't really say what you wanted to do, so I don't know whether you should use SPI or not. If you don't have a clue what I was talking about in my previous message, then you should not use SPI. You should probably use the libpq interface. Ian
В списке pgsql-general по дате отправления: