Pab3 :: DB :: Driver :: Postgres

Pab3 :: DB :: Driver :: Postgres é um wrapper perl5 para o PGSQL Libery and Driver para a classe PAB3 :: DB.
Baixe Agora

Pab3 :: DB :: Driver :: Postgres Classificação e resumo

Propaganda

  • Rating:
  • Licença:
  • Perl Artistic License
  • Preço:
  • FREE
  • Nome do editor:
  • Christian Mueller
  • Site do editor:
  • http://search.cpan.org/~chrmue/PAB3-3.1.5/xs/PAB3/Crypt/XOR/XOR.pm

Pab3 :: DB :: Driver :: Postgres Tag


Pab3 :: DB :: Driver :: Postgres Descrição

PAB3 :: DB :: Motorista :: Postgres é um wrapper Perl5 ao libary pgsql e motorista para o pAB3 :: class DB. PAB3 :: DB :: Motorista :: Postgres é um wrapper Perl5 ao libary pgsql e motorista para o pAB3 :: DB class.SYNOPSIS uso pAB3 :: DB :: Motorista :: Postgres; # Funções e constantes são exportados por padrão $ linkid = pg_connect (); $ Linkid = pg_connect ($ server); $ Linkid = pg_connect ($ server, $ user); $ Linkid = pg_connect ($ server, $ user, $ auth); $ Linkid = pg_connect ($ server, $ user, $ auth, $ db); $ Linkid = pg_connect ($ server, $ user, $ auth, $ db, $ client_flag); $ Resid = pg_query ($ statement); $ Resid = pg_query ($ linkid, $ declaração); $ StmtID = pg_prepare ($ statement); $ StmtID = pg_prepare ($ linkid, $ declaração); $ Rv = pg_bind_param ($ StmtID, $ p_num); $ Rv = pg_bind_param ($ StmtID, $ p_num, $ value); $ Rv = pg_bind_param ($ StmtID, $ p_num, $ valor, tipo $); $ StmtID = $ resid = pg_execute ($ StmtID); $ StmtID = $ resid = pg_execute ($ StmtID, @bind_values); @row = pg_fetch_row ($ resid); @row = pg_fetch_row ($ StmtID); @row = pg_fetch_array ($ resid); @row = pg_fetch_array ($ StmtID); @col = pg_fetch_col ($ resid); @col = pg_fetch_col ($ StmtID); % Fileira = pg_fetch_hash ($ resid); % Fileira = pg_fetch_hash ($ StmtID); @nomes = pg_fetch_names ($ resid); @nomes = pg_fetch_names ($ StmtID); @lengths = pg_fetch_lengths ($ resid); @lengths = pg_fetch_lengths ($ StmtID); $ Num_rows = pg_num_rows ($ resid); $ Num_rows = pg_num_rows ($ StmtID); $ ROW_INDEX = pg_row_tell ($ resid); $ ROW_INDEX = pg_row_tell ($ StmtID); pg_row_seek ($ resid, $ ROW_INDEX); pg_row_seek ($ StmtID, $ ROW_INDEX); $ num_fields = pg_num_fields ($ resid); $ num_fields = pg_num_fields ($ StmtID); Campo% = pg_fetch_field ($ resid); % Campo = pg_fetch_field ($ resid, $ offset); Campo% = pg_fetch_field ($ StmtID); % Campo = pg_fetch_field ($ StmtID, $ offset); $ Field_index = pg_field_tell ($ resid); $ Field_index = pg_field_tell ($ StmtID); $ H = pg_field_seek ($ resid); $ H = pg_field_seek ($ resid, $ offset); $ H = pg_field_seek ($ StmtID); $ H = pg_field_seek ($ StmtID, $ offset); pg_free_result ($ resid); pg_free_result ($ StmtID); $ Affected_rows = pg_affected_rows (); $ Affected_rows = pg_affected_rows ($ linkid); $ Affected_rows = pg_affected_rows ($ StmtID); $ Id = pg_insert_id ($ field, $ tabela); $ Id = pg_insert_id ($ field, $ tabela, $ esquema); $ Id = pg_insert_id ($ linkid, $ field, $ tabela); $ Id = pg_insert_id ($ linkid, $ field, $ tabela, $ esquema); $ Id = pg_insert_id ($ StmtID, $ field, $ tabela); $ Id = pg_insert_id ($ StmtID, $ field, $ tabela, $ esquema); $ H = pg_set_charset ($ conjunto de caracteres); $ H = pg_set_charset ($ linkid, $ conjunto de caracteres); $ = Conjunto de caracteres pg_get_charset (); $ = Conjunto de caracteres pg_get_charset ($ linkid); $ Citado = pg_quote ($ str); $ Cotados = pg_quote_id (...); pg_auto_commit ($ mode); pg_auto_commit ($ linkid, $ mode); pg_begin_work (); pg_begin_work ($ linkid); pg_commit (); pg_commit ($ linkid); pg_rollback (); pg_rollback ($ linkid); $ Str = pg_error (); $ Str = pg_error ($ linkid); pg_close (); pg_close ($ linkid); pg_close ($ StmtID); pg_close ($ resid); pAB3 :: DB :: Motorista :: Postgres fornece uma interface para o pgsql library.This módulo deve ser threadsafe, MAS: Se você planeja usar tópicos, você deve usar as próprias conexões em cada segmento. Nunca é seguro usar a mesma conexão em duas ou mais threads.Under ModPerl ou ambiente PerlEx vários scripts pode levar acesso à mesma instância do interpretador perl. Todas as funções são thread local, mas global para o intérprete! Se você pretende usar conexões diferentes em seus scripts que podem aceder à mesma intérprete você deve definir explicitamente $ linkid em todas as funções esperadas. Você também pode usar o pAB3 :: class DB. Ela cuida dele por si só. Requisitos: · Perl.


Pab3 :: DB :: Driver :: Postgres Software Relacionado