The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

spi_push (7)
  • >> spi_push (7) ( Linux man: Макропакеты и соглашения )
  •  

    NAME

    SPI_push - push SPI stack to allow recursive SPI usage
    

     

    SYNOPSIS

    void SPI_push(void)
    
    
     

    DESCRIPTION

    SPI_push should be called before executing another procedure that might itself wish to use SPI. After SPI_push, SPI is no longer in a ``connected'' state, and SPI function calls will be rejected unless a fresh SPI_connect is done. This ensures a clean separation between your procedure's SPI state and that of another procedure you call. After the other procedure returns, call SPI_pop to restore access to your own SPI state.

    Note that SPI_execute and related functions automatically do the equivalent of SPI_push before passing control back to the SQL execution engine, so it is not necessary for you to worry about this when using those functions. Only when you are directly calling arbitrary code that might contain SPI_connect calls do you need to issue SPI_push and SPI_pop.


     

    Index

    NAME
    SYNOPSIS
    DESCRIPTION


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру