RE: [PEAR-DEV] MDB - Delete LOB
| From: | Lukas Smith | Date: | Mon, 09 Jun 2003 07:27:45 +0000 |
| Subject: | RE: [PEAR-DEV] MDB - Delete LOB | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-17190@lists.php.net to get a copy of this message | ||
> Only PostgreSQL behaves like this because it really does not support
> real BLOBs as they admit in their documentation. To support this
> limitation of PostgreSQL I do not see much point adding functions that
> would only be useful when you use it, not to mention all sorts of
> problems that you need to deal to handle any errors properly.
Well but I think if MDB/Metabase creates this data then it should be
possible to remove it through MDB/Metabase. Since we can't sensibly do
it automatically I think it should be at least be possible to do it
manually.
Of course this adds a meaningless method for the rest of the drivers. In
order to not pollute Common.php with methods like that I might go the
route of just adding it to postgresql and users will then have to check
for the methods existence if they want to use this functionality yet use
the same code on a different DB. Obviously this is ugly, but I think
this is better than not having the functionality in MDB/Metabase.
Atleast with MDB I also want to be a nice OO API to a specific database.
That is why I am also considering adding autoincrement functionality. In
return I am planning to remove a lot of redundant methods in MDB, so
overall the MDB API should get leaner.
Regards,
Lukas