Op 19-12-09 22:20, Jaime Casanova schreef:
> are you planning to run this many times? what is wrong with making
> this manually?
> doesn't seem like something to make automatic...
>
> but if you insist in plpgsql you can execute "select version() into
> some_text_var" and act acordingly
>
>
No, this is done in an automatic software update procedure across
hundreds of machines
which run different postgreSQL versions.
Thanks, I'll give this a try.
Antonio.