aboutsummaryrefslogtreecommitdiffstats
path: root/includes/DatabasePostgres.php
Commit message (Collapse)AuthorAgeFilesLines
...
* - strict warning fixes in databasepostgresRiver Tarnell2007-03-191-16/+104
| | | | | | | | | - PG updaters should use general Database methods instead of reimplementing in updaters.inc - fieldInfo should work for postgres; generalise result to an object type - add missing *Exists() functions (rules, triggers, sequences) Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/20553
* Typo, minor rearrangements,Greg Sabino Mullane2007-03-141-6/+7
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/20451
* limitResult() changes need fiddling to put options in right orderRiver Tarnell2007-03-111-6/+6
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/20337
* revive experimental Oracle supportRiver Tarnell2007-03-111-4/+5
| | | | | | | fix use of limitResult(); must pass actual SQL, not empty string Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/20329
* prettify:Brion Vibber2007-03-091-1/+2
| | | | | | | | * set_timeout() -> setTimeout() * remove a couple obsolete references from dump code Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/20290
* dumpBackup should instantiate correct database class for db typeRiver Tarnell2007-03-091-0/+3
| | | | | | | add set_timeout() method to Database Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/20276
* * (bug 8988) Added missing $ in error messages.Leon Weber2007-02-141-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/19929
* Add searchableIPs differentiatorGreg Sabino Mullane2007-01-231-0/+4
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/19602
* Use Doxygen @addtogroup instead of phpdoc @package && @subpackageAntoine Musso2007-01-201-1/+0
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/19502
* Refactor versioning from setup and store number internally.Greg Sabino Mullane2007-01-161-13/+21
| | | | | | | | Move tsearch indexes out of tables.sql and put into setup, so that we can take advantage of GIN for >= 8.2 Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/19328
* Better checks of tsearch2 tables, schema ownership during setup.Greg Sabino Mullane2007-01-091-5/+30
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/19007
* Add implicitGroupby function to account for different database behaviors.Greg Sabino Mullane2007-01-021-0/+4
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/18771
* Clean up some functions.Greg Sabino Mullane2006-12-251-3/+48
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/18586
* Add dummy selectDB function.Greg Sabino Mullane2006-12-251-1/+8
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/18581
* Change realTimestamp to a function only, per Tim's advice.Greg Sabino Mullane2006-12-011-1/+4
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/18078
* Bring reportQueryError back in sync and support the IGNORE optionGreg Sabino Mullane2006-11-301-5/+15
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/18016
* Completing code housekeeping stuff for rest of includes/ directory: removing ↵Nick Jenkins2006-11-291-7/+7
| | | | | | | unused local vars, removing unused globals, replacing extract() where simple to do, declaring output arrays before calling preg_match(), and so forth. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/17991
* Fix broken contribution listings with postgres by adding a new variable Greg Sabino Mullane2006-11-281-0/+1
| | | | | | | to check if we are using integers or explicit timestamps. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/17983
* forgot for prev checkin re bug 6440. Database should return all rows about a ↵Yuri Astrakhan2006-11-111-0/+3
| | | | | | | given index, not just the first. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/17548
* Fix incorrect var name.Greg Sabino Mullane2006-10-311-2/+2
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/17323
* * Removed lots of explicit require_once statements. The autoloader should ↵Tim Starling2006-10-031-5/+0
| | | | | | | | | | | theoretically be faster, because it always uses an absolute path, eliminating the need for a search, and it is never called unnecessarily. Absolute paths are also more robust in the face of odd configurations or usage patterns. Moved a few constants around to support this, they always have to be available before the method call. * Deleted DatabaseMysql.php, no longer necessary, database classes are autoloaded. * Moved wfGetMimeMagic() to MimeMagic::singleton() * Fixed a couple of __CLASS__.'::'.__FUNCTION__ things. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/16759
* Typo, thanks to Sven Klemm for catching it.Greg Sabino Mullane2006-09-051-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/16400
* Add checks for proper Postgres version early on.Greg Sabino Mullane2006-09-031-0/+15
| | | | | | | Add ctype to the tracking table. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/16380
* Add advanced tsearch2 config testing, attempt to force correct locale.Greg Sabino Mullane2006-09-031-2/+42
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/16354
* Tighten up tableExists SQL, fix hyperlink to tsearch2 docs.Greg Sabino Mullane2006-08-281-2/+3
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/16242
* By Robert Treat: try to create plpgsql if it does not exists.Greg Sabino Mullane2006-08-191-2/+16
| | | | | | | Bug #7065 Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/16131
* Ignore all but errors when importing.Greg Sabino Mullane2006-08-181-0/+6
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/16125
* Add suggestion to restart if the "impossible" happens.Greg Sabino Mullane2006-08-171-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/16098
* Add concept of "strict IPs" so we don't attempt to add "" as an IP address.Greg Sabino Mullane2006-08-161-0/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/16084
* Explcitily grant permissions when we connect as superuser and the schema ↵Greg Sabino Mullane2006-08-131-12/+36
| | | | | | | already exists. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/16035
* Add quote_ident function.Greg Sabino Mullane2006-07-241-36/+75
| | | | | | | Overhaul setup with proper paranoid quoting. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/15809
* Change reserved word table names "user" and "text"Greg Sabino Mullane2006-07-231-8/+4
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/15791
* Better lastErrno, from a patch on bug #6732Greg Sabino Mullane2006-07-211-1/+3
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/15764
* Add Postgres timestamp stuff, from the patch at bug 6632 by Robert Treat.Greg Sabino Mullane2006-07-181-2/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/15716
* Add mCascadingDeletes and mCleanupTriggers properties to Database*, use ↵Greg Sabino Mullane2006-07-171-1/+2
| | | | | | | accessor methods to determine what to delete in Article.php Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/15707
* Fixes for bug 6703, by Robert Treat.Greg Sabino Mullane2006-07-161-2/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/15681
* Prevent full db open if class is being called only.Greg Sabino Mullane2006-07-161-10/+94
| | | | | | | Add lots of superuser magic to the initial connection. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/15680
* Remove update_interwiki(), add setup_database()Greg Sabino Mullane2006-07-161-6/+20
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/15673
* Add begin(), does-nothing immediatecommit()Greg Sabino Mullane2006-07-051-1/+8
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/15339
* Rewrote all the quoting stuff, including decodeBlob supportGreg Sabino Mullane2006-07-051-11/+41
| | | | | | | | | Add install check for plpgsql Overhaul nextSequenceValue Re-enable commit() Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/15338
* Add tsearch2 schema setting stuff.Greg Sabino Mullane2006-06-291-29/+50
| | | | | | | Give tableExists an optional schema argument. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/15159
* Make sure search_path mojo only performed once.Greg Sabino Mullane2006-06-291-1/+33
| | | | | | | | | | Add temporary commit() method. Add limitResultForUpdate method (does nothing). Add update_interwiki method to parse interwiki.sql file. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/15142
* Remove __construct callGreg Sabino Mullane2006-06-281-54/+100
| | | | | | | | | | | Add in global port check for connect Bump error level up Setup initial search_path for user on setup Fix tableExists, schemaExists, tableName, and fieldExists methods Drop setSchema() Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/15119
* Add tableExists and fieldExists methodsGreg Sabino Mullane2006-06-271-7/+36
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/15095
* Revert to r15092; massive breakage, unable to connect to MySQL at allBrion Vibber2006-06-271-49/+13
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/15094
* Add concept of a distinct port separate from a server.Greg Sabino Mullane2006-06-271-13/+49
| | | | | | | Add some functions to DatabasePostgres.php. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/15093
* Fix last_error for connection case, change Database to __constructGreg Sabino Mullane2006-06-271-6/+14
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/15079
* Rename to match other db files.Greg Sabino Mullane2006-06-261-0/+436
Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/15078