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

From Leo Shuster
Subject Re[2]: [HACKERS] Re: [QUESTIONS] libpq++
Date
Msg-id ec602b6ac4894041cab91122d49c48dc
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: Bruce Momjian
Date:
Subject: [HACKERS] [BUGS] DateStyle (fwd)
Next
From: John Robinson
Date:
Subject: [HACKERS] Case sensitivity in identifiers