Warning: pg_connect() [function.pg-connect]: Unable to connect to PostgreSQL server: FATAL: the database system is starting up in /home/pressnet/webapps/ROOT/library/db.php on line 65

Warning: pg_query(): supplied argument is not a valid PostgreSQL link resource in /home/pressnet/webapps/ROOT/library/db.php on line 160

Warning: pg_last_error() [function.pg-last-error]: No PostgreSQL link opened yet in /home/pressnet/webapps/ROOT/library/db.php on line 161
ERRO NA QUERY =>>>> select N.titulo_noticia,to_char(N.datapublicacao_noticia,'DD/MM/YYYY') as datapublicacao_noticia,SUBSTRING(N.codigo_noticia,1,4) as projeto, uf.sigla_uf, D.codigo_uf from noticia.noticia AS N LEFT JOIN noticia.noticia_responsavel AS NR ON N.codigo_noticia = NR.codigo_noticia LEFT JOIN noticia.destino_noticia AS D ON N.codigo_noticia = D.codigo_noticia LEFT JOIN uf ON D.codigo_uf = uf.codigo_uf LEFT JOIN projeto AS P ON SUBSTRING(N.codigo_noticia,1,4) = P.codigo_projeto where N.codigo_noticia LIKE 'PDMS080540'
Result=
164
Warning: Cannot modify header information - headers already sent by (output started at /home/pressnet/webapps/ROOT/noticia.php:3) in /home/pressnet/webapps/ROOT/noticia.php on line 77