App sql postgres

Hi, friends.
I’m from Brasil, sorry but my English is bad.
The Asterisk suport PGSQL instructions in the extensions? how do this?
example.

exten => s, 5,PGSQL( …)

Asterisk have bugs in app_sql_postgres ??
in the first exten the Asterisk execute and fetch a query, but in the second exten the query is executed but the fetch is eof…

thanks for any help.

Marcelo

thanks for all helpers