Tim Starling
ac549401d4
* Support for table name prefixes throughout the code. No support yet for converting static SQL, which also means no installation. But it has been tested by creating the tables in the ordinary way and then renaming them
...
* DB_WRITE now called DB_MASTER, DB_READ now called DB_SLAVE
* Converted to use SQL wrapper functions instead of direct SQL in various places
* Experimental method for preserving the chronological order of events when slave servers are used. Untested.
* Fixes to the new post-parse existence test feature
* Some.. other stuff
2004-07-18 08:48:43 +00:00
Domas Mituzas
d9e1fc0a6d
Unbreak the class (some unfinished code inside replace())
...
Alias DatabasePgsql as DatabasePostgreSQL (according to filename)
2004-07-15 15:09:32 +00:00
Tim Starling
b96b707efa
OOP calling convention for database functions. DBMS abstraction implemented by means of functions instead of global variables, PostgreSQL object converted to a subclass instead of a drop-in replacement. Also the beginnings of a flexible table name feature.
2004-07-10 03:09:26 +00:00
Tim Starling
3c4d38faee
Removed arbitrary change in timestamp formats between MySQL and PostgreSQL, moved global functions to GlobalFunctions
2004-06-29 12:23:59 +00:00
Domas Mituzas
56589ff499
fix isOpen (mOpened was not defined on connect)
2004-06-21 12:07:41 +00:00
Tim Starling
49749f3091
wfSetRef doesn't work, making isWindows() function which I was going to use somewhere else but decided against it
2004-06-12 06:05:02 +00:00
Domas Mituzas
5f2b3f41e0
* fix affected_rows, uses resultset instead of connection as an argument
...
* allow wfGetSQL to fetch non-table variables
* InvertTimestamp creates old-style inverse timestamp
* insertArray needed quote-fixing
* added wfLimitResult function, in order to solve SQL LIMIT incompatibilities
2004-06-11 14:32:05 +00:00
Domas Mituzas
83a3aa9f8f
added wfFetchRow() besides wfFetchObject. Used by objectcache code
2004-06-10 13:02:27 +00:00
Domas Mituzas
654052ad23
* PostgreSQL does not have buffered/unbuffered modes.
...
There's no need for that due to row-level locking.
* pg_result_error is for asynchronous operation.
Maybe in future it could be nice, but now we
perform only one request at a time.
2004-06-10 06:37:12 +00:00
Domas Mituzas
81138304bd
* fixed indexExists
...
* wfStrencode now uses pg_escape_string instead of addslashes
* timestamp functions designed to use internal PG timestamp
2004-06-09 16:13:46 +00:00
Antoine Musso
99afe8250e
typo, looks like objectcache need rewrite cause postgresql doesnt have a FROM_UNIXTIME() function
2004-06-07 11:19:03 +00:00
Antoine Musso
d7eb2f8c1d
DO NOT USE ! Simple database layer for postgresql based on existing mysql one. I dont think it even works but I want to share the ongoing work on this.
2004-06-07 02:59:58 +00:00