On Sat, Jul 28, 2012 at 3:24 AM, Cédric Krier <[email protected]> wrote:
> On 27/07/12 22:13 -0500, zodman wrote:
>> I seen trytond  it is designed for run on postgres with user  to
>> create database permission. Heroku give you a  empty database. So for
>> creating or restore the database it can no be done , because this
>> (http://hg.tryton.org/trytond/file/tip/trytond/backend/postgresql/database.py#l84)
>>  you can not do it.
>
> You can setup an existing database with:
>
>     trytond -d <database> -i all
>
>> and template{0,1} not exist
>
> But have you access to the pg_* tables ?
>
>> and not have permission to execute this
>> http://hg.tryton.org/trytond/file/tip/trytond/backend/postgresql/database.py#l170
>
> If it is because of missing template0, it is not a big issue as you can
> configure Tryton to not list database.
> If it is because you don't have access to pg_* tables, that will be a
> bigger issue because this will prevent migration.
>
>> I think need someone write a new backend called:
>> trytond-backend-posgresql-heroku
>
> Or simply restore a dump of a local created database.
>
> --
> Cédric Krier
>
> B2CK SPRL
> Rue de Rotterdam, 4
> 4000 Liège
> Belgium
> Tel: +32 472 54 46 59
> Email/Jabber: [email protected]
> Website: http://www.b2ck.com/

it works!!


So for run trytond heruko ? it can be posible ?

-- 
[email protected] mailing list

Reply via email to