PAB3 :: DB :: Driver :: postgres

PAB3 :: DB :: Driver :: Postgres è un wrapper perl5 per il PGSQL Libary e Driver per la classe PAB3 :: DB.
Scarica ora

PAB3 :: DB :: Driver :: postgres Classifica e riepilogo

Annuncio pubblicitario

  • Rating:
  • Licenza:
  • Perl Artistic License
  • Prezzo:
  • FREE
  • Nome editore:
  • Christian Mueller
  • Sito web dell'editore:
  • http://search.cpan.org/~chrmue/PAB3-3.1.5/xs/PAB3/Crypt/XOR/XOR.pm

PAB3 :: DB :: Driver :: postgres Tag


PAB3 :: DB :: Driver :: postgres Descrizione

PAB3 :: DB :: :: driver Postgres è un wrapper Perl5 al libary pgsql e driver per il PAB3 :: classe di DB. PAB3 :: DB :: :: driver Postgres è un wrapper Perl5 al libary pgsql e driver per il PAB3 :: DB class.SYNOPSIS uso PAB3 :: DB :: :: driver Postgres; # Funzioni e costanti vengono esportati per default $ 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 ($ dichiarazione); $ Resid = pg_query ($ linkid, $ dichiarazione); $ Stmtid = pg_prepare ($ dichiarazione); $ Stmtid = pg_prepare ($ linkid, $ dichiarazione); $ Rv = pg_bind_param ($ stmtid, $ p_num); $ Rv = pg_bind_param ($ stmtid, $ p_num, $ value); $ Rv = pg_bind_param ($ stmtid, $ p_num, $ value, $ 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); % Fila = pg_fetch_hash ($ resid); % Fila = pg_fetch_hash ($ stmtid); @names = pg_fetch_names ($ resid); @names = 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); $ Indice_campo = pg_field_tell ($ resid); $ Indice_campo = pg_field_tell ($ stmtid); $ Hr = pg_field_seek ($ resid); $ Hr = pg_field_seek ($ resid, $ offset); $ Hr = pg_field_seek ($ stmtid); $ Hr = 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 ($ campo, $ tabella); $ Id = pg_insert_id ($ campo, $ tavolo, $ dello schema); $ Id = pg_insert_id ($ linkid, $ campo, $ tabella); $ Id = pg_insert_id ($ linkid, $ campo, $ tavolo, $ dello schema); $ Id = pg_insert_id ($ stmtid, $ campo, $ tabella); $ Id = pg_insert_id ($ stmtid, $ campo, $ tavolo, $ dello schema); $ Hr = pg_set_charset ($ charset); $ Hr = pg_set_charset ($ linkid, $ charset); $ Charset = pg_get_charset (); $ Charset = pg_get_charset ($ linkid); $ Citato = pg_quote ($ str); $ Citato = pg_quote_id (...); pg_auto_commit ($ modalità); pg_auto_commit ($ linkid, $ modalità); 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 :: :: driver Postgres fornisce un'interfaccia al pgsql library.This modulo dovrebbe essere threadsafe, MA: Se si intende utilizzare le discussioni, è necessario utilizzare proprie connessioni in ogni thread. Non è mai sicuro utilizzare la stessa connessione in due o più threads.under MODPERL o ACCELLENTE PERLEX, diversi script possono accedere alla stessa istanza dell'interprete perl. Tutte le funzioni sono discusse locali ma globali all'interprete! Se si pianifica l'utilizzo di connessioni diverse nei tuoi script che possono accedere allo stesso interprete che è necessario impostare esplicitamente $ linkID in tutte le funzioni previste. È possibile utilizzare in alternativa la classe PAB3 :: DB. Si prende cura di esso da solo. Requisiti: · Perl.


PAB3 :: DB :: Driver :: postgres Software correlato

Subs :: Parallel.

sottotitoli :: Parallel è un modulo perl che consente a subroutine di correre senza problemi in parallelo. ...

210

Scarica