Search found 15 matches

by vfclists
08.07.2016, 08:37
Forum: ZeosLib 7.2 Forum
Topic: How do I download the latest Zeos version?
Replies: 4
Views: 896

Re: How do I download the latest Zeos version?

Is the 7.2 in a stable or final state now, and which commit number?
by vfclists
07.07.2016, 23:30
Forum: ZeosLib 7.2 Forum
Topic: How do I download the latest Zeos version?
Replies: 4
Views: 896

How do I download the latest Zeos version?

When I visit sourceforge to look at the repo there seem to be a lot of branches.

Which one should I download to get the latest version, and which commit shoud I check out?

Is it testing-7.2 or 7.3?

I am assuming 7.2 as 7.3 looks very new.
by vfclists
03.07.2016, 16:17
Forum: ZeosLib 7.1 stable Forum
Topic: How can an in-memory SQLite database be saved to disk?
Replies: 1
Views: 1129

How can an in-memory SQLite database be saved to disk?

How can an in-memory SQLite database be saved to disk? Is there support for it in Zeoslib, or does it have to be coded separately? On checking StackOverflow I found this link http://www.sqlite.org/backup.html which uses the C-API. Does Zeoslib expose the necessary handles or variables which can allo...
by vfclists
01.04.2016, 00:08
Forum: ZeosLib 7.1 stable Forum
Topic: Is there a way to ensure that a Zeoslib sqlite database is opened read only?
Replies: 1
Views: 651

Is there a way to ensure that a Zeoslib sqlite database is opened read only?

What settings can I use to ensure that a Sqlite database opened in Zeoslib will not interfere with the ability of another process to read from it? I think that is something that should be set in the TZConnection properties. Is there some option or something in the parameters that will ensure that an...
by vfclists
24.02.2016, 07:38
Forum: ZeosLib 7.1 stable Forum
Topic: Does TZConnection respect the schema settings of PostgreSQL?
Replies: 8
Views: 2263

Does TZConnection respect the schema settings of PostgreSQL?

I am using the TZConnection from Zeoslib and although I set the schema in the connection, when I run a query it seems to revert to the PUBLIC schema. Unless I prefix tablenames with the schema name like select schemaname.tablename from schema the queries don't work Are schemas properly supported by ...
by vfclists
15.02.2012, 07:35
Forum: 6.6 - stable
Topic: Is there a way to set the timeout on a PostgreSQL query?
Replies: 1
Views: 473

Is there a way to set the timeout on a PostgreSQL query?

Is there a way to set the timeout on a PostgreSQL query?

Is there some Params or other means of telling a query or a connection how long to wait before a query reports a time out? If its not possible at the level of the query can it be set on the connection level?
by vfclists
14.10.2010, 15:44
Forum: 6.6 - stable
Topic: Serial/Autoincrement is jumping up by 2 every time on PgSQL
Replies: 3
Views: 658

I was able to work out why. It appears that zeoslib inspects the database and when it realizes that the column is a serial, it increments the nextval and copies it into the field. but because my update query did not insert the serial field, expecting it to be set by the server, serial got incremente...
by vfclists
13.10.2010, 15:38
Forum: 6.6 - stable
Topic: Serial/Autoincrement is jumping up by 2 every time on PgSQL
Replies: 3
Views: 658

Serial/Autoincrement is jumping up by 2 every time on PgSQL

I am using ZQuery with ZUpdateSQL components and I realize that the serial autoincrement value is jumping up by 2 everytime. I suspect it may be due to some interaction between the ZQuery and PostgrSQL database.

I suspect it is an issue that has come before.

Any pointers?

/vfclists
by vfclists
12.07.2010, 12:23
Forum: 6.6 - stable
Topic: How to test if a TConnection is active before reading data.
Replies: 1
Views: 456

How to test if a TConnection is active before reading data.

Is there a way of testing when a TZConnection is active when the network is down? The TZConnection.Connected property is true even when the network connection is down, and it doesn't seem to change when an attempt to connect to the database fails. Isn't there a way of monitoring the TZConnection rat...
by vfclists
01.06.2010, 10:10
Forum: SQLite
Topic: How to handle locked file errors?
Replies: 4
Views: 2323

How to handle locked file errors?

I have been getting errors trying to write to a SQLite database in quick succession. Reading the SQLite faq at http://www.sqlite.org/faq.html#q5 indicates that locking problems can be fixed by calls to sqlite3_busy_handler() and sqlite3_busy_timeout(). Is there support for this somewhere in the Zeos...
by vfclists
23.04.2010, 12:10
Forum: 6.6 - stable
Topic: Handling of SQLite booleans
Replies: 1
Views: 313

Handling of SQLite booleans

According to the sqlite docs sqlite3 treats booleans as integers 0 and 1, but zeoslib sends them as 'N' and 'Y'.

Is an update of the code for consistency called for in this respect?
by vfclists
20.01.2010, 05:05
Forum: 6.6 - stable
Topic: Libraries for lipq.dll and libpq81.dll cannot be found
Replies: 8
Views: 5430

Libraries for lipq.dll and libpq81.dll cannot be found

When I try to run a program developed with Lazarus on windows I get an error that libpq.dll and libpq81.dll cannot be found. I downloaded the latest postgresql 8.4 to ensure the libraries would be present but it didn't work. So I extracted one from an older pgAdmin 3 installer. That works inside the...
by vfclists
04.11.2007, 23:54
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Does ZeosDBO work with ClientDatasets
Replies: 16
Views: 4175

Does ZeosDBO work with ClientDatasets

Does ZeosDBO work with ClientDatasets? Does it have an IProvider interface?

I am not quite familiar with ClientDatasets, but can any Dataset component be used with a ClientDataset?
by vfclists
04.11.2007, 23:49
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Sequence causes posting error
Replies: 2
Views: 1056

I saw the ZSequence component on the component lists and it works quite well with PostgreSQL.

I have had no problems with it so far.
by vfclists
30.10.2007, 00:22
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Sequence causes posting error
Replies: 2
Views: 1056

Sequence causes posting error

When I attempt to add a new record to postgresql table in which the record id integer is generated by a sequence on the server, I get a value required error although the server will generate the value. Is there some way it can be disabled? TZQuery has a sequence property? Will setting it to the name...