Que tal:

SELECT table_name, column_name, data_type FROM information_schema.columns
WHERE column_name = 'nome_do_campo' order by table_name;

substituindo nome_do_campo pelo verdadeiro nome do campo, eh claro, rsrs

Atenciosamente,

Alessandro Lima
email [email protected]

> ** **
>
> _______________________________________________
> pgbr-geral mailing list
> [email protected]
> https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral
>
>
_______________________________________________
pgbr-geral mailing list
[email protected]
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral

Responder a