Skip to content
This repository has been archived by the owner on Dec 25, 2019. It is now read-only.

hernad/harbour-core

 
 

Repository files navigation

CI / Binaries

Build status

bintray harbour repos

Harbour

Harbour is the open/free software implementation of a cross-platform, multi-threading, object-oriented, scriptable programming language, backwards compatible with xBase languages. Harbour consists of a compiler and runtime libraries with multiple UI, database and I/O backends, its own build system and a collection of libraries and bindings for popular APIs.

my fork (hernad)

sddpg patch which provides using one connection for SQLMIX and hbpgsql access to PostgreSQL database

PROCEDURE show_postgresql_version( hParams )

LOCAL oServer, pConn

oServer := TPQServer():New( hParams[ "host" ], hParams[ "database" ] , hParams[ "user" ] , hParams[ "password" ] )

pConn := oServer:pDB

rddSetDefault( "SQLMIX" )

IF rddInfo( 1001, { "POSTGRESQL", pConn } ) == 0 // reusing pConn
      ? "Could not connect to the server"
      RETURN
ENDIF

// xBase interface to postgresql database
dbUseArea( .T., , "SELECT version() AS ver", "INFO" )
OutStd( field->ver )

RETURN

fedora

dnf install postgresql-devel libX11-devel libstdc++-static
  dnf groupinstall "Development Tools" "Development Libraries"
  dnf install gcc-c++ # node native

About

hernad fork SQLMIX PostgreSQL

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 77.9%
  • xBase 19.4%
  • C++ 0.6%
  • Makefile 0.6%
  • Harbour 0.6%
  • Yacc 0.4%
  • Other 0.5%