Re: [HACKERS] ecpg leaves broken files around

2007-06-11 Thread Michael Meskes
line switch is needed. After all you could run ecpg with "-o -" and make it output to stdout. Michael -- Michael Meskes Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: [EMAIL PROTECTED] Go SF 49ers! Go Rhein Fi

Re: [HACKERS] ecpg compile error in regression tests

2007-06-12 Thread Michael Meskes
er versions around? Yes, you did a rebuild, but still. Michael -- Michael Meskes Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: [EMAIL PROTECTED] Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL! --

Re: [HACKERS] minor compiler warning on OpenBSD

2007-07-16 Thread Michael Meskes
se prototypes? Michael -- Michael Meskes Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: [EMAIL PROTECTED] Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL! ---(end

Re: [HACKERS] minor compiler warning on OpenBSD

2007-07-17 Thread Michael Meskes
ned but not used > preproc.y: At top level: > pgc.c:3818: warning: `yy_flex_realloc' defined but not used These don't appear with my flex version. Michael -- Michael Meskes Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) ICQ: 179140304, AIM/Yahoo: mi

Re: [HACKERS] minor compiler warning on OpenBSD

2007-07-17 Thread Michael Meskes
messages. Michael -- Michael Meskes Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: [EMAIL PROTECTED] Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL! ---(end of broadcast)---

[HACKERS] 8.3 freeze/release

2007-08-13 Thread Michael Meskes
are still coming in. But then I might have gotten a false impression. Anyway, if the release is still far enough away, I would like to commit my changes too. Comments? Michael -- Michael Meskes Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) ICQ: 179140304, AIM/

Re: [HACKERS] 8.3 freeze/release

2007-08-14 Thread Michael Meskes
t! There were some with platforms I didn't test on, but hopefully they are fixed now. There is one more problem with the threading tests that are run even if threading is not activated. Will look into this later. Michael -- Michael Meskes Email: Michael at Fam-Meskes dot De, Michael at Meskes

[HACKERS] build farm failures

2007-08-16 Thread Michael Meskes
-- Michael Meskes Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: [EMAIL PROTECTED] Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL! ---(end of broadcast

Re: [HACKERS] build farm failures

2007-08-16 Thread Michael Meskes
r)/parse.h: gram.y So except for the different naming it's the same. However, we haven't had that problem with the backend so far, or did we? What do I fail to see? Michael -- Michael Meskes Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) ICQ: 179140304,

Re: [HACKERS] ecpg PREPARE is not thread safe

2007-09-21 Thread Michael Meskes
If so, 1 and 2 are not > correct fixes. Sorry, I don't get this. What exactly are you talking about here? Michael -- Michael Meskes Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: [EMAIL PROTECTED] Go SF 4

[HACKERS] Re: compiler warnings in ecpglib/execute.c (uninitialized local variable 'prepname' used)

2007-09-21 Thread Michael Meskes
seems to be absolutely superfluous, so I removed it. Fixed in CVS head. Thanks for the report. Michael -- Michael Meskes Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: [EMAIL PROTECTED] Go SF 49ers! Go Rhein Fire! Use

Re: [HACKERS] MSVC build scripts status

2007-09-25 Thread Michael Meskes
compile on Windows. Michael P.S.: Is there some documentation available on how to set up a Windows build system? Takes less time when you know all software to install beforehand and if you get this software at all. -- Michael Meskes Email: Michael at Fam-Meskes dot De, Mi

Re: [HACKERS] MSVC build scripts status

2007-09-25 Thread Michael Meskes
7;s breaking the compiler. > Seems like the entire definition of the struct is commented out? This is indeed the problem. I attach the diff so you see that instead of typedef'ing the struct it just comments it out. Michael -- Michael Meskes Email: Michael at Fam-Meskes dot De, Michael at Meskes

Re: [HACKERS] Other ecpg thread unsafety

2007-09-26 Thread Michael Meskes
gt; [4] stmtCacheEntries in ecpg/ecpglib/prepare.c: > Reading/writing are not safe in ECPGauto_prepare(). This also doesn't look like a dangerous bug, but it's still not working as it should. I'd say let's fix them all. Michael -- Michael Meskes Email: Michael at

Re: [HACKERS] MSVC build scripts status

2007-09-26 Thread Michael Meskes
option "-c" when compiling array_of_struct.pgc? It is listed that way in the Makefile, however lacking this option should generate exactly the file you sent. Michael -- Michael Meskes Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) ICQ: 179140304, AIM/Yahoo:

Re: [HACKERS] MSVC build scripts status

2007-09-26 Thread Michael Meskes
; Not really, it looks like you're using "-c" on this file too. This one, however, is supposed to be compiled without "-c". > diff of the .c file is: > 17c17 > < #line 1 "./../regression.h" > --- > > #line 1 "regression.h" Wonder where

Re: [HACKERS] MSVC build scripts status

2007-09-26 Thread Michael Meskes
ll now so can't read > the code - how do I determine which files need it? It's only array_of_struct that needs this option. I think one test for this special option should be sufficient. Michael -- Michael Meskes Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|N

[HACKERS] developer.postgresql.org

2007-10-02 Thread Michael Meskes
Who's in charge of editing this site? I just thought about adding my IRC nick but the page is locked. Michael -- Michael Meskes Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: [EMAIL PROTECTED] Go SF 49ers! Go

Re: [HACKERS] developer.postgresql.org

2007-10-02 Thread Michael Meskes
On Tue, Oct 02, 2007 at 02:21:02PM +0200, Stefan Kaltenbrunner wrote: > as referenced on the frontpage: > > http://developer.postgresql.org/index.php/Editing_Guidelines Argh! Being able to read definitely helps. Sorry for this. Thanks Stefan. Michael -- Michael Meskes Email: Micha

[HACKERS] Re: [COMMITTERS] pgsql: ITAGAKI Takahiro <[EMAIL PROTECTED]> added

2007-10-02 Thread Michael Meskes
hreading. Will fix asap. Michael -- Michael Meskes Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: [EMAIL PROTECTED] Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL! ---(en

[HACKERS] Re: [COMMITTERS] pgsql: ITAGAKI Takahiro <[EMAIL PROTECTED]> added

2007-10-02 Thread Michael Meskes
problems. Some reports look ambiguous, so we need to wait. Michael -- Michael Meskes Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: [EMAIL PROTECTED] Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use P

Re: [HACKERS] ECPG regression tests

2007-10-03 Thread Michael Meskes
additional option "-r questionmarks" to ecpg. Here's the line from the normal Makefile: $(ECPG) -r questionmarks -o $@ -I$(srcdir) $< autoprep also needs an additional parameter. It's "-r prepare". And again, here's the line: $(ECPG) -r prepare -o $@ -I$(srcdir) $<

Re: [HACKERS] ECPG regression tests

2007-10-03 Thread Michael Meskes
On Wed, Oct 03, 2007 at 02:34:59PM +0200, Magnus Hagander wrote: > With that, all the ECPG regression tests now pass on MSVC builds. Great! Thanks a lot for your help Magnus. Michael -- Michael Meskes Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) ICQ: 179140

Re: [HACKERS] Not *quite* there on ecpg fixes

2007-10-04 Thread Michael Meskes
On Thu, Oct 04, 2007 at 12:47:13AM -0400, Tom Lane wrote: > Buildfarm member brown_bat (cygwin/gcc) still isn't happy: > ... Just committed a patch that hopefully solves this. Kind of surprises me that this only occurs on cygwin. Michael -- Michael Meskes Email: Michael at Fam-Me

Re: [HACKERS] Not *quite* there on ecpg fixes

2007-10-04 Thread Michael Meskes
BPGTYPES' >> libpgtypesdll.def > echo 'EXPORTS' >> libpgtypesdll.def > ... > I wonder why the dlltool failure is not causing the build to fail > immediately? These lines are simply copied from libpq/Makefile but ddltool does not complain while working on libpq. Any id

Re: [HACKERS] Not *quite* there on ecpg fixes

2007-10-04 Thread Michael Meskes
paces ... However I'm thinking that maybe > it's better to change the sed line to consider both spaces and tabs in > the regex. I'm not sure how portable sed scripts containing tabs are, so I simply replaced the tabs in those export files by white spaces. Hopefully that'

Re: [HACKERS] Not *quite* there on ecpg fixes

2007-10-05 Thread Michael Meskes
e. Do we need it in libpq? Or else we could remove if everywhere. Maybe someone's working on it. Michael -- Michael Meskes Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: [EMAIL PROTECTED] Go SF

Re: [HACKERS] Latest ecpg patch broke MSVC build

2007-10-09 Thread Michael Meskes
y working on all other platforms a and is also compilable, but not working in some/most cases, on Windows. Michael -- Michael Meskes Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: [EMAIL PROTECTED] Go SF 4

Re: [HACKERS] ECPG crash - upgrade from 8.0.3 to 8.1.10

2007-10-19 Thread Michael Meskes
ich comments? Michael -- Michael Meskes Email: Michael at Fam-Meskes dot De ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: [EMAIL PROTECTED] Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL! ---(end of broadcast)--- TIP 6: explain analyze is your friend

Re: [HACKERS] ECPG crash - upgrade from 8.0.3 to 8.1.10

2007-10-27 Thread Michael Meskes
Michael -- Michael Meskes Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: [EMAIL PROTECTED] Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL! ---(end of broadcast)

Re: [HACKERS] Datum should be defined outside postgres.h

2007-10-27 Thread Michael Meskes
n.l, > sharing parser.c isn't much of a savings anyway. For the time being, no, you're right. Michael -- Michael Meskes Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: [EMAIL PROTECTED] Go S

Re: [HACKERS] Datum should be defined outside postgres.h

2007-10-27 Thread Michael Meskes
an gram.y) and see what ecpg needs and what not. Michael -- Michael Meskes Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: [EMAIL PROTECTED] Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL! --

Re: [HACKERS] PGparam timestamp question

2007-12-10 Thread Michael Meskes
x27;m not aware of. Or was the code incorrectly used? Michael -- Michael Meskes Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: [EMAIL PROTECTED] Go SF 49ers! Go VfL Borussia! Use Debian GNU/Linux! Use PostgreSQL!

[HACKERS] scan.l: check_escape_warning()

2008-01-11 Thread Michael Meskes
check_string_escape_warning() btw. are only called in mode xe. Seems to me that both are never called, or what am I missing? Michael -- Michael Meskes Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: [EMAIL PROTECTED] Go VfL Borussia! Go

Re: [HACKERS] scan.l: check_escape_warning()

2008-01-13 Thread Michael Meskes
pointing me into the right direction. Michael -- Michael Meskes Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: [EMAIL PROTECTED] Go VfL Borussia! Go SF 49ers! Use Debian GNU/Linux! Use PostgreSQL! --

Re: [HACKERS] [GENERAL] Errors with run_build.pl - 8.3RC2

2008-01-23 Thread Michael Meskes
lect i from test where j = ( select j > from test) > LOG: unexpected EOF on client connection > ERROR: relation "nonexistant" does not exist > STATEMENT: select * from nonexistant These errors are supposed to be there. Comments in the code even tell you why. Michael -

[HACKERS] [EMAIL PROTECTED]: PGconn ?]

2008-02-01 Thread Michael Meskes
- Forwarded message from Mike Aubury <[EMAIL PROTECTED]> - From: Mike Aubury <[EMAIL PROTECTED]> To: Michael Meskes <[EMAIL PROTECTED]> Subject: PGconn ? Date: Wed, 30 Jan 2008 19:51:00 + Any chance of adding this (or something similar) for the next RC?

[HACKERS] cvs: 8.3 branch/head

2008-02-07 Thread Michael Meskes
Am I correct to assume that HEAD is still 8.3? Or in other words, the bug fixes I just committed are they part of the 8.3 branch automatically and thus be included in 8.3.1? Michael -- Michael Meskes Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) ICQ: 179140304, AIM

[HACKERS] NetBSD/dtime_t

2008-02-15 Thread Michael Meskes
chael -- Michael Meskes Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: [EMAIL PROTECTED] Go VfL Borussia! Go SF 49ers! Use Debian GNU/Linux! Use PostgreSQL! ---(end of broadcast)--

Re: [HACKERS] NetBSD/dtime_t

2008-02-16 Thread Michael Meskes
est problem, but a user using the Informix compatibility feature on NetBSD will run into the same problem. Michael -- Michael Meskes Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: [EMAIL PROTECTED] Go VfL Borussia! Go S

Re: [HACKERS] NetBSD/dtime_t

2008-02-17 Thread Michael Meskes
less what you suggest. Instead of #define'ing dtimt_t I let ecpg handle this. this actually is code that was part of ecpg before I just put it back in and changed the other header files some. Let's see if this helps. Michael -- Michael Meskes Email: Michael at Fam-Meskes dot De, Michael a

Re: [HACKERS] ECPG patch N+1, fix auto-prepare

2009-12-15 Thread Michael Meskes
ething? Besides I don't think it's a good idea to create a local variable overriding a global one with the same name. Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org ICQ: 179

Re: [HACKERS] ECPG patch N+1, fix auto-prepare

2009-12-16 Thread Michael Meskes
t; Is it acceptable? Yes sure. I changed some small parts of your patch (see above) and will commit in a few minutes. Just running regression tests. Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Michael at BorussiaFan dot De, Meskes at (Debian|P

Re: [HACKERS] ECPG patch N+1, fix auto-prepare

2009-12-16 Thread Michael Meskes
epare test out of the parser. Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org ICQ: 179140304, AIM/Yahoo/Skype: michaelmeskes, Jabber: mes...@jabber.org VfL Borussia! Forca Bar

Re: [HACKERS] ECPG SQLDA support

2010-01-05 Thread Michael Meskes
preprocessor I changed this to use the already existing _ECPG_INFORMIX_H define. Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org ICQ: 179140304, AIM/Yahoo/Skype: michaelmesk

Re: [HACKERS] ECPG SQLDA support

2010-01-05 Thread Michael Meskes
does use int64. However, ecpg uses HAVE_LONG_LONG_INT64 to decide whether it's datatype ECPGt_long_long exists. I changed the patch to use the same define as usual. Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Michael at BorussiaFan dot De, Mes

Re: [HACKERS] ecpg compile error

2010-01-06 Thread Michael Meskes
that I committed Zoltan's patch. Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org ICQ: 179140304, AIM/Yahoo/Skype: michaelmeskes, Jabber: mes...@jabber.org VfL Borussia! Forca Ba

Re: [HACKERS] ecpg compile error

2010-01-06 Thread Michael Meskes
On Wed, Jan 06, 2010 at 09:42:06AM +0100, Boszormenyi Zoltan wrote: > Attached. Passes "make check" here on 32-bit and > 64-bit builds under Fedora 9/x86-64. Applied. Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Michael at Bo

Re: [HACKERS] unresolved bugs

2010-01-07 Thread Michael Meskes
On Wed, Jan 06, 2010 at 03:36:39PM -0500, Tom Lane wrote: > > BUG #5236: Aparent bug in ecpg > > http://archives.postgresql.org/pgsql-bugs/2009-12/msg00078.php > > Michael needs to look at that one. I'm waiting for a reproducable test case. Michael -- Michael Meskes Mi

Re: [HACKERS] [COMMITTERS] pgsql: Also update ChangerLog file.

2010-01-09 Thread Michael Meskes
But I guess we could get all this from the cvs log too. The file has been there for a long time. Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org ICQ: 179140304, AIM/Yahoo/Skype:

Re: [HACKERS] [COMMITTERS] pgsql: Also update ChangerLog file.

2010-01-09 Thread Michael Meskes
advice is to > drop the Changelog file and be sure you describe changes appropriately > in the commit messages. You definitely get a +1 from me as this file only means additional work that tends to be forgotten. And yes, it does not have any information that the CVS log doesn't hav

Re: [HACKERS] ECPG patch causes warning

2010-01-12 Thread Michael Meskes
ic_type again we would run into this situation even earlier as the return value then is stort in a short int because that's what the other sqlda deffinitions use too. Therefore we have to make sure we do not cross the short max. I'm glad at least one compiler caught this. Michael -- Michae

Re: [HACKERS] patch to implement ECPG side tracing / tracking ...

2010-01-13 Thread Michael Meskes
tement cache for auto-prepared statements even if the statement is not auto prepared? Some statements are not profiled, how did you decide which one to do? There is no test case. Before looking into it in detail I think we should first figure out if this feature really has a benefit. Michael -- Michae

Re: [HACKERS] ECPG patch causes warning

2010-01-13 Thread Michael Meskes
On Wed, Jan 13, 2010 at 09:22:28AM +0100, Boszormenyi Zoltan wrote: > I think it's best to assume a string. ecpg_set_{compat,native}_sqlda() > uses the defailt case in that meaning anyway. Okay, applied as you send it. Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michae

Re: [HACKERS] patch to implement ECPG side tracing / tracking ...

2010-01-14 Thread Michael Meskes
ch to make it into our source tree there should be an advantage fore more people. Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org ICQ: 179140304, AIM/Yahoo/Skype: michaelmeskes, J

Re: [HACKERS] ECPG DESCRIBE [OUTPUT] support

2010-01-15 Thread Michael Meskes
On Fri, Jan 15, 2010 at 01:16:18PM +0100, Boszormenyi Zoltan wrote: > Please, also add this small change that adds ecpg_raise() > calls to ECPGdescribe() to return the proper sqlca error > in error paths for: > ... Done. Michael -- Michael Meskes Michael at Fam-Meskes dot De, Micha

Re: [HACKERS] ECPG patch 4.1, out-of-scope cursor support in native mode

2010-01-19 Thread Michael Meskes
atched system. Is it an additional test that just happened to be included here? Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org ICQ 179140304, AIM/Yahoo/Skype michaelmeske

Re: [HACKERS] Fix auto-prepare #2

2010-01-22 Thread Michael Meskes
it be "const char *" ? > If the argument has a const, callers assume that they can pass > a not-strdup'ed string as the argument. Valid point, I can see no reason for not making this a "const char *". So let's try. Michael -- Michael Meskes Michael at

Re: [HACKERS] ECPG patch 4.1, out-of-scope cursor support in native mode

2010-01-22 Thread Michael Meskes
for select * from a1", ECPGt_EOIT, > + ECPGt_int,&(myvar.id),(long)1,(long)1,sizeof(int), > ... Why does the preproc spit out ECPGset_var's but no ECPGget_var's in this test case? Michael Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot

Re: [HACKERS] ECPG patch 4.1, out-of-scope cursor support in native mode

2010-01-24 Thread Michael Meskes
iler, so ECPGset_var() is always used. This shows some well thought implementation. But what I was wondering about was why this is used as test case. While I see the need to test this part of ecpg I thought this test case was added because it showed a problem without your changes. Michael -- Michael Me

Re: [HACKERS] ECPG patch 4.1, out-of-scope cursor support in native mode

2010-01-25 Thread Michael Meskes
em? Isn't it hidden now by the new functionality of not spitting out ECPGget_var's? Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org ICQ 179140304, AIM/Yahoo/Skype michael

Re: [HACKERS] ECPG patch 4.1, out-of-scope cursor support in native mode

2010-01-25 Thread Michael Meskes
(if accepted) is a unified one, it would show > the problem for native mode as well. That was my feeling too and the reason for these questions. Again, this has nothing to do with the feature you implemented, it was just about this special test. Michael -- Michael Meskes Michael at Fam-Meskes

Re: [HACKERS] ECPG patch 4.1, out-of-scope cursor support in native mode

2010-01-26 Thread Michael Meskes
> Should I send you a new patch without this regression test > or do you delete it before applying the patch? Na, I will just remove it, no need to worry. Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Michael at BorussiaFan dot De, Mes

Re: [HACKERS] ECPG patch 4.1, out-of-scope cursor support in native mode

2010-01-26 Thread Michael Meskes
ded but I didn't notice. Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org ICQ 179140304, AIM/Yahoo/Skype michaelmeskes, Jabber mes...@jabber.org VfL Borussia! Força Barça! Go SF

[HACKERS] ECPGset_var

2010-01-26 Thread Michael Meskes
Zoltan, could you please look into this: http://pgbuildfarm.org/cgi-bin/show_log.pl?nm=dugong&dt=2010-01-26%2011:05:01 ? Apparently dugong creates the ECPGset_var statements in a different order than the other archs. Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes

Re: [HACKERS] out-of-scope cursor errors

2010-01-29 Thread Michael Meskes
On Fri, Jan 29, 2010 at 06:32:20AM +0100, Boszormenyi Zoltan wrote: > I know. Patches were already posted for that, > waiting for Michael to review and apply it. Just came back from another trip. Patch works on my system, so I committed it. Michael -- Michael Meskes Michael at Fam-Mesk

Re: [HACKERS] WITH RECUSIVE patches 0723

2008-08-02 Thread Michael Meskes
o our CVS or into its own accessible source archive. It doesn't make sense IMO to bloat the patch with code not needed for the backend functionality at this point in time. Michael -- Michael Meskes Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) ICQ: 179140304

Re: [HACKERS] WITH RECUSIVE patches 0723

2008-08-02 Thread Michael Meskes
On Sat, Aug 02, 2008 at 12:33:38AM -0400, Tom Lane wrote: > grammar. Right now the situation is that Michael Meskes makes a manual > cleanup pass every so often :-(. I would like to see that get automated > sooner rather than later, but in the near term it is not the I received a very

Re: [HACKERS] [INTERFACES] ecpg 'set' failure using host vars

2008-08-16 Thread Michael Meskes
ema > [22245]: ecpg_check_PQresult line 13256: Error: ERROR: syntax error at or > near "$1" > LINE 1: set search_path to $1 Without checking the sources it seems as if PQexecParams is not able to handle a parameter in a set command. Can anyone confirm this? Michael -- Michael Mesk

Re: [HACKERS] binary representation of datatypes

2008-10-21 Thread Michael Meskes
7: RESULT: 1966-01-17 offset: -1; array: yes [NO_PID]: sqlca: code: 0, state: 0 [NO_PID]: ecpg_get_data on line 37: RESULT: 2000-07-12 17:34:29.140787 offset: -1; array: yes [NO_PID]: sqlca: code: 0, state: 0 ... What do I miss here? Michael -- Michael Meskes Michael at Fam-Meskes dot De, M

Re: [HACKERS] automatic parser generation for ecpg

2008-10-21 Thread Michael Meskes
se it is new. Is this understandable? :-) Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: [EMAIL PROTECTED] Go VfL Borussia! Go SF

Re: [HACKERS] binary representation of datatypes

2008-10-21 Thread Michael Meskes
mestamp 'official' format, i mean > timestamp expressed as number of microseconds since > 2000-01-01. But of course, it only deserves this name 'official' if it is > guaranteed to stay the same across postgresql versions and > platforms You shouldn't rely on this. Ag

Re: [HACKERS] automatic parser generation for ecpg

2008-10-21 Thread Michael Meskes
y better for the > purpose. Well I think it's at least readable. Problem with your approach is that both Mike and I feel more comfortable with awk at the moment. If a2p produces a working perl script, that doesn't seem to be a problem IMO as we could maintain the awk script but deliver

[HACKERS] Email/lists setup

2008-10-25 Thread Michael Meskes
o contact? Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: [EMAIL PROTECTED] Go VfL Borussia! Go SF 49ers! Use Debian GNU/Linux! Use Po

[HACKERS] gram.y => preproc.y

2008-11-01 Thread Michael Meskes
ference any more. To test you need an up-to-date HEAD because ecpglib didn't like an additional blank. Comments/improvements/bug reports welcome. Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Michael at BorussiaFan dot De, Meskes at (Debi

Re: [HACKERS] gram.y => preproc.y

2008-11-05 Thread Michael Meskes
ert something before that second rule, it won't work anymore. > FWIW, I'm also pretty firmly convinced that awk was the wrong choice for > implementing this script... Well, I work with what I have. What language would you prefer? And btw what makes you so convinced? Michael -- Michae

Re: [HACKERS] [I|S]CONST/[I|S]const in gram.y

2008-11-10 Thread Michael Meskes
So yes, I'd remove Iconst/Sconst. Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: [EMAIL PROTECTED] Go VfL Borussia! Go SF 49ers

[HACKERS] gram.y=>preproc.y

2008-11-10 Thread Michael Meskes
perl hacker can beautify the script quite a bit. Anyway, it does work, regression tests run through (need to update expected results though). So guys, now's the time to test before it makes it into the archive. :-) Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meske

[HACKERS] [I|S]CONST/[I|S]const in gram.y

2008-11-10 Thread Michael Meskes
e all rules use the same symbol which will make gram.y be consequent in its symbol usage and simplify my work to generate the ecpg parser out of an unchanged gram.y at the same time. Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Michael at BorussiaFa

Re: [HACKERS] gram.y=>preproc.y

2008-11-11 Thread Michael Meskes
gt; preproc.y and compare the result to pgsql/src/interfaces/ecpg/preproc/preproc.y. Both files should be identical. Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org ICQ: 179140304,

Re: [HACKERS] [I|S]CONST/[I|S]const in gram.y

2008-11-11 Thread Michael Meskes
mixed-case spelling looks like a non-terminal and at some point people will spend time looking to the rules defining these non-terminals. Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot

Re: [HACKERS] gram.y=>preproc.y

2008-11-11 Thread Michael Meskes
ier into each file that > will be added to CVS? Definitely. Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: [EMAIL PROTECTED] Go VfL

Re: [HACKERS] Re: Updated interval patches - ECPG [was, intervalstyle....]

2008-11-13 Thread Michael Meskes
pg/pgtypeslib/dt.h. The numbers should match IMO. Also one files seems to be missing, there are no changes to test/expected/pgtypeslib-dt_test.c in the patch, but when changing dt_test.pgc this file should be changed too. Could you add this to your work too? Michael -- Michael Meskes Michael at Fa

[HACKERS] gram.y => preproc.y

2008-11-13 Thread Michael Meskes
Hi, since my last email seems to have disappeared, here we go again. Here's my current patch that includes the changes to the build system. Thanks to Magnus for the Windows part. Comments anyone? Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Ne

Re: [HACKERS] gram.y => preproc.y

2008-11-13 Thread Michael Meskes
n CVS. That's what I did first, but Magnus had a good reasoning to not keep preproc.y if we keep preproc.c in our tarball. And I agreed that there doesn't seem to be an advantage. Michael -- Michael Meskes Email: Michael at Fam-Meskes dot De ICQ: 179140304, AIM/Yahoo: michaelmeskes, Ja

Re: [HACKERS] gram.y => preproc.y

2008-11-14 Thread Michael Meskes
On Thu, Nov 13, 2008 at 03:57:49PM -0500, Tom Lane wrote: > Michael Meskes <[EMAIL PROTECTED]> writes: > > That's what I did first, but Magnus had a good reasoning to not keep > > preproc.y > > if we keep preproc.c in our tarball. And I agreed that there doesn&#x

Re: [HACKERS] gram.y => preproc.y

2008-11-14 Thread Michael Meskes
dy committed the new files, so the patch is way smaller. However, the new files are not used without the attached changes to the build system. Does anyone see a problem with these changes? Or else I will commit. Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|

Re: [HACKERS] gram.y => preproc.y

2008-11-14 Thread Michael Meskes
> the script uses it at all, or does it? The new version does. I need to tell the script where to find the other files in a VPATH build system. Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Michael at BorussiaFan dot De, Meskes at (Debian|Post

Re: [HACKERS] gram.y => preproc.y

2008-11-14 Thread Michael Meskes
a good idea to list preproc.c's antecedent as > $(srcdir)/preproc.y not just preproc.y. Also, you'll need to add > preproc.y to .cvsignore. Added. Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Michael at BorussiaFan dot De, Meske

[HACKERS] Re: [COMMITTERS] pgsql: Enable script to generate preproc.y in build process.

2008-11-16 Thread Michael Meskes
'm correctly identifying > the corresponding code in 8.3, it has a semicolon where expected. No, not that old. These rules were introduced at some point after 8.3 was released, so no biggy here. This just meant that we went weeks without any system complaining. Michael -- Michael Meskes Micha

Re: [HACKERS] Re: Updated interval patches - ECPG [was, intervalstyle....]

2008-11-26 Thread Michael Meskes
On Thu, Nov 20, 2008 at 05:07:40PM -0800, Ron Mayer wrote: > Got it. > Patch attached. Looks reasonable to me. Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org ICQ: 17914030

Re: [HACKERS] Re: Updated interval patches - ECPG [was, intervalstyle....]

2008-11-26 Thread Michael Meskes
On Wed, Nov 26, 2008 at 09:31:48AM -0500, Tom Lane wrote: > Michael, since that's ecpg code, please take charge of committing it > if you want it. Okay, done. I wasn't sure whether this was related to a backend patch that was still under review. Michael -- Michael Meskes Micha

[HACKERS] Looking for someone with MinGW

2008-12-01 Thread Michael Meskes
inGW which is outdated, so don't be surprised if the regression tests fail. Alternatively you could check in the file as .../ecpg/test/expected/connect-test1-minGW32.stderr. Thanks. Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Michael at Bor

Re: [HACKERS] WIP: default values for function parameters

2008-12-12 Thread Michael Meskes
re's the lexer rule: :{identifier}((("->"|\.){identifier})|(\[{array}\]))* No space possible between ":" and {identifier}. Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Michael at BorussiaFan dot De, Meskes at (Debi

Re: [HACKERS] Looking for someone with MinGW

2008-12-14 Thread Michael Meskes
end me a backtrace? I guess this has to be debugged so we find out what's going wrong. Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org ICQ: 179140304, AIM/Yahoo: michaelmes

Re: [HACKERS] Looking for someone with MinGW

2008-12-15 Thread Michael Meskes
On Sun, Dec 14, 2008 at 11:36:21AM -0500, Andrew Dunstan wrote: > See below > ... Thanks. The backtrace is kind of strange, but I might have found it. Could you please update from CVS and re-run? Thanks again. Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes d

Re: [HACKERS] Looking for someone with MinGW

2008-12-17 Thread Michael Meskes
s implemented it was taken out of "make check" because it requires a tcp connection, so you have to run "make checktcp" instead. But if noone runs this, we could drop it. Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Michael at Bo

Re: [HACKERS] Looking for someone with MinGW

2008-12-17 Thread Michael Meskes
s it doesn't here. Could you please check this by checking out the changes, re-running "make checktcp" and checking whether the regression.diffs file changes? Thanks Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Michael at BorussiaFa

Re: [HACKERS] ecpg regression test failures caused by window functions patch

2008-12-29 Thread Michael Meskes
(res_str, " "); > + if (strlen(str1) != 0 && strlen(str2) != 0) > + strcat(res_str, " "); > strcat(res_str, str2); > free(str1); > free(str2); > return(res_str); > } Hey, good idea, will add this too

Re: [HACKERS] ecpg regression test failures caused by window functions patch

2008-12-29 Thread Michael Meskes
was a test that expected the blank and thus looked into $1[1] instead of $1[0]. :-) I hope I found all of these. Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org ICQ: 179140304, AIM

<    1   2   3   4   5   6   7   >