Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

DatabasePostgreSQL.php File Reference

Go to the source code of this file.

Classes

class  Database

Enumerations

enum  DB_READ
enum  DB_WRITE
enum  DB_LAST
enum  LIST_COMMA
enum  LIST_AND
enum  LIST_SET

Functions

 wfEmergencyAbort (&$conn)
 wfStrencode ($s)
 wfTimestamp2Unix ($ts)
 wfUnix2Timestamp ($unixtime)
 wfTimestampNow ()
 wfInvertTimestamp ($ts)
 wfLimitResult ($limit, $offset)


Enumeration Type Documentation

enum DB_LAST
 

Definition at line 22 of file DatabasePostgreSQL.php.

Referenced by LoadBalancer::getConnection(), wfFetchObject(), wfFetchRow(), wfFieldName(), and wfNumRows().

enum DB_READ
 

Definition at line 20 of file DatabasePostgreSQL.php.

Referenced by MediaWikiBagOStuff::_doquery(), MathRenderer::_recall(), LinkCache::addLinkObj(), compressOldPages(), convertCurTable(), convertImageDirectories(), convertLinks(), convertOldTable(), convertUserTable(), ImagePage::doDelete(), QueryPage::doFeed(), QueryPage::doQuery(), WatchedItem::duplicateEntries(), Block::enumBlocks(), Database::fieldExists(), LinkCache::fillFromLinkscc(), LinksUpdate::fixBrokenLinks(), Database::get(), LoadBalancer::getConnection(), LogPage::getContent(), getTitlesByLength(), PageHistory::history(), ImagePage::imageLinks(), Database::indexExists(), indexShowChunk(), indexShowToplevel(), initialiseMessages(), isTemplateInitialised(), WatchedItem::isWatched(), Block::load(), MessageCache::loadFromDB(), DifferenceEngine::loadText(), moveCustomMessages(), SquidUpdate::newFromBrokenLinksTo(), SquidUpdate::newFromLinksTo(), SelectPulser::next(), Image::nextHistoryLine(), page2xml(), LinkCache::preFill(), rebuildLinkTables(), rebuildTextIndex(), refreshLinks(), UndeleteForm::showHistory(), UndeleteForm::showList(), BookSourceList::showList(), SearchEngine::showResults(), UndeleteForm::showRevision(), UndeleteForm::undelete(), wfLoadSiteStats(), wfRecordUpload(), wfShowIndirectLinks(), wfSpecialBrokenRedirects(), wfSpecialContributions(), wfSpecialDisambiguations(), wfSpecialDoubleRedirects(), wfSpecialImagelist(), wfSpecialMispeelings(), wfSpecialMissingLanguageLinks(), wfSpecialRandompage(), wfSpecialRecentchanges(), wfSpecialRecentchangeslinked(), wfSpecialSelfLinks(), wfSpecialStatistics(), wfSpecialUnusedimages(), wfSpecialWatchlist(), and wfSpecialWhatlinkshere().

enum DB_WRITE
 

Definition at line 21 of file DatabasePostgreSQL.php.

Referenced by WatchedItem::addWatch(), compressPage(), convertCurTable(), convertImageDirectories(), convertImageDirectoriesX(), convertLinks(), convertOldTable(), convertUserTable(), createTempTable(), createTextIndex(), Block::delete(), ImagePage::doDelete(), LinksUpdate::doDumbUpdate(), QueryPage::doQuery(), MakesysopForm::doSubmit(), ViewCountUpdate::doUpdate(), UserTalkUpdate::doUpdate(), SiteStatsUpdate::doUpdate(), SearchUpdate::doUpdate(), LinksUpdate::doUpdate(), dropTextIndex(), WatchedItem::duplicateEntries(), LinksUpdate::fixBrokenLinks(), Phase2Importer::fixTitles(), Phase2Importer::fixUserOptions(), InsertBuffer::flush(), LoadBalancer::getConnection(), Phase2Importer::importCurData(), Phase2Importer::importLinkData(), Phase2Importer::importOldData(), Phase2Importer::importUserData(), Phase2Importer::importWatchlists(), initialiseMessages(), Block::insert(), LinkCache::linksccClearBrokenLinksTo(), LinkCache::linksccClearLinksTo(), LinkCache::linksccClearPage(), Profiler::logToDB(), moveCustomMessages(), rebuildLinkTables(), rebuildRecentChangesTablePass1(), rebuildRecentChangesTablePass2(), refillRandom(), removeOldTables(), WatchedItem::removeWatch(), renameOldTables(), MathRenderer::render(), RecentChange::save(), LogPage::saveContent(), LinkCache::saveToLinkscc(), Database::set(), UndeleteForm::undelete(), Block::updateTimestamp(), wfImportOldRevision(), and wfRecordUpload().

enum LIST_AND
 

Definition at line 25 of file DatabasePostgreSQL.php.

enum LIST_COMMA
 

Definition at line 24 of file DatabasePostgreSQL.php.

enum LIST_SET
 

Definition at line 26 of file DatabasePostgreSQL.php.


Function Documentation

wfEmergencyAbort &$  conn  ) 
 

Definition at line 467 of file DatabasePostgreSQL.php.

References $title, $wgInputEncoding, $wgOutputEncoding, $wgSiteNotice, $wgTitle, $wgUseFileCache, title, wfAbruptExit(), and wfMsgNoDB().

Referenced by Database::reportConnectionError().

wfInvertTimestamp ts  ) 
 

Definition at line 534 of file DatabasePostgreSQL.php.

wfLimitResult limit,
offset
 

Definition at line 543 of file DatabasePostgreSQL.php.

Referenced by QueryPage::getOrderLimit().

wfStrencode s  ) 
 

Definition at line 511 of file DatabasePostgreSQL.php.

wfTimestamp2Unix ts  ) 
 

Definition at line 517 of file DatabasePostgreSQL.php.

wfTimestampNow  ) 
 

Definition at line 528 of file DatabasePostgreSQL.php.

wfUnix2Timestamp unixtime  ) 
 

Definition at line 524 of file DatabasePostgreSQL.php.


Generated on Tue Jun 29 23:40:08 2004 for Mediawiki by doxygen 1.3.7