Search found 193 matches

by btrewern
01.08.2006, 15:27
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Memory usage with Blobs
Replies: 0
Views: 437

Memory usage with Blobs

Using Zeos 6.5.1 Delphi 7.1 and PostgreSQL 8.1.4 I've been looking at saving files into Bytea fields on PostgreSQL and have found a few problems. It seems that currently there is no way of extracting files from the database without first loading them into a dataset and thereby into memory. Does anyo...
by btrewern
31.07.2006, 13:41
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: muti update table
Replies: 4
Views: 899

Look at the help entries for the BDE TUpdateSQL component. The TZUpdateSQL works in a similar manner.

If you tell us what error you are getting, maybe someone could help you.

Regards,

Ben
by btrewern
31.07.2006, 13:35
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Using Zeos in Multi-threaded app
Replies: 3
Views: 896

I use PostgreSQL and haven't looked at connection pooling yet. The server seems to be coping quite well. If you need to look at pooling then there are some delphi components at http://www.arcanatech.com which I'm going to look at in the near future.

Regards,

Ben
by btrewern
30.07.2006, 12:27
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Using Zeos in Multi-threaded app
Replies: 3
Views: 896

I've used zeos in an intraweb application using multiple threads. Currently I create one connection per thread and everything works ok. I don't think you can use one connection for multiple threads without using critical sections. BTW Previously I've had problems using the TSQLMonitor. Have given up...
by btrewern
30.06.2006, 09:30
Forum: Feature Requests
Topic: triggers
Replies: 8
Views: 2952

Well, PostgreSQL has notifications which sound similar, but ZeosLib doesn't support them. It may be possible to use low level calls against libpq to get this working but don't know how. Sorry to not be of more help.

Ben
by btrewern
20.06.2006, 11:38
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Delphi 6 p.e. or Lazarus
Replies: 1
Views: 601

I don't think the Personal Edition of Delphi 6 comes with dataset support so I think you'll have to try using Lazarus.

Regards,

Ben
by btrewern
04.05.2006, 09:00
Forum: Feature Requests
Topic: triggers
Replies: 8
Views: 2952

Give us an example of what you are trying to do and we should be able to help.

Regards,

Ben
by btrewern
03.05.2006, 14:26
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Error when installing svn ver. (svn://firmos.at/zeos/trunk)
Replies: 11
Views: 2879

Sorry, didn't read all the question!

If you look http://seegernet.koolhost.de/zeosforum/ ... 6&start=15 you should see a proposal on how to add the suffixes as above.

Regards,

Ben
by btrewern
02.05.2006, 18:10
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Error when installing svn ver. (svn://firmos.at/zeos/trunk)
Replies: 11
Views: 2879

There was mention of doing this some time ago. It may be in the svn version.

Regards,

Ben.
by btrewern
02.05.2006, 18:01
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Master/Detail Relationship
Replies: 3
Views: 1909

I always use the Datasource property to do Master-Detail queries. Like the following: Query1.SQL.Text := 'SELECT * FROM Orders;'; DataSource1.Dataset := Query1; Query2.SQL.Text := 'SELECT * FROM OrderDetails WHERE OrderID = :OrderID'; Query2.DataSource := DataSource1; or something like that. Hope th...
by btrewern
02.05.2006, 17:35
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Howto Select Schema in PostgresSql
Replies: 1
Views: 637

Run something like:

Code: Select all

SET search_path = test;
via a ZQuery and then for that connection you will be able to use

Code: Select all

SELECT * from tablename;
instead of

Code: Select all

SELECT * from test.tablename;
Regards,

Ben
by btrewern
28.04.2006, 10:55
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Install problem under Delphi 5
Replies: 6
Views: 3609

It looks like Delphi 5 has doesn't support Int64 in variants. I think a work round would be to use something like:

Code: Select all

FieldByName(FSequenceField).AsString := IntToStr(FSequence.GetNextValue);
Regards,

Ben
by btrewern
28.04.2006, 09:44
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Filter and Filtered propertyes
Replies: 3
Views: 947

Use * instead of %.

Regards,

Ben
by btrewern
18.04.2006, 14:55
Forum: MySQL
Topic: lock a table
Replies: 2
Views: 1252

You could use transactions to do something similar. What database are you using and what exactly are you trying to do?

Regards,

Ben
by btrewern
18.04.2006, 08:42
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Unsupported operation
Replies: 2
Views: 1060

Find where ftInteger is declared and include that unit.

Regards,

Ben