Hi,
Help me pls a little with locals in postgres 7.3.4
why "order by" and "like" doesnt work in 7.3.4 properly? - im working
with ALT server local settings.
in 7.2.xx all this things worked well .
Thank u . and have a nice day!
Igor.
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html 4 1273
igor <ro**@osb368.nn ov.ru> writes: why "order by" and "like" doesnt work in 7.3.4 properly? - im working with ALT server local settings. in 7.2.xx all this things worked well .
Most likely you forgot to select the right locale settings before
initdb'ing the 7.3 installation. pg_controldata can help you check
what locale is in force in the database.
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match
Thank u for hint it really helped me - I made initdb with new lc-ctype
and lc-collate
settings : ru_RU:UTF8.
But im still having one question - some functions - lower() and upper()
doesnt work properly . what im doing wrong?
Tom Lane wrote: igor <ro**@osb368.nn ov.ru> writes:
why "order by" and "like" doesnt work in 7.3.4 properly? - im working with ALT server local settings. in 7.2.xx all this things worked well .
Most likely you forgot to select the right locale settings before initdb'ing the 7.3 installation. pg_controldata can help you check what locale is in force in the database.
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html
igor <ro**@osb368.nn ov.ru> writes: Thank u for hint it really helped me - I made initdb with new lc-ctype and lc-collate settings : ru_RU:UTF8. But im still having one question - some functions - lower() and upper() doesnt work properly . what im doing wrong?
We don't have any support for upper() and lower() in multibyte character
encodings, such as UTF8. You need to use a single-byte encoding (and a
locale setting to match, of course).
Yeah, I know this sucks :-(. I think Peter Eisentraut is looking into
fixing it for 7.5.
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match
Thank u for hint it really helped me - I made initdb with new lc-ctype
and lc-collate
settings : ru_RU:UTF8.
But im having one question - some functions - lower() and upper()
doesnt work properly . what im doing wrong?
Tom Lane wrote: igor <ro**@osb368.nn ov.ru> writes:
why "order by" and "like" doesnt work in 7.3.4 properly? - im working with ALT server local settings. in 7.2.xx all this things worked well .
Most likely you forgot to select the right locale settings before initdb'ing the 7.3 installation. pg_controldata can help you check what locale is in force in the database.
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to ma*******@postg resql.org so that your
message can get through to the mailing list cleanly This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: svilen |
last post by:
hello again.
i'm now into using python instead of another language(s) for
describing structures of data, including names, structure,
type-checks, conversions, value-validations, metadata etc. And i have
things to offer, and to request.
And a lot of ideas, but who needs them....
here's an example (from type_struct.py):
|
by: Blake Caraway |
last post by:
All,
I've seen several posts regarding using UNION or UNION ALL to mash
together two or more resultsets into a single result set, but can't
seem to find enough info here to help me answer my particular
question.
I have a stored procedure that gets the column names in a particular
format (i.e. "chassis_id"|"chassis_description"|"modify_date") as well
as actual data for a given table (in a quote-separated, pipe-delimited
|
by: pooh |
last post by:
I have a situation where the order of my cpp files in my g++ compile
command line affects the program.
Here is a simplified example:
g++ -Wall -o test a.cpp b.cpp
compiles, links and runs fine.
g++ -Wall -o test b.cpp a.cpp
|
by: Dark Rayden |
last post by:
Hi!
I recently got a strange problem and I have no idea on the solution.
I try to do a ORDER BY statement with a fixed order of values, because
my client want's it this way.
My approach is like this:
$the_row = "'A', 'B', 'B b', 'C', 'D d', 'E'";
|
by: Tony Johansson |
last post by:
This class template and main works perfectly fine. But could be better.
I have this class template called Handle that has a pointer declared as T*
body;
As you can see I have a reference counter in the class template so I know
how many references I have to the body. In my case it's the Integer wrapper
class which is the body.
This template works for many different types.
The one that I use is named Integer and is a Wrapper for an int....
| |
by: sdbranum |
last post by:
Tab pages, which I have added to forms in design view, are occassionally
reordered without warning. Other than hard-coding the tab order by clearing
then readding these same tab pages outside InitializeComponent, is there
another way to prevent such reodering?
Steve
|
by: Beowulf |
last post by:
I have the view below and if I use vwRouteReference as the rowsource
for a combo box in an MS Access form or run "SELECT * FROM
vwRouteReference" in SQL Query Analyzer, the rows don't come through
sorted by Numb.
Everything I've read on the web suggests that including the TOP
directive should enable ORDERY BY in views. Does someone have an idea
why the sorting is not working correctly for this particular view? thanks.
CREATE VIEW...
|
by: phillip.s.powell |
last post by:
SELECT s.id, s.first_name, s.last_name,
IF(s.school_year_id = 0, s.school_year_other,
y.school_year_alt_display) AS school_year_name
FROM student s
LEFT OUTER JOIN school_year y ON s.school_year_id = y.id
ORDER BY upper(school_year_name) desc, upper(s.last_name) asc,
upper(s.first_name) asc
This query produces records based upon either the column
s.school_year_id being 0 and s.school_year_other having a value, or
|
by: hadardo |
last post by:
Hello.
I read the Microsoft article about the sorting of negative deciaml
values (http://support.microsoft.com/?id=837148), however, the problem
wasn't solved.
It works fine when I use a simple query:
SELECT Costs
FROM MyTable
ORDER BY Costs DESC
But when I add a criteria to the query, the results are in the wrong
|
by: Hurricane |
last post by:
When I create a view in SQL and include an ORDER BY clause i can see it
in Management Studio. However, when I call the same view from an ASP
page the order goes completely haywire.
Any ideas?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |