• PostgreSQL Interface in DB package

    From DirtyBoy@21:1/5 to All on Thu Oct 29 15:06:02 2015
    I do realise this group is largely stale and unused, but I don't seem to
    have much choice. I'm trying to use the "PostgreSQL" interface for the
    DB module (i.e. DB.FindInterface("PostgreSQL")) but keep getting the
    error "Interface 'PostgreSQLDB' not found."

    I have PostgreSQL installed, I have libpq installed (and the system is
    able to link to it), but it seems only the "stub" is being used, and not
    the actual PostgreSQLDB.m3 file (at least, that's my assuption). The
    source file for the stub mentions cm3.cfg and the m3makefile, but gives
    no indication of what should actually be done to have the correct
    compilation complete.

    I'd really rather not be forced to use the "postgres95" library, as it
    seems very "raw", and requires a lot of switching in and out of C values
    (which kind of defeats the point of using a higher-level language, IMO).

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DirtyBoy@21:1/5 to DirtyBoy on Thu Oct 29 15:07:58 2015
    I suppose I should give SOME details of the environment:
    Critical Mass Modula-3 version d5.10.0
    last updated: 2015-05-21
    compiled: 2015-10-29 03:12:35
    configuration: /usr/local/cm3/bin/cm3.cfg
    host: AMD64_LINUX
    target: AMD64_LINUX


    On 2015-10-29 03:06 PM, DirtyBoy wrote:
    I do realise this group is largely stale and unused, but I don't seem to
    have much choice. I'm trying to use the "PostgreSQL" interface for the
    DB module (i.e. DB.FindInterface("PostgreSQL")) but keep getting the
    error "Interface 'PostgreSQLDB' not found."

    I have PostgreSQL installed, I have libpq installed (and the system is
    able to link to it), but it seems only the "stub" is being used, and not
    the actual PostgreSQLDB.m3 file (at least, that's my assuption). The
    source file for the stub mentions cm3.cfg and the m3makefile, but gives
    no indication of what should actually be done to have the correct
    compilation complete.

    I'd really rather not be forced to use the "postgres95" library, as it
    seems very "raw", and requires a lot of switching in and out of C values (which kind of defeats the point of using a higher-level language, IMO).

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Daniel Benavides@21:1/5 to DirtyBoy on Fri Oct 30 07:56:07 2015
    On Thursday, October 29, 2015 at 5:06:06 PM UTC-5, DirtyBoy wrote:
    I do realise this group is largely stale and unused, but I don't seem to
    have much choice. I'm trying to use the "PostgreSQL" interface for the
    DB module (i.e. DB.FindInterface("PostgreSQL")) but keep getting the
    error "Interface 'PostgreSQLDB' not found."

    I have PostgreSQL installed, I have libpq installed (and the system is
    able to link to it), but it seems only the "stub" is being used, and not
    the actual PostgreSQLDB.m3 file (at least, that's my assuption). The
    source file for the stub mentions cm3.cfg and the m3makefile, but gives
    no indication of what should actually be done to have the correct
    compilation complete.

    I'd really rather not be forced to use the "postgres95" library, as it
    seems very "raw", and requires a lot of switching in and out of C values (which kind of defeats the point of using a higher-level language, IMO).

    I have an newer than 95 wrapper by Daniel Solaz but last time I tried didn't work for me, I'll mail iope itt you attached.

    Hope it helps

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Daniel Benavides@21:1/5 to DirtyBoy on Tue Nov 3 07:52:45 2015
    On Thursday, October 29, 2015 at 5:06:06 PM UTC-5, DirtyBoy wrote:
    I do realise this group is largely stale and unused, but I don't seem to have much choice. I'm trying to use the "PostgreSQL" interface for the
    DB module (i.e. DB.FindInterface("PostgreSQL")) but keep getting the
    error "Interface 'PostgreSQLDB' not found."

    I have PostgreSQL installed, I have libpq installed (and the system is
    able to link to it), but it seems only the "stub" is being used, and not
    the actual PostgreSQLDB.m3 file (at least, that's my assuption). The
    source file for the stub mentions cm3.cfg and the m3makefile, but gives
    no indication of what should actually be done to have the correct compilation complete.

    I'd really rather not be forced to use the "postgres95" library, as it
    seems very "raw", and requires a lot of switching in and out of C values (which kind of defeats the point of using a higher-level language, IMO).

    Hi, didnīt know it doesn't compile as I don't have an operative compiler right now.
    Wish it was of help bit more.
    Have good luck

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From DirtyBoy@21:1/5 to Daniel Benavides on Mon Nov 2 16:33:53 2015
    Thanks for sending that over, but as you warned, it didn't work for me
    either (doesn't even compile).

    Pity - I'm under time pressure, so I, unfortunately, have to drop
    Modula-3 for this project.


    On 2015-10-30 07:56 AM, Daniel Benavides wrote:
    On Thursday, October 29, 2015 at 5:06:06 PM UTC-5, DirtyBoy wrote:
    I do realise this group is largely stale and unused, but I don't seem to
    have much choice. I'm trying to use the "PostgreSQL" interface for the
    DB module (i.e. DB.FindInterface("PostgreSQL")) but keep getting the
    error "Interface 'PostgreSQLDB' not found."

    I have PostgreSQL installed, I have libpq installed (and the system is
    able to link to it), but it seems only the "stub" is being used, and not
    the actual PostgreSQLDB.m3 file (at least, that's my assuption). The
    source file for the stub mentions cm3.cfg and the m3makefile, but gives
    no indication of what should actually be done to have the correct
    compilation complete.

    I'd really rather not be forced to use the "postgres95" library, as it
    seems very "raw", and requires a lot of switching in and out of C values
    (which kind of defeats the point of using a higher-level language, IMO).

    I have an newer than 95 wrapper by Daniel Solaz but last time I tried didn't work for me, I'll mail iope itt you attached.

    Hope it helps


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)