if you try build schema from existing database for posgresql you'll get this exception message from symfony, "There was an error building XML from metadata: Could not list sequences [Native Error: ERROR: column "name" does not exist" if you are at PgSQLDatabaseInfo.php on line 96 it's says:
"SELECT c.oid, case when n.nspname='public' then c.relname else n.nspname
'.' | c.relname end as relname FROM pg_class c join pg_namespace n on (c.relnamespace=n.oid) WHERE c.relkind = 'S' AND n.nspname NOT IN ('information_schema','pg_catalog') AND n.nspname NOT LIKE 'pg_temp%' AND n.nspname NOT LIKE 'pg_toast%' ORDER BY name";
but "name" is not in select list, "name" it must be "relname" on order by clauser.
PS: sory for my bad english.
Attachments
- propel.patch (0.5 kB) - added by timu on 11/26/07 10:47:16.
- patch for typo error on PgSQLDatabaseInfo.php
Change History
Download in other formats:
|