Re[2]: [HACKERS] Re: [QUESTIONS] libpq++ - Mailing list pgsql-hackers

From Leo Shuster
Subject Re[2]: [HACKERS] Re: [QUESTIONS] libpq++
Date
Msg-id 9b73e596b744e53bd56c5bd6734fc297
Whole thread Raw
List pgsql-hackers
>But it needs some g++ comand-line options hack (at least for FreeBSD),
>and it is not described anywhere.
    Hmmm... I wasn't aware of that.  g++ under Linux includes
    compiles the string class without any hacks.

>Moreover, it is not obvious how to use
>e.g. PgEnv, which uses "string".
    There are examples in every one of the example programs
    of how PgEnv is used.  In most of my programs, I do not
    even use PgEnv class since PgDatabase takes care of
    all the environment setup for me.

>But it needs documentation or, at least, examples.
    Agreed.  Examples are there but the documentation is not.
    I had volunteered to update the docs a long time ago but
    had not received any information on how to do it.

>And there are some difficulties in using gdb with C++ templates.
    True, but it's not impossible.  gdb seems to work pretty
    well in my projects under Linux.

Leo

------------------------------

pgsql-hackers by date:

Previous
From: "Sergey S. Kosyakov"
Date:
Subject: RE: Re[2]: [HACKERS] Re: [QUESTIONS] libpq++
Next
From: Frank Dana
Date:
Subject: Re: [HACKERS] Problem with copying abstimes