-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
A new version of DBD::Pg is about to be released (1.32), and we need
your help to test it out. If you use DBD::Pg, please download
and test the latest release candidate. At the very least, running
"make test" and reporting any problems would be of great help.
The latest version can be found here: http://backpan.cpan.org/authors/id/R/RU/RUDY/
Currently the latest is "DBD-Pg-1.32_2.tar.gz" but please check the
directory to see if there is anything newer.
You can always get the latest work-in-progress via cvs by
logging in with a password of "anonymous" and using:
:pserver:an**** ***@gborg.postg resql.org:/usr/local/cvsroot/dbdpg
You can find out more information about the project, submit a
bug or a feature request, and learn about the mailing list at: http://gborg.postgresql.org/project/dbdpg/
- --
Greg Sabino Mullane gr**@turnstep.c om
PGP Key: 0x14964AC8 200402200653
-----BEGIN PGP SIGNATURE-----
iD8DBQFANfYrvJu QZxSWSsgRAuQIAK CAWz+yHdkDo4VWO LPo0pJUX3SU9ACg 0DAn
E1FHuzdOtuhJcr1 ySIoSKIk=
=Yps3
-----END PGP SIGNATURE-----
---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to ma*******@postg resql.org 11 2331
Hi everybody
I defined a function returning refcursor.
CREATE FUNCTION cursorname (refcursor, character varying, character
varying) RETURNS refcursor ...
which does a select with username and serachphrase.
If I call
BEGIN;
SELECT cursorname(`tes t`,`username`,` searchphrase`);
MOVE 10 in test;
FETCH 25 from test;
COMMIT;
inside psql everything works well. If I put this code into a
scriptfile and call it, I get the following errormessage:
cannot handle multiple result groups
Why? What does this mean?
I use a webserver which has 'one' persistent connection to the
database. Executing the script the connection breaks. Trying to do a
rollback the database returns that there is no transaction in
progress.
Any help is welcome
Regards
Conni
---------------------------(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
Cornelia Boenigk wrote: Hi everybody
I defined a function returning refcursor.
CREATE FUNCTION cursorname (refcursor, character varying, character varying) RETURNS refcursor ... which does a select with username and serachphrase.
If I call
BEGIN; SELECT cursorname(`tes t`,`username`,` searchphrase`); MOVE 10 in test; FETCH 25 from test; COMMIT;
inside psql everything works well. If I put this code into a scriptfile and call it, I get the following errormessage:
cannot handle multiple result groups
Why? What does this mean?
I use a webserver which has 'one' persistent connection to the database. Executing the script the connection breaks. Trying to do a rollback the database returns that there is no transaction in progress.
Any help is welcome
Sure seems like whatever database client you're using doesn't really
support transactions. Is is possible that each SQL command is being
issued seperatly to the backend in "unchained" mode? You might want
to provide the list with some details on the Postgres client you're
using and how you're using it. Then, someone with experience with
that client can make a specific suggestion.
--
Bill Moran
Potential Technologies http://www.potentialtech.com
---------------------------(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
Greetings,
I have a Linux RedHat 9.0 computer. It has 1G memory. Is there anybody who
could help me to fine tune the Kernel for PgSql, and also the with the
proper settings for the PgSql server. I have two additional java program
running on that computer, otherwise I used a custom installation with the
minimal neccessary packages (No X-Server is initalled).
I read the docuentation, and also the PostgreSQL Hardware Performance Tuning
by Bruce Momjian.
Both of them was very usefull, I could manage to come up with the
configuration. Everything works fine, but I'm not sure I have chosen the
best settings.
Thank you in advance.
Kind regards,
Yuri
ps. I almost forgot; I need 64 connections at the same times, and the max
record length is aroung 1024 bytes.
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html
Bill Moran <wm****@potenti altech.com> writes: Cornelia Boenigk wrote: BEGIN; SELECT cursorname(`tes t`,`username`,` searchphrase`); MOVE 10 in test; FETCH 25 from test; COMMIT;
inside psql everything works well. If I put this code into a scriptfile and call it, I get the following errormessage:
cannot handle multiple result groups
Sure seems like whatever database client you're using doesn't really support transactions.
I'm guessing that the client-side library thinks the above is a single
SQL statement, and so it's surprised when two result sets (the SELECT
and then the FETCH) come back. This is probably due to misuse of the
library API, but without any details it's hard to offer advice.
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)
Hi Bill and Tom
Thank you for the hints. I think you pointed me in the right
direction.
Regards
Conni
---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend
On Sunday 22 February 2004 21:11, Gyorgy Molnar wrote: Greetings,
I have a Linux RedHat 9.0 computer. It has 1G memory. Is there anybody who could help me to fine tune the Kernel for PgSql, and also the with the proper settings for the PgSql server. I have two additional java program running on that computer, otherwise I used a custom installation with the minimal neccessary packages (No X-Server is initalled).
Well, you should probably read the tuning and configuration docs at: http://www.varlena.com/varlena/Gener...bits/index.php
Then, post your main config settings to the -performance list along with
details of any problems you are seeing.
Bear in mind that "best" performance depends on what queries you are
executing, so optimising for one group of queries may involve trade-offs with
others.
--
Richard Huxton
Archonet Ltd
---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend
>>>>> "g" == greg <gr**@turnstep. com> writes:
g> A new version of DBD::Pg is about to be released (1.32), and we need
g> your help to test it out. If you use DBD::Pg, please download
g> and test the latest release candidate. At the very least, running
Has my recent bug report on rt.cpan.org been addressed? I never got
any ack that it was. See https://rt.cpan.org/NoAuth/Bug.html?id=4996
It was most fun tracking that one down!
I'll dl and test 1.32 tomorrow... EOD here now.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D. Khera Communications, Inc.
Internet: kh***@kciLink.c om Rockville, MD +1-301-869-4449 x806
AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 Has my recent bug report on rt.cpan.org been addressed? I never got any ack that it was. See
I tried but could not duplicate that bug when it first came out. I
don't know if others have tried it out or not, but if you could test
with 1.32_2 that would be great. If the bug still exists, please let
us know as soon as possible so we can get the fix into 1.32.
Thanks,
- --
Greg Sabino Mullane gr**@turnstep.c om
PGP Key: 0x14964AC8 200402241922
-----BEGIN PGP SIGNATURE-----
iD8DBQFAO+savJu QZxSWSsgRAkUPAK DOk5U2vGy+R1dYg sX4S11Z+oOiBwCf StV0
LBl35tbjd1YzWDH 07LMYeeY=
=EeQP
-----END PGP SIGNATURE-----
---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to ma*******@postg resql.org
Will somebody on this list, hopefully the list manager, tell me how to
unsubscribe to this list?
In attempting to sent a request for this to
"ma************ *@postgresql.or g" , I got this response: >>>> unregister je********@veri zon.net
---- The unregister command did not succeed.
----
---- The request
---- "unregister je********@veri zon.net"
---- must be confirmed. Confirmation instructions have been mailed to
---- je********@veri zon.net in a separate message.
----
1 valid command processed; it is pending.
Regretably, I didn't get the promised seperate message, hense I'm still receiving messages.
---------------------------(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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Pablo S |
last post by:
Hi there mod_perl/Pg folks,
I have 2 systems, one OLD,
(linux 2.4 running postgresql-7.2.1-5 with a perl web db on
Apache/1.3.23 mod_perl 1.26 and dbi 1.37 with peristent db connections
via apache:dbi. )
The other system is NEW, which i am demoing
(running the same web app on linux 2.6 postgresql-7.4.2-1 w/
Apache/2.0.49 & mod_perl/1.99_12 & apache:dbi. (this one fedora core
|
by: Tim Nelson |
last post by:
**** Post for FREE via your newsreader at post.usenet.com ****
I am a newbie try to port my applications to Postgres. I have an
application that is bulk loading a table with autocommit off (with it on
it's way to slow). The logic of the application dictates that I try the
insert, and if it fails because of a duplicate, update the record instead.
The entire bulk load is wrapped in a transaction for speed purposes. When I
hit a...
|
by: Piotr B. |
last post by:
Hello,
I want to make use of a Perl script "ora2pg" (Oracle to PostgreSQL
schema converter), which requires the following modules:
DBI, DBD::Oracle and DBD::Pg.
As I don't use Perl on a regular basis, I've downloaded and installed
ActivePerl 5.6.1.638 (Windows). Then, I installed DBI and DBD::Oracle
using the PPM utility. But, unfortunately, I couldn't install DBD::Pg:
|
by: Envex Developments |
last post by:
Hey guys,
I have a need to install the DBD::Pg Perl module on many shared web servers,
which do not have PostgreSQL installed. Then the DBD::Pg module will just
connect to a remote PostgreSQL database, hosted elsewhere. I'm having some
problems doing this.
First off, I modified the Makefile.PL, and added the three following links
just above the check for environment variables:
|
by: Envex Developments |
last post by:
Hey guys,
I have a need to install the DBD::Pg Perl module on many shared web servers,
which do not have PostgreSQL installed. Then the DBD::Pg module will just
connect to a remote PostgreSQL database, hosted elsewhere. I'm having some
problems doing this.
First off, I modified the Makefile.PL, and added the three following links
just above the check for environment variables:
| |
by: Alex |
last post by:
Hi,
I am using DBD::Pg in some of my scripts. I want to customize the error
login based on the error received.
While I am happy with the Errstr message I want to take specific actions
depending on Errstr or Err.
Is there a list of all available error number (err) with associated
error message (errstr) that is produced by postgres?
Is there something similar for JDBC ?
|
by: Ausrack Webmaster |
last post by:
Hi
I am trying to insert a simple email address into a text field,
and I get the below error:
DBD::Pg::st execute failed: ERROR: pg_atoi: error in
"<support@somedomain.com>": can't parse "<support@somedomain.com>"
I figure it is because of the < and @ in the value, but why does it take
these as operators even
|
by: Patrick Hatcher |
last post by:
Pg: 7.4.2
I use perl scripts to import data into my db. When errors occurred
uploading files in Pg ver 7.3.x, $DBI::errstr used to return a row number
from the input file. I could then go to the file make whatever changes and
continue. Since updating to 7.4.2, I no longer receive this information.
I now have to go to psql and run the import and only then will I see the
error row. Is there a newer version than 1.32 of DBD::Pg?
TIA
|
by: David Siebert |
last post by:
Anyone using Activestate Perl and DBD-Pg?
I am using perl 5.8.3 ppm does not seem to work. I downloaded the DBD-Pg
..zip file I found through google but ppm could not seem to install that.
Any suggestions?
---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
|
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: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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: 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: 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: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |