Solved.
After looking i found a patch made by "Gonçalo Marrafa"[1], which modifies the file dbo_postgres.php.

The model I am thus:

class IinInstitucion extends AppModel {
    var $name = 'iininstitucion';
    var $useTable = 'iininstitucion';
    var $tablePrefix = 'instituciones.';
    var $primaryKey = 'id_iininstitucion';
    var $displayField = "descripcion";
}

and it works perfectly.

This planned to add support it to future versions?


[1] http://groups.google.com/group/cake-php/browse_thread/thread/4be0d5ba35d60dd9/b7430fb9723d643e?q=ticket+postgres+schema&rnum=1#b7430fb9723d643e

--
Ariel Santana
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to