Re: [SQL] PGdump then PHP search
От | tjk@tksoft.com |
---|---|
Тема | Re: [SQL] PGdump then PHP search |
Дата | |
Msg-id | 199909162012.NAA01992@uno.tksoft.com обсуждение исходный текст |
Ответ на | PGdump then PHP search ("Mike Field" <mike@fieldco.com>) |
Список | pgsql-sql |
Mike, If you query the new database with psql, can you see the transfered records, or only the new records? If not, you missed some step in transfering the data (like copy). Troy > > This is a multi-part message in MIME format. > > ------=_NextPart_000_0072_01BF0056.F839FAC0 > Content-Type: text/plain; > charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > Hi all- > > I've transferred a database using a pg_dump, and everything transferred = > fine. But in my search engine (made with PHP3 performing SQL queries = > using: WHERE fieldname LIKE keywords) the only documents that seem to be = > searched are the ones that I've put in SINCE the pg_dump/db transfer. > > Any ideas why? > Any way to fix it? > > Mike > mike@fieldco.com > > > ------=_NextPart_000_0072_01BF0056.F839FAC0 > Content-Type: text/html; > charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN"> > <HTML> > <HEAD> > > <META content=3Dtext/html;charset=3Diso-8859-1 = > http-equiv=3DContent-Type> > <META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR> > </HEAD> > <BODY bgColor=3D#ffffff> > <DIV><FONT color=3D#000000 size=3D2> <FONT = > color=3D#000000>Hi=20 > all-</FONT></FONT></DIV> > <DIV><FONT color=3D#000000 size=3D2><FONT = > color=3D#000000></FONT></FONT> </DIV> > <DIV><FONT size=3D2>I've transferred a database using a pg_dump, and = > everything=20 > transferred fine. But in my search engine (made with PHP3 = > performing SQL=20 > queries using: WHERE fieldname LIKE keywords) the only documents that = > seem to be=20 > searched are the ones that I've put in SINCE the pg_dump/db=20 > transfer.</FONT></DIV> > <DIV><FONT size=3D2></FONT> </DIV> > <DIV><FONT size=3D2>Any ideas why?</FONT></DIV> > <DIV><FONT size=3D2>Any way to fix it?</FONT></DIV> > <DIV><FONT size=3D2></FONT> </DIV> > <DIV><FONT size=3D2>Mike</FONT></DIV> > <DIV><FONT size=3D2><A=20 > href=3D"mailto:mike@fieldco.com">mike@fieldco.com</A></FONT></DIV> > <DIV> </DIV></BODY></HTML> > > ------=_NextPart_000_0072_01BF0056.F839FAC0-- > > > ************ > >
В списке pgsql-sql по дате отправления: