Commit graph

24 commits

Author SHA1 Message Date
Greg Sabino Mullane
44c9799075 Tighten up tableExists SQL, fix hyperlink to tsearch2 docs. 2006-08-28 02:49:12 +00:00
Greg Sabino Mullane
1e79c1f35c By Robert Treat: try to create plpgsql if it does not exists.
Bug #7065
2006-08-19 12:43:13 +00:00
Greg Sabino Mullane
57f87f7093 Ignore all but errors when importing. 2006-08-18 16:24:48 +00:00
Greg Sabino Mullane
ff2c3f8486 Add suggestion to restart if the "impossible" happens. 2006-08-17 02:48:39 +00:00
Greg Sabino Mullane
cae1350eb2 Add concept of "strict IPs" so we don't attempt to add "" as an IP address. 2006-08-16 00:58:42 +00:00
Greg Sabino Mullane
4c6d1b3812 Explcitily grant permissions when we connect as superuser and the schema already exists. 2006-08-13 14:35:51 +00:00
Greg Sabino Mullane
bcd9e48a33 Add quote_ident function.
Overhaul setup with proper paranoid quoting.
2006-07-24 22:13:24 +00:00
Greg Sabino Mullane
7b9af4c70b Change reserved word table names "user" and "text" 2006-07-23 02:04:40 +00:00
Greg Sabino Mullane
d3d180482f Better lastErrno, from a patch on bug #6732 2006-07-21 19:34:45 +00:00
Greg Sabino Mullane
ef047e87e2 Add Postgres timestamp stuff, from the patch at bug 6632 by Robert Treat. 2006-07-18 01:40:38 +00:00
Greg Sabino Mullane
f3b22cd894 Add mCascadingDeletes and mCleanupTriggers properties to Database*, use accessor methods to determine what to delete in Article.php 2006-07-17 00:54:40 +00:00
Greg Sabino Mullane
1664054c99 Fixes for bug 6703, by Robert Treat. 2006-07-16 15:21:34 +00:00
Greg Sabino Mullane
3738fd4f72 Prevent full db open if class is being called only.
Add lots of superuser magic to the initial connection.
2006-07-16 15:20:24 +00:00
Greg Sabino Mullane
ba3459be01 Remove update_interwiki(), add setup_database() 2006-07-16 12:28:38 +00:00
Greg Sabino Mullane
623eb4f308 Add begin(), does-nothing immediatecommit() 2006-07-05 04:06:29 +00:00
Greg Sabino Mullane
327f2430ae Rewrote all the quoting stuff, including decodeBlob support
Add install check for plpgsql
Overhaul nextSequenceValue
Re-enable commit()
2006-07-05 03:59:54 +00:00
Greg Sabino Mullane
06de9f109e Add tsearch2 schema setting stuff.
Give tableExists an optional schema argument.
2006-06-29 17:24:04 +00:00
Greg Sabino Mullane
118b79abf9 Make sure search_path mojo only performed once.
Add temporary commit() method.
Add limitResultForUpdate method (does nothing).
Add update_interwiki method to parse interwiki.sql file.
2006-06-29 01:55:52 +00:00
Greg Sabino Mullane
c62197d613 Remove __construct call
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()
2006-06-28 18:05:08 +00:00
Greg Sabino Mullane
9c25534032 Add tableExists and fieldExists methods 2006-06-27 17:06:36 +00:00
Brion Vibber
908c51e127 Revert to r15092; massive breakage, unable to connect to MySQL at all 2006-06-27 16:11:47 +00:00
Greg Sabino Mullane
ef89ec541c Add concept of a distinct port separate from a server.
Add some functions to DatabasePostgres.php.
2006-06-27 15:37:35 +00:00
Greg Sabino Mullane
72f3084353 Fix last_error for connection case, change Database to __construct 2006-06-27 00:53:46 +00:00
Greg Sabino Mullane
b48bd5aa02 Rename to match other db files. 2006-06-26 23:56:47 +00:00
Renamed from includes/DatabasePostgreSQL.php (Browse further)