Leandro Fanzone <[EMAIL PROTECTED]> writes:
> I have compiled PostgreSQL 7.1.2 with gcc 3.0.1, and have the following
> problem: if I include first libpq++.h before iostream, id est:
> #include
> #include
> the compiler complains:
> This is because somewhere in PostgreSQL you have the following
I have, but while there are numerous usages of V1 style in the main code it
does not show how the function is defined via create function. This is
problematic to say the least.
Geoff
-Original Message-
From: Tom Lane [mailto:[EMAIL PROTECTED]]
Sent: Sunday, August 26, 2001 1:50 AM
To: G
"Gowey, Geoffrey" <[EMAIL PROTECTED]> writes:
> ... I have also tried the contrib
> tree, but all the programs in there use version 0 coding and I wish to start
> off on the right foot with pgsql by using the latest method.
The contrib tree is not as well maintained as the main source code.
Forge
On Saturday 25 August 2001 19:18, Peter Eisentraut wrote:
> AFAICT, Pg.so does get the runpath set correctly. Are you saying it
> doesn't work on your system or do you want to get rid of the
> recompilation during installation?
Pg.so does not get the proper RPATH in a DESTDIR build environment.
> Regarding the licencing of the code, I always release my code under GPL,
> which is the licence I prefer, but my code in the backend is obviously
> released under the original postgres licence. Since the module is loaded
> dynamically and not linked into the backend I don't see a problem here.
>
I tried this, but it severely lacks in clarity for someone just getting
started in extending pgsql with c. My main gripe really is that while it
shows how to write the functions (and I've already read the .h file for all
the available v1 features) it lacks in explaining what type is needed for
th
> Anyone know of a good reference or set of examples clearly showing the
usage
> of V1? I have a problem that I've posted on pgsql-general, but this list
> might be more appropriate for.
Start with:
http://www.postgresql.org/idocs/index.php?xfunc-c.html
Then look at the contrib directory in
Anyone know of a good reference or set of examples clearly showing the usage
of V1? I have a problem that I've posted on pgsql-general, but this list
might be more appropriate for.
Geoff
---(end of broadcast)---
TIP 2: you can get off all lists at
* Peter Eisentraut <[EMAIL PROTECTED]> [010825 18:14]:
> Larry Rosenman writes:
>
> > Can we do something similar for the distribution to set the
> > RUNPATH for Pg.so?
>
> AFAICT, Pg.so does get the runpath set correctly. Are you saying it
> doesn't work on your system or do you want to ge
> Bruce Momjian <[EMAIL PROTECTED]> writes:
> > In trying to decide how to keep ODBC compilable standalone, I can't
> > figure out how to get md5.c in there from backend/libpq.
>
> AFAIK ODBC hasn't been compilable standalone for awhile; doesn't it
> depend on our toplevel configure script now?
> > How can i add foreign keys after the CREATE TABLE? Is there some
> > combination of other SQL commands that will do the trick?
>
> Peter,
>
> try ALTER TABLE a_table ADD CONSTRAINT ... FOREIGN KEY ...
>
I hate asking stupid questions. I scanned the ALTER TABLE syntax
and somehow overlooked i
Bruce Momjian <[EMAIL PROTECTED]> writes:
> In trying to decide how to keep ODBC compilable standalone, I can't
> figure out how to get md5.c in there from backend/libpq.
AFAIK ODBC hasn't been compilable standalone for awhile; doesn't it
depend on our toplevel configure script now?
> Is it craz
On Sunday, 26. August 2001 00:37, Peter Harvey wrote:
> How can i add foreign keys after the CREATE TABLE? Is there some
> combination of other SQL commands that will do the trick?
Peter,
try ALTER TABLE a_table ADD CONSTRAINT ... FOREIGN KEY ...
Regards,
--
Christof Glaser
--
* Peter Eisentraut <[EMAIL PROTECTED]> [010825 18:14]:
> Larry Rosenman writes:
>
> > Can we do something similar for the distribution to set the
> > RUNPATH for Pg.so?
>
> AFAICT, Pg.so does get the runpath set correctly. Are you saying it
> doesn't work on your system or do you want to ge
Larry Rosenman writes:
> Can we do something similar for the distribution to set the
> RUNPATH for Pg.so?
AFAICT, Pg.so does get the runpath set correctly. Are you saying it
doesn't work on your system or do you want to get rid of the
recompilation during installation?
--
Peter Eisentraut
How can i add foreign keys after the CREATE TABLE? Is there some
combination of other SQL commands that will do the trick?
My problem is;
a. that I have a circular reference between 3 tables
b. that I must be able to reverse engineer the resulting references in
the shema by querying for foreign
> > In trying to decide how to keep ODBC compilable standalone, I can't
> > figure out how to get md5.c in there from backend/libpq. Is it crazy to
> > put md5.c in interfaces/odbc and symlink it from there to backend/libpq
> > and interfaces/libpq? I don't want to have two copies of md5.c but t
> In trying to decide how to keep ODBC compilable standalone, I can't
> figure out how to get md5.c in there from backend/libpq. Is it crazy to
> put md5.c in interfaces/odbc and symlink it from there to backend/libpq
> and interfaces/libpq? I don't want to have two copies of md5.c but that
> ma
In trying to decide how to keep ODBC compilable standalone, I can't
figure out how to get md5.c in there from backend/libpq. Is it crazy to
put md5.c in interfaces/odbc and symlink it from there to backend/libpq
and interfaces/libpq? I don't want to have two copies of md5.c but that
may be anoth
> Bruce Momjian <[EMAIL PROTECTED]> writes:
> > Is include/config.h still supposed to be in CVS?
>
> What? config.h was never supposed to be in CVS.
>
> config.h.in has been renamed to pg_config.h.in, see Peter's recent
> activity ...
I see. It was reported to me on IRC, and I saw the file in
* Peter Eisentraut <[EMAIL PROTECTED]> [010824 19:33]:
> Larry Rosenman writes:
>
> > I noticed while testing the preceeding patch for resultmap, that we
> > use /bin/ld -G to build the .so's. THIS DOESN'T WORK on UnixWare and
> > OpenUNIX 8.
> >
> > Where can I change this to use cc -G?
>
> sr
Is include/config.h still supposed to be in CVS?
--
Bruce Momjian| http://candle.pha.pa.us
[EMAIL PROTECTED] | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup.| Drexel Hill, Pennsylvani
Hey guys,
Can you move this thread elsewhere?
It's EXTREMELY off topic now.
:(
Regards and best wishes,
Justin Clift
Ian Lance Taylor wrote:
>
> David Ford <[EMAIL PROTECTED]> writes:
>
> > >ooohh I've been raggin on
> > >Marc on that one for w
23 matches
Mail list logo