Issue Details (XML | Word | Printable)

Key: MDL-19056
Type: Bug Bug
Status: Open Open
Priority: Critical Critical
Assignee: Eloy Lafuente (stronk7)
Reporter: Eloy Lafuente (stronk7)
Votes: 0
Watchers: 0
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

MetaType() function for PG (adodb) returns some incorrect values

Created: 04/May/09 07:05 AM   Updated: 07/May/09 06:04 PM
Return to search
Component/s: Database SQL/XMLDB
Affects Version/s: 2.0
Fix Version/s: 2.0

Participants: Eloy Lafuente (stronk7)
Security Level: None
Affected Branches: MOODLE_20_STABLE
Fixed Branches: MOODLE_20_STABLE


 Description  « Hide
It seems that the MetaType() function for ADOdb's postgres driver (postgres64) returns some types improperly:

1) For varchars > 100cc, it returns 'X' (clob) instead of 'C' (characters)
2) For any integer (bigint, int2, int4...) belonging to one unique key it returns 'R' (sequence, serial) instead of 'I'.

While these annoyances can be changes easily in code (both in ADOdb or in our own drivers), I've asked in ADOdb forums to know if there is any reason for that:

http://phplens.com/lens/lensforum/msgs.php?id=17963

Awaiting for some response there some days... ciao :-)

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
No changes have yet been made on this issue.