Re: [HACKERS] pgsql in shared lib

2003-09-08 Thread Czuczy Gergely
hello there is an alternate sql server, designed almost for your needs, it's name is SQLite. it's a very simple one, but you can statically compile it into your programs. search sf or freshmeat for it(or google, ofcourse) Bye, Gergely Czuczy mailto: [EMAIL PROTECTED] PGP: http://phoemix.harmless

[HACKERS] Logging improvements and rehashing

2003-09-05 Thread Czuczy Gergely
Hello It would be very nice to create a way to log only bad queries, which's resulted in an error. This way a higher loglevel wouldn't be necessary. one other thing, by sending a SIGHUP to the postmaster it reinits it's config files. Now i've made some store functions in C, and it would be very n

Re: [HACKERS] Seqscan in MAX(index_column)

2003-09-04 Thread Czuczy Gergely
Hello In my opinion, in 7.4 this optimized max() aggregate function would be a very small, but significant improvement. As one of the members on the list said, it would be a lot easier to port from/to other RDBMSes, with keeping the same optimalization of the queries. Bye, Gergely Czuczy mailto

Re: [HACKERS] ~* operator

2003-09-02 Thread Czuczy Gergely
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hello take a look at the HTML docs(found in postgres.tar.gz, in the source tarball), and see functions-matching.html Bye, Gergely Czuczy mailto: [EMAIL PROTECTED] PGP pubkey: http://phoemix.harmless.hu/phoemix.pgp iRCNet: #demoscene ICQ: 8067175

Re: [HACKERS] C++ and libpq

2003-09-02 Thread Czuczy Gergely
e: > 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 nev

[HACKERS] C++ and a stored procudre

2003-09-02 Thread Czuczy Gergely
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hello once again :) the code is this: text *src; void *tmp; src = (text*)tmp; and the error message: error: parse error before `)' token (at (text*_)_) originally i've tried to use the macro PG_GETARG_TEXT_P(0), but when i've got this message,

[HACKERS] C++ and libpq

2003-09-02 Thread 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 ma

Re: [HACKERS] C++ and using C functions

2003-09-02 Thread Czuczy Gergely
ssarily 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, Shridhar Daithankar wrote: > On 2 Sep 2003 at 15:50, Czuczy Gergely wrote: > > > -BEGIN PGP SIGNED MESSAGE- > > i'm

[HACKERS] C++ and using C functions

2003-09-02 Thread Czuczy Gergely
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hello i've tried to write a stored function in C++, using the libpq library, but the g++(3.3.1) was unable to pass through the headers. there are a lot's of reserved words used in structs as member names, such as delete,using, namespace, and so on. i