Re: [INTERFACES] Postgres 6.5.1 Error

From: Robert Hiltibidal <rob(at)y2k(dot)state(dot)il(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-interfaces(at)postgreSQL(dot)org, James_Jorgensen(at)cms(dot)state(dot)il(dot)us, Don_Kupferschmid(at)cms(dot)state(dot)il(dot)us
Subject: Re: [INTERFACES] Postgres 6.5.1 Error
Date: 1999-12-03 15:52:16
Message-ID: 3.0.6.32.19991203095216.0096ae20@y2k.state.il.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Howdy,

>"Cascade failure" doesn't convey anything to me ... can you be more
>specific? What error messages do you find in the postmaster log, if
>any?
>

I define a cascade failure as one application tying up so much processr
time and/or memory nothing else can work. Ultimately the server locks up if
I am unable to kill the process in time.

There are o errors listed in the postgres log.

The query is dynamically generated. It works for 62 of the 63 agencies we
track. here is the pascal source code for generating the query:

BuffCode := 'Select distinct
propertyname,address,city,state,zip,recnum,agencyname from tblInfra where
agencycode = ';
SqlQuery := StrAlloc(Strlen(BuffCode) + StrLen(AgencyCode) + StrLen(Sort)+1);
StrPCopy(SqlQuery,BuffCode);
StrCat(SqlQuery,'''');
StrCat(SqlQuery,AgencyCode);
StrCat(SqlQuery,'''');
StrCat(SqlQuery,' order by ');
StrCat(SqlQuery,Sort);
StrCat(SqlQuery,',recnum ');
Results := DataEase(DBName,SqlQuery);

So the query ends up being:

(Using DOT as anample)

SQLquery = Select distinct
propertyname,address,city,state,zip,recnum,agencyname from
tblInfra where agencycode = 'DOT' order by propertyname,recnum

This works for all the other state agencies to date.

-Rob

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Thomas Lockhart 1999-12-03 16:38:19 Re: [INTERFACES] Spanish format on date and numbers
Previous Message Michael Meskes 1999-12-03 15:46:36 Re: [INTERFACES] Spanish format on date and numbers