473,379 Members | 1,260 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

help from Portugal

Dear sirs

I have a crazy problem here.
Nobody seems to known why.
I am not a database expert nor do known much about
Postgres.
I am just a system administrator trying to move a database from
one system to another.
O the old system (slackware linux) the postgres was downloaded
an compiled from source.
O the new system (Red Hat 9.0) the postgres was installed from
rpm precompiled binaries.
Everything seemed ok.
I pg_dump from the original.
I createdb anf pg_restore on the destination.

On the old system I did the query:
SELECT * FROM contactos WHERE empresa_nome ILIKE ´%nestlé%´;

and it did work
O the new system it does not produce nothing!???

if I do
SELECT * FROM contactos WHERE empresa_nome ILIKE ´%NESTLÈ%´;
it works!

For queried material where accent on letters does not matter like NISA/nisa
there are no problems with the query.

The problem seems to be on accent on letters. So I thought maybe some stuff
on charsets/encoding and I tried all the advices on the html/docs changing
database and client encodings to LATIN1 (it was SQL_ASCII) to no help.
Environ var like LANG and LC_ALL equal "pt_PT" on /etc/init.d/postgres.

The guys who did the programming on the dadbase do not known any clues.
Me, has I said, I am not expert and I a bit lost not knowing what to do
next.

Do you have any ideas?

Thanks for any help

Pedro Guedes
PORTUGAL
pm***@netc.pt

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Nov 12 '05 #1
1 1236
Looks like the new DB might have been initialized with a different locale. Read
about locales and initdb in the docs.

Good luck.

Fernando.

En un mensaje anterior, Pedro Miguel Guedes escribió:
[...]

The problem seems to be on accent on letters. So I thought maybe some stuff
on charsets/encoding and I tried all the advices on the html/docs changing
database and client encodings to LATIN1 (it was SQL_ASCII) to no help.
Environ var like LANG and LC_ALL equal "pt_PT" on /etc/init.d/postgres.


---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Funnyweb | last post by:
I have just notices that the date() function is not returning the correct date/time on my "server". I am running apache2 on my winxp pro laptop. My system clock is set to the correct date,...
1
by: Bruno Alexandre | last post by:
Hi guys, First, my apologies, but I can't find a MS newsgroup for ASP and not ASP.NET like this one But here is my question Set cnData = server.createObject("ADODB.Command") Set rsData =...
1
by: Bruno Alexandre | last post by:
in the form I have: <asp:TextBox ID="fAte" Runat="server" Width="80px">31-01-2004</asp:TextBox> in the GridView I have: <asp:HyperLinkField DataTextField="nC" HeaderText="nome Colab"
8
by: Chris | last post by:
Hi, I can't seem to find any info on calling a webservice with atlas and populating a gridview with the results. All the doc shows on the atlas website is alert. Who would want to alert? Please...
0
by: phishstory | last post by:
Portugal is the most amazing country in Europe. Still undiscovered by american tourists. Really beautiful place. Some amazing information for anyone interested in discovering a unique travel...
0
by: phishstory | last post by:
Portugal is such an amazing place to vacation. One of the most beautiful places I have been. If anyone is interested, here is a great website with a lot of information. ...
1
by: racshah | last post by:
I want to validate the postal codes for 15 different countries. For this I have written the perl script shown below. In this script postal codes for Netherland, belgium, Italy, Ireland can be...
0
by: edcha | last post by:
I have the Next XML var xml = new XElement( "clients", new XElement("client", new XAttribute("id",1), new XElement( "name", "Luis"), new XElement( "country", "Portugal") ), new...
2
by: edcha | last post by:
I have the Next XML var xml = new XElement( "clients", new XElement("client", new XAttribute("id",1), new XElement( "name", "Luis"), new XElement( "country", "Portugal") ), new...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.