pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Can PostgreSQL be used in a C++ application
6+ messages / 6 participants
[nested] [flat]

* Can PostgreSQL be used in a C++ application
@ 1999-09-09 09:23 Wenhao Meng <wenhao_meng@hotmail.com>
  1999-09-09 13:56 ` Re: [INTERFACES] Can PostgreSQL be used in a C++ application The Hermit Hacker <scrappy@hub.org>
  1999-09-09 14:01 ` Re: [INTERFACES] Can PostgreSQL be used in a C++ application Rich Shepard <rshepard@appl-ecosys.com>
  1999-09-09 14:12 ` Re: [INTERFACES] Can PostgreSQL be used in a C++ application Brett W. McCoy <bmccoy@lan2wan.com>
  1999-09-09 18:07 ` Re: [INTERFACES] Can PostgreSQL be used in a C++ application Michael Meskes <meskes@postgresql.org>
  1999-09-13 13:15 ` Re: [INTERFACES] Can PostgreSQL be used in a C++ application Roberto Joao Lopes Garcia <roberto@mha.com.br>
  0 siblings, 5 replies; 6+ messages in thread

From: Wenhao Meng @ 1999-09-09 09:23 UTC (permalink / raw)
  To: pgsql-interfaces

Hello:

I am developing an application using VDK which is C++ wraper over gtk+. Can 
someone tell me if I can use PostgreSQL in this application. Is there 
PostgreSQL++ for C++?

Regards,
Wenhao

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: [INTERFACES] Can PostgreSQL be used in a C++ application
  1999-09-09 09:23 Can PostgreSQL be used in a C++ application Wenhao Meng <wenhao_meng@hotmail.com>
@ 1999-09-09 13:56 ` The Hermit Hacker <scrappy@hub.org>
  4 siblings, 0 replies; 6+ messages in thread

From: The Hermit Hacker @ 1999-09-09 13:56 UTC (permalink / raw)
  To: Wenhao Meng <wenhao_meng@hotmail.com>; +Cc: pgsql-interfaces


thre is a libpq++ that is installed by default as long as -disable-CXX
wasn't used to configure ...


On Thu, 9 Sep 1999, Wenhao Meng wrote:

> Hello:
> 
> I am developing an application using VDK which is C++ wraper over gtk+. Can 
> someone tell me if I can use PostgreSQL in this application. Is there 
> PostgreSQL++ for C++?
> 
> Regards,
> Wenhao
> 
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
> 
> ************
> 

Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
Systems Administrator @ hub.org 
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org 




^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: [INTERFACES] Can PostgreSQL be used in a C++ application
  1999-09-09 09:23 Can PostgreSQL be used in a C++ application Wenhao Meng <wenhao_meng@hotmail.com>
@ 1999-09-09 14:01 ` Rich Shepard <rshepard@appl-ecosys.com>
  4 siblings, 0 replies; 6+ messages in thread

From: Rich Shepard @ 1999-09-09 14:01 UTC (permalink / raw)
  To: Wenhao Meng <wenhao_meng@hotmail.com>; +Cc: pgsql-interfaces

On Thu, 9 Sep 1999, Wenhao Meng wrote:

> I am developing an application using VDK which is C++ wraper over gtk+. Can 
> someone tell me if I can use PostgreSQL in this application. Is there 
> PostgreSQL++ for C++?

Wenhao,

  The short answer to your question is "yes and no." The slighly longer
answer is learning how a database application goes together.

  There are three major components to a database application. From the top
down they are:

  1.) The user interface (UI). In your case, you are using gtk+.

  2.) The middleware. This is the glue which connects the UI to the database
engine. In your case it's C++.

  3.) The database engine. This is where postgres resides. It is the back
end of your application and works with almost any front end and middleware.

  Plan your application so that each component is handled separately. You
can develop the postgres back end and the UI front end completely
independently of each other. Your middleware (C++ for you, C for me) is the
glue which connects the two.

HTH,

Rich

Dr. Richard B. Shepard, President

                       Applied Ecosystem Services, Inc. (TM)
              Making environmentally-responsible mining happen. (SM)         
                       --------------------------------
            2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
 + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard@appl-ecosys.com




^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: [INTERFACES] Can PostgreSQL be used in a C++ application
  1999-09-09 09:23 Can PostgreSQL be used in a C++ application Wenhao Meng <wenhao_meng@hotmail.com>
@ 1999-09-09 14:12 ` Brett W. McCoy <bmccoy@lan2wan.com>
  4 siblings, 0 replies; 6+ messages in thread

From: Brett W. McCoy @ 1999-09-09 14:12 UTC (permalink / raw)
  To: Wenhao Meng <wenhao_meng@hotmail.com>; +Cc: pgsql-interfaces

On Thu, 9 Sep 1999, Wenhao Meng wrote:

> I am developing an application using VDK which is C++ wraper over gtk+. Can 
> someone tell me if I can use PostgreSQL in this application. Is there 
> PostgreSQL++ for C++?

Yes, it's called libpq++.  Take a look at the Programmer's Manual in 
Chapter 17.

Brett W. McCoy           
                                         http://www.lan2wan.com/~bmccoy
-----------------------------------------------------------------------
"Our vision is to speed up time, eventually eliminating it."
		-- Alex Schure




^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: [INTERFACES] Can PostgreSQL be used in a C++ application
  1999-09-09 09:23 Can PostgreSQL be used in a C++ application Wenhao Meng <wenhao_meng@hotmail.com>
@ 1999-09-09 18:07 ` Michael Meskes <meskes@postgresql.org>
  4 siblings, 0 replies; 6+ messages in thread

From: Michael Meskes @ 1999-09-09 18:07 UTC (permalink / raw)
  To: Wenhao Meng <wenhao_meng@hotmail.com>; +Cc: pgsql-interfaces

On Thu, Sep 09, 1999 at 09:23:09AM -0400, Wenhao Meng wrote:
> I am developing an application using VDK which is C++ wraper over gtk+. Can 
> someone tell me if I can use PostgreSQL in this application. Is there 
> PostgreSQL++ for C++?

I wonder how or if ecpg is suitable for C++ code.

Michael
-- 
Michael Meskes                         | Go SF 49ers!
Th.-Heuss-Str. 61, D-41812 Erkelenz    | Go Rhein Fire!
Tel.: (+49) 2431/72651                 | Use Debian GNU/Linux!
Email: Michael@Fam-Meskes.De           | Use PostgreSQL!



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: [INTERFACES] Can PostgreSQL be used in a C++ application
  1999-09-09 09:23 Can PostgreSQL be used in a C++ application Wenhao Meng <wenhao_meng@hotmail.com>
@ 1999-09-13 13:15 ` Roberto Joao Lopes Garcia <roberto@mha.com.br>
  4 siblings, 0 replies; 6+ messages in thread

From: Roberto Joao Lopes Garcia @ 1999-09-13 13:15 UTC (permalink / raw)
  To: Rich Shepard <rshepard@appl-ecosys.com>; +Cc: pgsql-interfaces

At 07:01 09/09/99 -0700, you wrote:

I do not have experience in C++ but I feel very confortble with C. I´m
using Libpq to make WWW applications but now I have to write an application
for Windows!!

Most user interfaces are in C++ (MFC and Qt), so can I mix C++ (MFC or Qt)
with C functions (maybe Libpq and my own functions)??? Could you give-me
samples???

Thank you???

>Wenhao,
>
>  The short answer to your question is "yes and no." The slighly longer
>answer is learning how a database application goes together.
>
>  There are three major components to a database application. From the top
>down they are:
>
>  1.) The user interface (UI). In your case, you are using gtk+.
>
>  2.) The middleware. This is the glue which connects the UI to the database
>engine. In your case it's C++.
>
>  3.) The database engine. This is where postgres resides. It is the back
>end of your application and works with almost any front end and middleware.
>
>  Plan your application so that each component is handled separately. You
>can develop the postgres back end and the UI front end completely
>independently of each other. Your middleware (C++ for you, C for me) is the
>glue which connects the two.
>
>HTH,
>
>Rich
>
>Dr. Richard B. Shepard, President
>
>                       Applied Ecosystem Services, Inc. (TM)
>              Making environmentally-responsible mining happen. (SM)         
>                       --------------------------------
>            2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
> + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard@appl-ecosys.com
>
>
>************
>
>
>




^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~1999-09-13 13:15 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1999-09-09 09:23 Can PostgreSQL be used in a C++ application Wenhao Meng <wenhao_meng@hotmail.com>
1999-09-09 13:56 ` The Hermit Hacker <scrappy@hub.org>
1999-09-09 14:01 ` Rich Shepard <rshepard@appl-ecosys.com>
1999-09-09 14:12 ` Brett W. McCoy <bmccoy@lan2wan.com>
1999-09-09 18:07 ` Michael Meskes <meskes@postgresql.org>
1999-09-13 13:15 ` Roberto Joao Lopes Garcia <roberto@mha.com.br>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox