I have a client with a clipper program. My plan is to use harbour to convert the clipper program to a linux based application that uses Postgres instead of xBase. So I need to steps, step one will be a batch run to copy data into Postgres database and step 2 is to convert the application with the least amount of effort to use Postgres. Is it possible to to change the global database connection to Postgres without having to modify each individual clipper screen? If that is possible, then I can over time merge functional it into my erp system which is developed in Java. Also, are there some code examples I can look at to achieve this?
--
--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.
Unsubscribe: harbour-users+unsubscribe@googlegroups.com
Web: http://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Dear John,
Based from experience in the past, i noticed that there are 3 other important elements to take into account.
Postgress is a SQL database. Consequently it is resultset driven.
a) Performance can only be reached when using it with SQL statements allowing for creating the smallest possible resultset to return to your application.
If your are using the tables from postgress as index sequential accessed tables, performance will be sloppy
b) with DBF files you can do incremental searches on the DBF file without having severe performance impacts.
Incremental searches can bring a SQL server down if datasets are becoming big.
c) It is very difficult to apply pessimistic locking on a SQL
database. It is better to apply optimistic locking.
Kind regards
Tore
Unsubscribe: harbour-user...@googlegroups.com
Web: http://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.