473,383 Members | 1,864 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,383 software developers and data experts.

Error application using Powerbuilder 7 and postgresql 7.3

Hai..
I introduce myself, my name : Agus, from Indonesia.
Im develop application using POwerbuilder 7 and postgresql 7.3.

I have serveral error, and cannot solve yet. Anybody help me?

This is the error :
1. When I connecct postgresql using powerbuilder , there is message like
this ...
Catalog tables could not be created and are not available for use
Why ?

2. When I login to my application , sometimes raise error like this...
SQLSTATE = 28000
FATAL : Sorry, too many clients already

Why? What is the solution

2. There are 5000 rows, then there are report call query like this
SELECT so_hd.*
so_dt.kd_barang ,
so_dt.qty_kecil ,
so_dt.harga ,
so_dt.mod_date ,
so_dt.user_id ,
so_dt.no_so ,
so_dt.qty_besar ,
so_dt.outstanding_qty_besar ,
so_dt.outstanding_qty_kecil ,
so_dt.kd_kelompok_brg ,
so_dt.price_list ,
so_dt.potongan ,
so_dt.jumlah ,
so_dt.keterangan ,
so_dt.disc_total ,
mst_salesman.nama_salesman ,
so_dt.disc ,
mst_salesman.komisi ,
mst_barang.kd_satuan ,
po_dt.disc ,
po_dt.harga FROM {oj so_hd LEFT OUTER JOIN so_dt ON
so_hd.no_so = so_dt.no_so} ,
mst_barang ,
mst_salesman ,
po_dt WHERE ( so_dt.kd_barang = mst_barang.kd_barang
) and ( so_dt.kd_kelompok_brg = mst_barang.kd_kelompok_brg )
and ( so_hd.kd_salesman = mst_salesman.kd_salesman )
and ( so_dt.no_so = po_dt.no_so ) and (
so_dt.kd_barang = po_dt.kd_barang ) and ( so_dt.kd_kelompok_brg
= po_dt.kd_kelompok_brg ) and ( ( so_hd.tgl_so >= :adt_tgl1 )
and ( so_hd.tgl_so <= :adt_tgl2 ) and ( so_hd.closed =
'1' ) )

when running aplication call this report, application become hang. Why ?
there is solution?

4. There are some report become hang . The transaction is few but
design report using sub report. Is it cause hang?
is there the solustion ?
3. There is error like this...
Sybase Inc. Product File has encountered a problem and needs to close

When I using report window for query and access thousand record
transcaction. Why ? Any suggestion
thx

Agus

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Nov 23 '05 #1
2 4875
agus liem wrote:
Hai..
I introduce myself, my name : Agus, from Indonesia.
Im develop application using POwerbuilder 7 and postgresql 7.3.

I have serveral error, and cannot solve yet. Anybody help me?
Hi Agus, I'll do my best.
This is the error :
1. When I connecct postgresql using powerbuilder , there is message like
this ...
Catalog tables could not be created and are not available for use
Why ?
Don't know. This doesn't sound like a PostgreSQL error - is it something
from PowerBuilder? You'll have to turn statement logging on in the
postgresql.conf file and see what sql is being sent unless powerbuilder
can tell you more. Details on setting statement logging are in the manuals.
2. When I login to my application , sometimes raise error like this...
SQLSTATE = 28000
FATAL : Sorry, too many clients already

Why? What is the solution
It sounds like you have too many connections. How many do you have, and
is this larger than the limit set in postgresql.conf? Details in the
manuals.
2. There are 5000 rows, then there are report call query like this
SELECT so_hd.* [snip]
when running aplication call this report, application become hang. Why ?
there is solution?
Don't know. Is the database doing anything? What do ps and top show? Are
there any errors recorded in postgresql's logs?
4. There are some report become hang . The transaction is few but
design report using sub report. Is it cause hang?
is there the solustion ?
What do the logs show? What hangs? What transactions would you be using
to create a report?
3. There is error like this...
Sybase Inc. Product File has encountered a problem and needs to close
I'm not sure what relevance a "Sybase Inc. Product File" has to
postgresql - it's presumably something to do with Sybase.
When I using report window for query and access thousand record
transcaction. Why ? Any suggestion


Sorry - I don't understand what you mean here. What I'd suggest is:

1. Pick one problem (to start with)
2. Turn statement-logging on in the postgresql.conf file
3. Restart the database
4. Reproduce the problem
5. Post details here, along with any errors/warnings in the logs.

--
Richard Huxton
Archonet Ltd

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Nov 23 '05 #2
agus liem wrote:
Hai..
I introduce myself, my name : Agus, from Indonesia.
Im develop application using POwerbuilder 7 and postgresql 7.3.

I have serveral error, and cannot solve yet. Anybody help me?
Hi Agus, I'll do my best.
This is the error :
1. When I connecct postgresql using powerbuilder , there is message like
this ...
Catalog tables could not be created and are not available for use
Why ?
Don't know. This doesn't sound like a PostgreSQL error - is it something
from PowerBuilder? You'll have to turn statement logging on in the
postgresql.conf file and see what sql is being sent unless powerbuilder
can tell you more. Details on setting statement logging are in the manuals.
2. When I login to my application , sometimes raise error like this...
SQLSTATE = 28000
FATAL : Sorry, too many clients already

Why? What is the solution
It sounds like you have too many connections. How many do you have, and
is this larger than the limit set in postgresql.conf? Details in the
manuals.
2. There are 5000 rows, then there are report call query like this
SELECT so_hd.* [snip]
when running aplication call this report, application become hang. Why ?
there is solution?
Don't know. Is the database doing anything? What do ps and top show? Are
there any errors recorded in postgresql's logs?
4. There are some report become hang . The transaction is few but
design report using sub report. Is it cause hang?
is there the solustion ?
What do the logs show? What hangs? What transactions would you be using
to create a report?
3. There is error like this...
Sybase Inc. Product File has encountered a problem and needs to close
I'm not sure what relevance a "Sybase Inc. Product File" has to
postgresql - it's presumably something to do with Sybase.
When I using report window for query and access thousand record
transcaction. Why ? Any suggestion


Sorry - I don't understand what you mean here. What I'd suggest is:

1. Pick one problem (to start with)
2. Turn statement-logging on in the postgresql.conf file
3. Restart the database
4. Reproduce the problem
5. Post details here, along with any errors/warnings in the logs.

--
Richard Huxton
Archonet Ltd

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Nov 23 '05 #3

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

Similar topics

7
by: Együd Csaba | last post by:
Hi, I've a problem with some of my stored procs. My config is: RH7.1, Postgres 7.3.2 I had converted a few fields of a few tables from one type to another and after this I made all the...
8
by: Kragen Sitaker | last post by:
ERROR: Cannot insert a duplicate key into unique index pg_class_relname_nsp_index We've been getting this error in our application every once in a while --- typically once an hour to once a day,...
8
by: Dave Smith | last post by:
I am running 7.2 and when doing a vacuum I am getting the following error.... ERROR: Cannot insert a duplicate key into unique index pg_statistic_relid_att_index Where do I start to fix...
4
by: Rachel McConnell | last post by:
Hello, I have a Java web application using Hibernate to connect to a PostgreSQL backend. I am seeing the below stack trace during processing of a set of data consisting of around 1000 objects;...
0
by: agus liem | last post by:
Hai.. I introduce myself, my name : Agus, from Indonesia. Im develop application using POwerbuilder 7 and postgresql 7.3. I have serveral error, and cannot solve yet. Anybody help me? This is...
11
by: Tore Halset | last post by:
Hello. I am trying to port an old java application from MS SQL Server to PostgreSQL running on Mac OS X. I have access to the java source code and can make modifications. I have tried with...
3
by: Michael Glaesemann | last post by:
Hello all, Recently I've been thinking about different methods of managing users that log into a PostgreSQL-backed application. The users I'm thinking of are not necessarily DBAs: they're...
3
by: Ted | last post by:
In WSAT, I get the following error when trying to set up my provider: Could not establish a connection to the database. If you have not yet created the SQL Server database, exit the Web Site...
5
by: =?Utf-8?B?Q2F0c0NyYWRsZQ==?= | last post by:
I have to prove .Net technologies over PowerBuilder of all things. Powerbuilder is OOP, has a .net interface with the DataWindow.net. Thats about all I know. It's a shootout between my group and...
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
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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.