select *, lower(name) from student;
gives error: could not find block containing chunk 0x8483530
what does this error mean & what may be the cause?
template1=# \d student
Table "public.student "
Column | Type | Modifiers
--------+---------+-----------
name | devchar |
age | integer |
Regards
Vinay
--
Vinay Jain
Dissertation Project Trainee
DAKE Division
C-DAC Mumbai
---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings 3 2227
Vinay Jain <vi*******@gmai l.com> writes: select *, lower(name) from student; gives error: could not find block containing chunk 0x8483530
That's some sort of memory manipulation bug --- pfree'ing a wrong
pointer, likely.
template1=# \d student Table "public.student " Column | Type | Modifiers --------+---------+----------- name | devchar | age | integer |
Given that a custom datatype is involved, I'd suspect the C code
for the custom type.
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddres sHere" to ma*******@postg resql.org)
On Tue, 17 Aug 2004 09:59:40 +0530, Vinay Jain <vi*******@gmai l.com> wrote: On Mon, 16 Aug 2004 10:39:18 -0400, Tom Lane <tg*@sss.pgh.pa .us> wrote: Vinay Jain <vi*******@gmai l.com> writes: select *, lower(name) from student; gives error: could not find block containing chunk 0x8483530
That's some sort of memory manipulation bug --- pfree'ing a wrong pointer, likely.
I am not using pfree in C code. but I am using palloc for memory allocation.
All other queries like: select * from student order by lower(name); gives appropriate result.
template1=# \d student Table "public.student " Column | Type | Modifiers --------+---------+----------- name | devchar | age | integer |
Given that a custom datatype is involved, I'd suspect the C code for the custom type.
regards, tom lane
-- Vinay Jain Dissertation Project Trainee DAKE Division C-DAC Mumbai
--
Vinay Jain
Dissertation Project Trainee
DAKE Division
C-DAC Mumbai
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html
On Tue, Aug 17, 2004 at 10:00:16AM +0530, Vinay Jain wrote: On Tue, 17 Aug 2004 09:59:40 +0530, Vinay Jain <vi*******@gmai l.com> wrote: On Mon, 16 Aug 2004 10:39:18 -0400, Tom Lane <tg*@sss.pgh.pa .us> wrote: Vinay Jain <vi*******@gmai l.com> writes: > select *, lower(name) from student; > gives error: could not find block containing chunk 0x8483530
That's some sort of memory manipulation bug --- pfree'ing a wrong pointer, likely. I am not using pfree in C code. but I am using palloc for memory allocation.
All other queries like: select * from student order by lower(name); gives appropriate result.
Maybe you are palloc'ing in the wrong memory context. Make sure you
understand how memory contexts are used and thier longevity.
If you want anything more specific, you should post your code.
--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"Vivir y dejar de vivir son soluciones imaginarias.
La existencia está en otra parte" (Andre Breton)
---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: rbt |
last post by:
Here's the scenario:
You have many hundred gigabytes of data... possible even a terabyte or
two. Within this data, you have private, sensitive information (US
social security numbers) about your company's clients. Your company has
generated its own unique ID numbers to replace the social security numbers.
Now, management would like the IT guys to go thru the old data and
replace as many SSNs with the new ID numbers as possible. You...
|
by: Luke McCarthy |
last post by:
Hi,
I'm trying to accomplish what I (perhaps naively) assumed would be a
relatively easy task. I am trying to center a box in the middle of the
display. That's all. Something like this here:
http://bioinfo.usask.ca/~lukem/css/
The crux of the problem I'm having is that I'm unable to stop a
block-level element from filling up the entire available width without
making it a float, and once it's a float, I'm uable to center it.
|
by: Sandman |
last post by:
I'm having some problem here...
I have a javascript I've downloaded that goes through all PNG files and enables
the transparency channel in them for IE5.5+ by converting them to SPAN layers
with the image as background.
This works great until I put one of these PNG files inside a display:none block
and later sets the block to display:block - then the SPAN (that was the PNG
<img>) remains hidden.
|
by: Greg Copeland |
last post by:
I am running python on VxWorks. In the course of operation, a vxworks
tasks writes to a reserved area of memory. I need access to this chunk
of memory from within python. Initially I thought I could simply
access it as a string but a string would reallocate and copy this chunk
of memory; which is not something I can have as it would waste a huge
amount of memory. We're talking about something like 40MB on a device
with limited RAM. I...
|
by: Bill Norton |
last post by:
If you wrap one division around another like this:
<div id="wrapper">
<div id="child">...</div>
</div>
....the wrapper division will be considered the containing block of the child
division in all cases except where
1. the positioning of the wrapper is static and
2. the positioning of the child is absolute.
| |
by: dave8421 |
last post by:
Hi,
I'm a bit confused about the definition about "Prinicpal Block Boxes"
in CSS 2.1 draft specification.
( http://www.w3.org/TR/2006/WD-CSS21-20061106 )
<pre>
9.2.1 Block-level elements and block boxes
The principal block box establishes the containing block for descendant
boxes and generated
|
by: Arnaud Delobelle |
last post by:
Hi all,
Imagine I have three functions a(x), b(x), c(x) that each return
something or raise an exception. Imagine I want to define a function
that returns a(x) if possible, otherwise b(x), otherwise c(x),
otherwise raise CantDoIt.
Here are three ways I can think of doing it:
----------
|
by: Jukka K. Korpela |
last post by:
Sub titulo "Re: DIV borders different in IE7 when in td"
scripsit Ben C:
This seems to be the heart of the matter, and I'm trying to get a real
discussion started, by moving the discussion to the right group
(c.i.w.a.stylesheets) and changing the Subject line.
It seems to me that IE 7, specifically in "standards mode" (!),
misbehaves when a table cell has a declared width but the actual width
|
by: varnie |
last post by:
hell-o !~
i faced weird problem during usage boost::pool_allocator.
after i've changed:
typedef boost::shared_ptr< param > ParamPtr;
typedef std::vector< ParamPtr > ParamPtrVector;
with:
|
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: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |