Обсуждение: C++ and libpq

Поиск
Список
Период
Сортировка

C++ and libpq

От
Czuczy Gergely
Дата:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hello

thanks to Andreas Pflug's hint, it's now working, thank you.

libpq++ is not gone, i just don't like it. I've written an other C++ API
for databse systems, name SDBI, but i cannot use it for a stored procedure
:)

thanks

Bye,

Gergely Czuczy
mailto: phoemix@harmless.hu
PGP pubkey: http://phoemix.harmless.hu/phoemix.pgp
iRCNet: #demoscene   ICQ: 8067175

The point is, that geeks are not necessarily the outcasts
society often believes they are. The fact is that society
isn't cool enough to be included in our activities.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/VKSbbBsEN0U7BV0RAkuqAKDOTpPTdHaAXT3jvfozO4NRIpVjfQCgz0Fo
OPmxRgxnkh9+vf2+WaWBlvE=
=S9aK
-----END PGP SIGNATURE-----




Re: C++ and libpq

От
"Jeroen T. Vermeulen"
Дата:
On Tue, Sep 02, 2003 at 04:09:26PM +0200, Czuczy Gergely wrote:
> 
> libpq++ is not gone, i just don't like it. I've written an other C++ API
> for databse systems, name SDBI, but i cannot use it for a stored procedure
> :)

I've never looked at writing native stored procedures, but do you think
this is something libpqxx could help with?

If so, let me know what would be necessary or helpful to add to the
library.


Jeroen

PS Find libpqxx at http://pqxx.tk/



Re: C++ and libpq

От
Czuczy Gergely
Дата:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hello

i only have to fetch the procedure's arguments and return the proper
value. this is the only part where i basically use the pgsql's functions,
the function's task is only some calculations, and to speed up things. in
C its _much_ faster than in plpgsql/plperl/php (not plphp, i'm replacing
one of my php-function, to make the same effect when running the queries,
in database-level).

so, i don't think there's anything has to be done with libpqxx, but thanks

Bye,

Gergely Czuczy
mailto: phoemix@harmless.hu
PGP pubkey: http://phoemix.harmless.hu/phoemix.pgp
iRCNet: #demoscene   ICQ: 8067175

The point is, that geeks are not necessarily the outcasts
society often believes they are. The fact is that society
isn't cool enough to be included in our activities.

On Tue, 2 Sep 2003, Jeroen T. Vermeulen wrote:

> On Tue, Sep 02, 2003 at 04:09:26PM +0200, Czuczy Gergely wrote:
> >
> > libpq++ is not gone, i just don't like it. I've written an other C++ API
> > for databse systems, name SDBI, but i cannot use it for a stored procedure
> > :)
>
> I've never looked at writing native stored procedures, but do you think
> this is something libpqxx could help with?
>
> If so, let me know what would be necessary or helpful to add to the
> library.
>
>
> Jeroen
>
> PS Find libpqxx at http://pqxx.tk/
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/VLWBbBsEN0U7BV0RApXKAJ9GDbTTZ3/REIXAIuAbFaWtxh4S3wCfdh0r
ynt9ZyYr99R/iEMm8jr4Dig=
=WwBi
-----END PGP SIGNATURE-----