I have run this SP in Cold Fusion, PgAdmin and EMS PostgreSQL Manager 2,
with all the same results. We are currently using Redhat ES3 and Postgres
From: George Weaver [mailto:gweaver(at)shaw(dot)ca]
Sent: Wednesday, 23 February 2005 12:46 AM
To: Theo Galanakis
Subject: Re: [SQL] Working with XML.
I am not able to duplicate the problem you experienced. I tried the query
you provided below using pgAdmin and psql on a 7.3.2 and an 8.0 database
with success. I then copied all the rows and pasted them to the end so that
I would have 100 rows, and the query worked as expected.
Perhaps the client you're using is causing the problem. Can you run the
query in pgAdmin?
----- Original Message -----
From: Theo Galanakis <mailto:Theo(dot)Galanakis(at)lonelyplanet(dot)com(dot)au>
To: 'George Weaver' <mailto:gweaver(at)shaw(dot)ca>
Cc: 'pgsql-sql(at)postgresql(dot)org' <mailto:'pgsql-sql(at)postgresql(dot)org'>
Sent: Monday, February 21, 2005 11:54 PM
Subject: RE: [SQL] Working with XML.
XML2 compiled ok... next stummbling block.. when I pass a very long XML
string to xpath_string() it crashes the postgres server. Client receives a
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
Below is the function call, a smaller xml string with say 40 records works
fine, anything bigger crashes the server.
select xpath_string('<?xml version="1.0" encoding="UTF-8"?> <query
This email, including attachments, is intended only for the addressee
and may be confidential, privileged and subject to copyright. If you
have received this email in error, please advise the sender and delete
it. If you are not the intended recipient of this email, you must not
use, copy or disclose its content to anyone. You must not copy or
communicate to others content that is confidential or subject to
copyright, unless you have the consent of the content owner.
pgsql-sql by date
|Next:||From: Joel Fradkin||Date: 2005-02-22 22:19:55|
|Subject: Speeds using a transaction vrs not|
|Previous:||From: Bret Hughes||Date: 2005-02-22 22:05:16|
|Subject: Re: how can I query for unset timestamps|