Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.3.x will end 7 October 2024 (12 months).
  • Bug fixes for security issues in 4.3.x will end 21 April 2025 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.2.x is supported too.

Differences Between: [Versions 310 and 403] [Versions 311 and 403] [Versions 39 and 403] [Versions 400 and 403]

ADOdb PostgreSQL 7 driver

Copyright: 2000-2013 John Lim
Copyright: 2014 Damien Regad, Mark Newnham and the ADOdb community
License: BSD-3-Clause
License: LGPL-2.1-or-later
File Size: 352 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 4 classes

ADODB_postgres7:: (7 methods):
  __construct()
  SelectLimit()
  _generateMetaColumnsSQL()
  metaForeignKeys()
  _query()
  getCharSet()
  setCharSet()

Name:: (0 methods):

ADORecordSet_postgres7:: (1 method):
  MoveNext()

ADORecordSet_assoc_postgres7:: (2 methods):
  _fetch()
  MoveNext()


Class: ADODB_postgres7  - X-Ref

__construct()   X-Ref
No description

SelectLimit($sql,$nrows=-1,$offset=-1,$inputarr=false,$secs2cache=0)   X-Ref
No description

_generateMetaColumnsSQL($table, $schema)   X-Ref
Generate the SQL to retrieve MetaColumns data

param: string $table Table name
param: string $schema Schema name (can be blank)
return: string SQL statement to execute

metaForeignKeys($table, $owner = '', $upper = false, $associative = false)   X-Ref
No description

_query($sql,$inputarr=false)   X-Ref
No description

getCharSet()   X-Ref
Retrieve the client connection's current character set.
If no charsets were compiled into the server, the function will always
return 'SQL_ASCII'.

return: string|false The character set, or false if it can't be determined.

setCharSet($charset)   X-Ref
Sets the client-side character set (encoding).

Allows managing client encoding - very important if the database and
the output target (i.e. HTML) don't match; for instance, you may have a
UNICODE database and server your pages as WIN1251, etc.

Supported on PostgreSQL 7.0 and above. Available charsets depend on
PostgreSQL version and the distribution's compile flags.

param: string $charset The character set to switch to.
return: bool True if the character set was changed successfully, false otherwise.

Class: Name  - X-Ref

Class: ADORecordSet_postgres7  - X-Ref

MoveNext()   X-Ref
No description

Class: ADORecordSet_assoc_postgres7  - X-Ref

_fetch()   X-Ref
No description

MoveNext()   X-Ref
No description