Thread: pgsql-server/src/interfaces/ecpg ChangeLog Mak ...

pgsql-server/src/interfaces/ecpg ChangeLog Mak ...

From
meskes@postgresql.org (Michael Meskes)
Date:
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    meskes@postgresql.org    03/03/16 05:42:54

Modified files:
    src/interfaces/ecpg: ChangeLog Makefile
    src/interfaces/ecpg/include: Makefile ecpgtype.h
    src/interfaces/ecpg/preproc: ecpg.c preproc.y type.c
    src/interfaces/ecpg/test: Makefile
Added files:
    src/interfaces/ecpg/ecpglib: Makefile connect.c data.c
                                 descriptor.c error.c execute.c
                                 extern.h memory.c misc.c pg_type.h
                                 prepare.c typename.c
    src/interfaces/ecpg/pgtypeslib: Makefile numeric.c
    src/interfaces/ecpg/test: num_test.pgc

Log message:
    Started working on a seperate pgtypes library. First test work. PLEASE test compilation on iother systems.


Re: pgsql-server/src/interfaces/ecpg ChangeLog Mak ...

From
"Christopher Kings-Lynne"
Date:
> Modified files:
> src/interfaces/ecpg: ChangeLog Makefile
> src/interfaces/ecpg/include: Makefile ecpgtype.h
> src/interfaces/ecpg/preproc: ecpg.c preproc.y type.c
> src/interfaces/ecpg/test: Makefile
> Added files:
> src/interfaces/ecpg/ecpglib: Makefile connect.c data.c
>                              descriptor.c error.c execute.c
>                              extern.h memory.c misc.c pg_type.h
>                              prepare.c typename.c
> src/interfaces/ecpg/pgtypeslib: Makefile numeric.c
> src/interfaces/ecpg/test: num_test.pgc
>
> Log message:
> Started working on a seperate pgtypes library. First test work. PLEASE
test compilation on iother systems.

Compiles fine on FreeBSD/Alpha

Chris


Re: pgsql-server/src/interfaces/ecpg ChangeLog Mak ...

From
Tom Lane
Date:
meskes@postgresql.org (Michael Meskes) writes:
>     Started working on a seperate pgtypes library. First test work. PLEASE test compilation on iother systems.

CVS tip is broken:

make[4]: Entering directory `/home/tgl/pgsql/src/interfaces/ecpg/preproc'
make -C ../../../../src/port all
make[5]: Entering directory `/home/tgl/pgsql/src/port'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/tgl/pgsql/src/port'
make[4]: *** No rule to make target `../lib/typename.o', needed by `ecpg'.  Stop.
make[4]: Leaving directory `/home/tgl/pgsql/src/interfaces/ecpg/preproc'
make[3]: *** [all] Error 2


            regards, tom lane

Re: pgsql-server/src/interfaces/ecpg ChangeLog Mak ...

From
Larry Rosenman
Date:

--On Monday, March 17, 2003 10:40:38 +0800 Christopher Kings-Lynne
<chriskl@familyhealth.com.au> wrote:

>> Modified files:
>> src/interfaces/ecpg: ChangeLog Makefile
>> src/interfaces/ecpg/include: Makefile ecpgtype.h
>> src/interfaces/ecpg/preproc: ecpg.c preproc.y type.c
>> src/interfaces/ecpg/test: Makefile
>> Added files:
>> src/interfaces/ecpg/ecpglib: Makefile connect.c data.c
>>                              descriptor.c error.c execute.c
>>                              extern.h memory.c misc.c pg_type.h
>>                              prepare.c typename.c
>> src/interfaces/ecpg/pgtypeslib: Makefile numeric.c
>> src/interfaces/ecpg/test: num_test.pgc
>>
>> Log message:
>> Started working on a seperate pgtypes library. First test work. PLEASE
> test compilation on iother systems.
>
> Compiles fine on FreeBSD/Alpha
Michael,
    If you'd like an account on my UnixWare 7.1.3 system, I'd be more than
happy to oblige.

I can't deal with 7.4 as my production PG, but you are welcome to play.

LER

>
> Chris
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faqs/FAQ.html
>



--
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749




Re: pgsql-server/src/interfaces/ecpg ChangeLog Mak ...

From
"Christopher Kings-Lynne"
Date:
> meskes@postgresql.org (Michael Meskes) writes:
> > Started working on a seperate pgtypes library. First test work. PLEASE
test compilation on iother systems.
>
> CVS tip is broken:
>
> make[4]: Entering directory `/home/tgl/pgsql/src/interfaces/ecpg/preproc'
> make -C ../../../../src/port all
> make[5]: Entering directory `/home/tgl/pgsql/src/port'
> make[5]: Nothing to be done for `all'.
> make[5]: Leaving directory `/home/tgl/pgsql/src/port'
> make[4]: *** No rule to make target `../lib/typename.o', needed by `ecpg'.
Stop.
> make[4]: Leaving directory `/home/tgl/pgsql/src/interfaces/ecpg/preproc'
> make[3]: *** [all] Error 2

Huh?  I don't get that at all - I am working from anonymous CVS tho i
guess..

Chris


Re: pgsql-server/src/interfaces/ecpg ChangeLog Mak ...

From
Tom Lane
Date:
"Christopher Kings-Lynne" <chriskl@familyhealth.com.au> writes:
>> CVS tip is broken:

> Huh?  I don't get that at all - I am working from anonymous CVS tho i
> guess..

Hm, the anon-CVS server should have Michael's recent updates by now.
Do you still have an ecpg/lib subdirectory instead of ecpg/ecpglib?
'Cause the former is gone here...

            regards, tom lane

Re: pgsql-server/src/interfaces/ecpg ChangeLog Mak ...

From
"Christopher Kings-Lynne"
Date:
> > Huh?  I don't get that at all - I am working from anonymous CVS tho i
> > guess..
>
> Hm, the anon-CVS server should have Michael's recent updates by now.
> Do you still have an ecpg/lib subdirectory instead of ecpg/ecpglib?
> 'Cause the former is gone here...

I've got it all:

bash-2.03$ pwd
/home/chriskl/pgsql-temp/src/interfaces/ecpg
bash-2.03$ ls -al
total 42
drwxr-xr-x  9 chriskl  users    512 Mar 17 12:16 .
drwxr-xr-x  9 chriskl  users    512 Mar 17 12:16 ..
drwxr-xr-x  2 chriskl  users    512 Mar 17 12:16 CVS
-rw-r--r--  1 chriskl  users  31260 Mar 17 10:14 ChangeLog
-rw-r--r--  1 chriskl  users    406 Mar 17 10:14 Makefile
-rw-r--r--  1 chriskl  users    439 Nov 14  2001 README.dynSQL
drwxr-xr-x  4 chriskl  users   1024 Mar 17 10:30 ecpglib
drwxr-xr-x  3 chriskl  users    512 Mar 17 10:14 include
drwxr-xr-x  4 chriskl  users   1024 Mar 17 10:14 lib
drwxr-xr-x  4 chriskl  users    512 Mar 17 10:30 pgtypeslib
drwxr-xr-x  4 chriskl  users   1024 Mar 17 10:32 preproc
drwxr-xr-x  3 chriskl  users    512 Mar 17 10:14 test
bash-2.03$


Chris


Re: pgsql-server/src/interfaces/ecpg ChangeLog Mak ...

From
Tom Lane
Date:
"Christopher Kings-Lynne" <chriskl@familyhealth.com.au> writes:
>> Hm, the anon-CVS server should have Michael's recent updates by now.
>> Do you still have an ecpg/lib subdirectory instead of ecpg/ecpglib?
>> 'Cause the former is gone here...

> I've got it all:

lib should be gone, or at least empty (gone if you use -P with cvs update).

            regards, tom lane

Re: pgsql-server/src/interfaces/ecpg ChangeLog Mak ...

From
"Christopher Kings-Lynne"
Date:
----- Original Message -----
From: "Tom Lane" <tgl@sss.pgh.pa.us>
To: "Christopher Kings-Lynne" <chriskl@familyhealth.com.au>
Cc: "Michael Meskes" <meskes@postgresql.org>;
<pgsql-committers@postgresql.org>
Sent: Monday, March 17, 2003 12:27 PM
Subject: Re: [COMMITTERS] pgsql-server/src/interfaces/ecpg ChangeLog Mak ...


> "Christopher Kings-Lynne" <chriskl@familyhealth.com.au> writes:
> >> Hm, the anon-CVS server should have Michael's recent updates by now.
> >> Do you still have an ecpg/lib subdirectory instead of ecpg/ecpglib?
> >> 'Cause the former is gone here...
>
> > I've got it all:
>
> lib should be gone, or at least empty (gone if you use -P with cvs
update).

I did that:


Re: pgsql-server/src/interfaces/ecpg ChangeLog Mak ...

From
"Christopher Kings-Lynne"
Date:
> > I've got it all:
>
> lib should be gone, or at least empty (gone if you use -P with cvs
update).
>
> regards, tom lane

I did that:

bash-2.03$ cvs up -d -P
? ecpglib/.deps
? ecpglib/libecpg.so.3
? lib/.deps
? lib/libecpg.so.3
? pgtypeslib/.deps
? pgtypeslib/libpgtypes.so.1
? preproc/.deps
? preproc/ecpg
bash-2.03$

Sure he's actually removed the lib dir?

Chris


Re: pgsql-server/src/interfaces/ecpg ChangeLog Mak ...

From
Tom Lane
Date:
"Christopher Kings-Lynne" <chriskl@familyhealth.com.au> writes:
> Sure he's actually removed the lib dir?

The directory cannot actually disappear from CVS, but everything in it
is dead as of CVS tip --- at least, I think so and so does the cvsweb
interface.  What do you see still present in ecpg/lib?

            regards, tom lane

Re: pgsql-server/src/interfaces/ecpg ChangeLog Mak ...

From
"Christopher Kings-Lynne"
Date:
> The directory cannot actually disappear from CVS, but everything in it
> is dead as of CVS tip --- at least, I think so and so does the cvsweb
> interface.  What do you see still present in ecpg/lib?

drwxr-xr-x  4 chriskl  users    1024 Mar 17 10:14 .
drwxr-xr-x  9 chriskl  users     512 Mar 17 12:34 ..
drwxr-xr-x  2 chriskl  users     512 Mar 10 15:45 .deps
drwxr-xr-x  2 chriskl  users     512 Mar 17 10:14 CVS
-rw-r--r--  1 chriskl  users   44032 Mar 11 10:59 connect.o
-rw-r--r--  1 chriskl  users   26072 Mar 11 10:59 data.o
-rw-r--r--  1 chriskl  users   41056 Mar 11 10:59 descriptor.o
-rw-r--r--  1 chriskl  users   24136 Mar 11 10:59 error.o
-rw-r--r--  1 chriskl  users   67968 Mar 11 10:59 execute.o
-rw-r--r--  1 chriskl  users  291462 Mar 11 10:59 libecpg.a
lrwxr-xr-x  1 chriskl  users      12 Mar 11 10:59 libecpg.so -> libecpg.so.3
-rwxr-xr-x  1 chriskl  users  164196 Mar 11 10:59 libecpg.so.3
-rw-r--r--  1 chriskl  users   20104 Mar 11 10:59 memory.o
-rw-r--r--  1 chriskl  users   23856 Mar 11 10:59 misc.o
-rw-r--r--  1 chriskl  users   24184 Mar 11 10:59 prepare.o
-rw-r--r--  1 chriskl  users   18760 Mar 11 10:59 typename.o

It all got built as well as everything in ecpglib

Chris


Re: pgsql-server/src/interfaces/ecpg ChangeLog Mak ...

From
Tom Lane
Date:
"Christopher Kings-Lynne" <chriskl@familyhealth.com.au> writes:
> It all got built as well as everything in ecpglib

Note the dates on those files --- evidently you didn't do "make clean"
before "cvs update", and now you have no Makefile that will remove 'em.

            regards, tom lane

Re: pgsql-server/src/interfaces/ecpg ChangeLog Mak ...

From
"Neil Conway"
Date:
Tom Lane said:
> CVS tip is broken:
>
> make[4]: Entering directory
> `/home/tgl/pgsql/src/interfaces/ecpg/preproc' make -C
> ../../../../src/port all
> make[5]: Entering directory `/home/tgl/pgsql/src/port'
> make[5]: Nothing to be done for `all'.
> make[5]: Leaving directory `/home/tgl/pgsql/src/port'
> make[4]: *** No rule to make target `../lib/typename.o', needed by
> `ecpg'.  Stop. make[4]: Leaving directory
> `/home/tgl/pgsql/src/interfaces/ecpg/preproc' make[3]: *** [all] Error 2

I don't see that locally (after running 'make -C src/interfaces/ecpg clean
; cvs -d -P update; make'), but I do see these compile warnings:

execute.c: In function `ECPGstore_input':
execute.c:864: warning: assignment makes integer from pointer without a cast
execute.c:841: warning: `str' might be used uninitialized in this function

Cheers,

Neil



Re: pgsql-server/src/interfaces/ecpg ChangeLog Mak ...

From
"Neil Conway"
Date:
Neil Conway said:
> Tom Lane said:
>> make[4]: *** No rule to make target `../lib/typename.o', needed by
>> `ecpg'.  Stop. make[4]: Leaving directory
>> `/home/tgl/pgsql/src/interfaces/ecpg/preproc' make[3]: *** [all] Error
>> 2
>
> I don't see that locally (after running 'make -C src/interfaces/ecpg
> clean ; cvs -d -P update; make')

Uh, sorry -- I somehow managed to miss that on my console. I *do* get that
exact error, as well as the compile warnings I mentioned earlier.

Cheers,

Neil



Re: pgsql-server/src/interfaces/ecpg ChangeLog Mak ...

From
Michael Meskes
Date:
On Sun, Mar 16, 2003 at 09:44:55PM -0500, Tom Lane wrote:
> meskes@postgresql.org (Michael Meskes) writes:
> >     Started working on a seperate pgtypes library. First test work. PLEASE test compilation on iother systems.
>
> CVS tip is broken:

Fixed. Thanks.

Michael
--
Michael Meskes
Email: Michael@Fam-Meskes.De
ICQ: 179140304
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!