<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-15"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Due to the design of the database layer in Drupal 6 (and less) you
can't mix different database engines (that feature is coming in D7). <br>
<br>
My suggestion would be to dump the PostgreSQL DB and import it into a
MySQL DB, then do the import.  The other thing you could do is create
your own PostgreSQL connector to use for the import, totally bypassing
the Drupal database layer on that database.<br>
<pre class="moz-signature" cols="72">Jamie Holly
<a class="moz-txt-link-freetext" href="http://www.intoxination.net">http://www.intoxination.net</a> 
<a class="moz-txt-link-freetext" href="http://www.hollyit.net">http://www.hollyit.net</a></pre>
<br>
On 1/25/2010 8:59 AM, Michel Morelli wrote:
<blockquote cite="mid:4B5DA3C5.4070604@ziobuddalabs.it" type="cite">Hi
all. I need to import an old site (based on a proprietary CMS based
on postgres) on drupal 6.x based on mysql.<br>
  <br>
I have thinked that two $db_url['XXX'] were enough, 1 (default) for
mysql and the other (oldweb) for postgres. <br>
  <br>
But I receive this error when I try to use the connection to
postgresql: <br>
  <br>
  <b>Fatal error</b>: Cannot redeclare db_status_report() (previously
declared in.......<br>
  <br>
How can I connect to an postgres db if my site run on mysql? <br>
  <br>
M.<br>
  <pre class="moz-signature" cols="72">-- 
Michel 'ZioBudda' Morelli                       <a
 moz-do-not-send="true" class="moz-txt-link-abbreviated"
 href="mailto:michel@ziobuddalabs.net">michel@ziobuddalabs.net</a>
Sviluppo applicazioni CMS DRUPAL e web dinamiche (LAMP+Ajax)
Telefono: 0200619074
Telefono Cell: +39-3939890025 --  Fax: +39-0291390660

<a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://www.ziobudda.net">http://www.ziobudda.net</a>                         ICQ: 58351764  
<a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://www.ziobuddalabs.it">http://www.ziobuddalabs.it</a>                      Skype: zio_budda
<a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://www.ziodrupal.net">http://www.ziodrupal.net</a>                               MSN: <a
 moz-do-not-send="true" class="moz-txt-link-abbreviated"
 href="mailto:michel@ziobuddalabs.it">michel@ziobuddalabs.it</a>                   
                                                JABBER: <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
 href="mailto:michel@ziobuddalabs.it">michel@ziobuddalabs.it</a>
  </pre>
</blockquote>
</body>
</html>