ExtPascal uses threads to handle multiple connections. I remember you
don't accept this way, right? BTW, what is there wrong if ExtPascal
uses threads?
I accept using threads, but not the way ExtPascal does it. Threads
should be
optional. In extpascal, the thread is equal to the session: if y
On Wed, 1 Dec 2010, Marcos Douglas wrote:
2010/12/1 :
On Wed, 1 Dec 2010, Marcos Douglas wrote:
On Wed, Dec 1, 2010 at 1:05 PM, wrote:
[snip]
It never could. There is 1 connection, and all requests go through this
connection.
A week (or maybe 2) ago, I sent you a private mail about
On Wed, 1 Dec 2010, Joost van der Sluis wrote:
On Wed, 2010-12-01 at 17:05 +0100, michael.vancann...@wisa.be wrote:
On Wed, 1 Dec 2010, Joost van der Sluis wrote:
On Wed, 2010-12-01 at 15:51 +0100, michael.vancann...@wisa.be wrote:
On Wed, 1 Dec 2010, Joost van der Sluis wrote:
Also c
zel...@holobit.net wrote:
Quoting Mark Morgan Lloyd :
Would it be possible to write a server-side PostgreSQL extension using
Lazarus, including friendly debugging?
Yes, feel free to do that :)
[GRIN] Actually, it was a serious question: can Lazarus debug a .so and
would it stand any chanc
On Wed, Dec 1, 2010 at 2:07 PM, Joost van der Sluis wrote:
> On Wed, 2010-12-01 at 17:05 +0100, michael.vancann...@wisa.be wrote:
>>
>> On Wed, 1 Dec 2010, Joost van der Sluis wrote:
>>
>> > On Wed, 2010-12-01 at 15:51 +0100, michael.vancann...@wisa.be wrote:
>> >>
>> >> On Wed, 1 Dec 2010, Joost
On Wed, 2010-12-01 at 17:05 +0100, michael.vancann...@wisa.be wrote:
>
> On Wed, 1 Dec 2010, Joost van der Sluis wrote:
>
> > On Wed, 2010-12-01 at 15:51 +0100, michael.vancann...@wisa.be wrote:
> >>
> >> On Wed, 1 Dec 2010, Joost van der Sluis wrote:
> > Also check this:
> > http://www.fastcgi.
2010/12/1 :
>
>
> On Wed, 1 Dec 2010, Marcos Douglas wrote:
>
>> On Wed, Dec 1, 2010 at 1:05 PM, wrote:
>>>
>>> [snip]
>>>
>>> It never could. There is 1 connection, and all requests go through this
>>> connection.
>>>
>>> A week (or maybe 2) ago, I sent you a private mail about using select()
>>
On Wed, 1 Dec 2010, Marcos Douglas wrote:
On Wed, Dec 1, 2010 at 1:05 PM, wrote:
[snip]
It never could. There is 1 connection, and all requests go through this
connection.
A week (or maybe 2) ago, I sent you a private mail about using select()
on the connection handle. This or the use o
Joost van der Sluis escreveu:
The FastCGI process should return how many connection and requests it
can handle. I'm not sure anymore if FastCGI of fpc can handle muliple
requests at a time. (It could, but some parts ahve been changed)
AFAIK at least Apache does not support multiplexing, so no
On Wed, 1 Dec 2010, Joost van der Sluis wrote:
On Wed, 2010-12-01 at 16:01 +0100, michael.vancann...@wisa.be wrote:
On Wed, 1 Dec 2010, Joost van der Sluis wrote:
Is there somewhere I can hook into the TSQLQuery to (a) see exactly what
query was passed to the server (b) collect any error
On Wed, Dec 1, 2010 at 1:05 PM, wrote:
>
> [snip]
>
> It never could. There is 1 connection, and all requests go through this
> connection.
>
> A week (or maybe 2) ago, I sent you a private mail about using select()
> on the connection handle. This or the use of threads could be used
> to handle
Joost van der Sluis wrote:
I am a firm proponent of putting a unified mechanism for a) and c) in
TSQLQuery/TSQLConnection, and have, in fact, a patch ready for this
(it implements a simple event mechanism for the log).
That's a no-brainer. It could als use TCustomApplication.Log, if
Customapp
On Wed, 1 Dec 2010, Joost van der Sluis wrote:
On Wed, 2010-12-01 at 15:51 +0100, michael.vancann...@wisa.be wrote:
On Wed, 1 Dec 2010, Joost van der Sluis wrote:
The can do the same thing:
By default, a fastcgi process is started by the webserver, passing it the
socket on which it should
zeljko wrote:
Well, these are tne ansi/sql transacion isolation levels. do you know a
database which actually uses/supports these? (Except from Oracle)
Yes, PostgreSQL supports all of them.
With the same names? I know from some other db-servers, that they use
Yes.
http://www.postgresql.org/d
michael.vancann...@wisa.be wrote:
On Wed, 1 Dec 2010, Joost van der Sluis wrote:
Is there somewhere I can hook into the TSQLQuery to (a) see exactly what
query was passed to the server (b) collect any error text and (c) get
execution timing?
a) Easiest is to use the database-client's log me
On Wed, 2010-12-01 at 16:01 +0100, michael.vancann...@wisa.be wrote:
>
> On Wed, 1 Dec 2010, Joost van der Sluis wrote:
>
> >
> >> Is there somewhere I can hook into the TSQLQuery to (a) see exactly what
> >> query was passed to the server (b) collect any error text and (c) get
> >> execution tim
On 12/01/2010 03:52 PM, michael.vancann...@wisa.be wrote:
But FastCGI is better, since it runs irrespective of the webserver.
And given that IIS is losing market share, I would never code exclusively
for IIS.
+1, but we did hear bad rumors about FCGI, so we used ISAPI :(.
-Michael
--
On Wed, 2010-12-01 at 15:51 +0100, michael.vancann...@wisa.be wrote:
>
> On Wed, 1 Dec 2010, Joost van der Sluis wrote:
>
> >>
> >> The can do the same thing:
> >> By default, a fastcgi process is started by the webserver, passing it the
> >> socket on which it should listen.
> >
> > Most imporan
On Wed, 1 Dec 2010, Joost van der Sluis wrote:
Is there somewhere I can hook into the TSQLQuery to (a) see exactly what
query was passed to the server (b) collect any error text and (c) get
execution timing?
a) Easiest is to use the database-client's log mechanism. (If there is
any). Else
On Wed, 1 Dec 2010 10:12:00 +0100, Mattias Gaertner
wrote:
>> >> I entered the following as the FPC compiler path:
>> >>
>> >> $Env(FPCBASE)\2.4.2\bin\i386-Win32\fpc.exe
>> >
>> >Should work now.
>>
>> "Now" meaning what? Do I need to grab a newer version of lazarus and
>> rebuild it?
>
>Yes. P
On Wed, 1 Dec 2010, Michael Schnell wrote:
On 12/01/2010 02:16 PM, Joost van der Sluis wrote:
My FastCGI process is running as a windows service.
What is exactly the reason for this? Isn't it much easier when the
webserver starts (and stops, when it is not used) the cgi-application,
than doi
On Wed, 1 Dec 2010, Joost van der Sluis wrote:
The can do the same thing:
By default, a fastcgi process is started by the webserver, passing it the
socket on which it should listen.
Most imporant difference is that mod_fastcgi is deprecated and doesn't
follow the FastCGI standard.
In what
On Wed, 2010-12-01 at 14:43 +0100, Michael Schnell wrote:
> On 12/01/2010 02:16 PM, Joost van der Sluis wrote:
> >> My FastCGI process is running as a windows service.
> > What is exactly the reason for this? Isn't it much easier when the
> > webserver starts (and stops, when it is not used) the cg
Joost van der Sluis wrote:
Is there somewhere I can hook into the TSQLQuery to (a) see exactly what
query was passed to the server (b) collect any error text and (c) get
execution timing?
a) Easiest is to use the database-client's log mechanism. (If there is
any). Else you can change the TPQC
On 12/01/2010 02:16 PM, Joost van der Sluis wrote:
My FastCGI process is running as a windows service.
What is exactly the reason for this? Isn't it much easier when the
webserver starts (and stops, when it is not used) the cgi-application,
than doing this in a Windows service?
As creating proce
On Wednesday 01 December 2010 14:23, Joost van der Sluis wrote:
> On Wed, 2010-12-01 at 14:17 +0100, zeljko wrote:
> > On Wednesday 01 December 2010 13:48, Joost van der Sluis wrote:
> > > On Tue, 2010-11-30 at 13:14 +0100, zeljko wrote:
> > > > > I think we should not change a thing, until the pro
On Wed, 2010-12-01 at 14:17 +0100, zeljko wrote:
> On Wednesday 01 December 2010 13:48, Joost van der Sluis wrote:
> > On Tue, 2010-11-30 at 13:14 +0100, zeljko wrote:
> > > > I think we should not change a thing, until the problem is clear. Maybe
> > > > we can come up with some 'general' transact
On Wednesday 01 December 2010 13:48, Joost van der Sluis wrote:
> On Tue, 2010-11-30 at 13:14 +0100, zeljko wrote:
> > > I think we should not change a thing, until the problem is clear. Maybe
> > > we can come up with some 'general' transaction-isolation levels. The
> > > reason they are not imple
On Tue, 2010-11-30 at 14:52 +0100, michael.vancann...@wisa.be wrote:
>
> On Tue, 30 Nov 2010, Marcos Douglas wrote:
>
> > On Tue, Nov 30, 2010 at 10:23 AM, wrote:
> >>
> >>
> >> On Tue, 30 Nov 2010, Marcos Douglas wrote:
> >>
> >>> On Wed, Nov 24, 2010 at 4:43 PM, Michael Van Canneyt
> >>> wro
On Tue, 2010-11-30 at 12:15 +, Mark Morgan Lloyd wrote:
> Joost van der Sluis wrote:
>
> >> If I could ask: where can I find a description of how TSQLQuery etc.
> >> should be used for non-trivial applications? For example, if I want to
> >> set up an explicit transaction, insert a few hundr
On Tue, 2010-11-30 at 13:14 +0100, zeljko wrote:
> >
> > I think we should not change a thing, until the problem is clear. Maybe
> > we can come up with some 'general' transaction-isolation levels. The
> > reason they are not implemented in a general way is that each DB has
> > it's own locking-sty
On Wed, 1 Dec 2010, Michael Schnell wrote:
On 11/30/2010 02:52 PM, michael.vancann...@wisa.be wrote:
FastCgiExternalServer D:/counte/verbruik/server -host 127.0.0.1:2015
-idle-timeout 30 -flush
AFAIK, fastCGI can use as well a TCP/IP socket as a pipe to do the
communication between the W
2010/12/1 Michael Schnell :
> a Browser, ...). As we are in a Pascal oriented list, here, only CIL-Pascal
> is relevant.
Actually this is a Lazarus list, so until FPC support CIL-pascal,
CIL-pascal is irrelevant here.
Vincent
--
___
Lazarus mailing lis
On 12/01/2010 11:25 AM, waldo kitty wrote:
i'm not saying that... i'm saying that if i had to code in .net, that
i would quite coding... is that not what the first quote says?
There are things that can't be done by most traditional programming
frameworks but can be done by using either Java
On 11/30/2010 02:52 PM, michael.vancann...@wisa.be wrote:
FastCgiExternalServer D:/counte/verbruik/server -host 127.0.0.1:2015
-idle-timeout 30 -flush
AFAIK, fastCGI can use as well a TCP/IP socket as a pipe to do the
communication between the WebServer and the CGI program (not really a
big
On 12/1/2010 04:43, Michael Schnell wrote:
On 12/01/2010 12:58 AM, waldo kitty wrote:
No chance, I'd rather stop programming then using .net
+1000~
Why exactly would you prefer Java over CIL Pascal ?
i'm not saying that... i'm saying that if i had to code in .net, that i
On 12/01/2010 12:58 AM, waldo kitty wrote:
No chance, I'd rather stop programming then using .net
+1000~
Why exactly would you prefer Java over CIL Pascal ?
(This of course should rather be handled in the "other" list...)
-Michael
--
_
On Wed, 01 Dec 2010 09:23:23 +0100
Bo Berglund wrote:
> On Tue, 30 Nov 2010 18:35:48 +0100, Mattias Gaertner
> wrote:
>
> >On Tue, 30 Nov 2010 17:48:47 +0100
> >Bo Berglund wrote:
> >
> >> I would like to specify things like the base location of files using
> >> environment variables rather th
On Wed, 01 Dec 2010 09:25:06 +0100
Alberto Manganaro wrote:
> Well, but I don't want to install a new version fo the package, I just
> want to modify something in the original code, recompile it and use the
> unit in Lazarus.
>
> I tried again but I can't figure it out, so my question is: wher
Am 01.12.2010 09:23, schrieb Bo Berglund:
On Tue, 30 Nov 2010 18:35:48 +0100, Mattias Gaertner
wrote:
On Tue, 30 Nov 2010 17:48:47 +0100
Bo Berglund wrote:
I would like to specify things like the base location of files using
environment variables rather than entering full paths.
In Delphi
Well, but I don't want to install a new version fo the package, I just
want to modify something in the original code, recompile it and use the
unit in Lazarus.
I tried again but I can't figure it out, so my question is: where does
Lazarus take the compiled FPC libraries to be linked with my pr
On Tue, 30 Nov 2010 18:35:48 +0100, Mattias Gaertner
wrote:
>On Tue, 30 Nov 2010 17:48:47 +0100
>Bo Berglund wrote:
>
>> I would like to specify things like the base location of files using
>> environment variables rather than entering full paths.
>>
>> In Delphi this can be done by using the $
2010/12/1 Darius Blaszyk :
> Ahhh, found it. By setting the window option from "Default" to "Restore
> window geometry" everything works fine now. I'm surprised though it used
> to work by restoring the geometry. What does "default" mean?
I think default means the designed position of those IDE fo
On Wed, 01 Dec 2010 00:15:59 +0100, Darius Blaszyk
wrote:
>On Wed, 2010-12-01 at 00:05 +0100, Darius Blaszyk wrote:
>> > DB> Since some time the UI position and size of the forms of Lazarus are
>> > not
>> > DB> preserved anymore. If I for instance organize them in a certain way and
>> > DB> the
44 matches
Mail list logo