473,396 Members | 2,039 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

postgres.h location?


I'm looking for the file postgres.h in my recent install of
postgres-7.4.5 on
a MacOS 10.3.5 system.

I'm attempting to build PyGreSQL-3.5, which appears to require the
postgres
include dir.

My build of postgres-7.4.5 did produce an include dir,
/usr/local/pgsql/include;
but it does not contain postgres.h. Curiously, it does contain a file
called postgres_ext.h.
I'm sure they're not one-and-the-same ...

Suggestions?

Thanks in advance!
Scott


---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to ma*******@postgresql.org so that your
message can get through to the mailing list cleanly

Nov 23 '05 #1
5 3477
Scott Frankel <le*****@pacbell.net> writes:
My build of postgres-7.4.5 did produce an include dir,
/usr/local/pgsql/include;
but it does not contain postgres.h.


You need to do "make install-all-headers" while installing to install
the server-side headers there.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to ma*******@postgresql.org

Nov 23 '05 #2
On Wed, Oct 06, 2004 at 03:27:39PM -0400, Tom Lane wrote:
Scott Frankel <le*****@pacbell.net> writes:
My build of postgres-7.4.5 did produce an include dir,
/usr/local/pgsql/include;
but it does not contain postgres.h.


You need to do "make install-all-headers" while installing to install
the server-side headers there.


BTW, did this just change in 8.0? The latest CVS sources no longer
have an install-all-headers target (GNUmakefile.in 1.41); it looks
like the install target installs all headers now.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Nov 23 '05 #3
Michael Fuhr <mi**@fuhr.org> writes:
On Wed, Oct 06, 2004 at 03:27:39PM -0400, Tom Lane wrote:
You need to do "make install-all-headers" while installing to install
the server-side headers there.
BTW, did this just change in 8.0?


There was a proposal to change it, but I dunno if it was committed.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Nov 23 '05 #4

The option install-all-headers was removed in the past few days because
install by default now installs all headers.

---------------------------------------------------------------------------

Tom Lane wrote:
Michael Fuhr <mi**@fuhr.org> writes:
On Wed, Oct 06, 2004 at 03:27:39PM -0400, Tom Lane wrote:
You need to do "make install-all-headers" while installing to install
the server-side headers there.

BTW, did this just change in 8.0?


There was a proposal to change it, but I dunno if it was committed.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org


--
Bruce Momjian | http://candle.pha.pa.us
pg***@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Nov 23 '05 #5

Default now installs all headers ... with v8.0 of postgres, right?

New to postgres (and db's for that matter) I just downloaded the
tarball for postgres-7.4.5. Invoking the make install-all-headers
cmd did indeed produce the servers subdir under include.

Unfortunately, my attempts to build PyGreSQL still return a
crudjillion error msgs. But that's a matter for another list ;)

Thanks for the feedback -
Scott


On Oct 6, 2004, at 3:26 PM, Bruce Momjian wrote:

The option install-all-headers was removed in the past few days because
install by default now installs all headers.

-----------------------------------------------------------------------
----

Tom Lane wrote:
Michael Fuhr <mi**@fuhr.org> writes:
On Wed, Oct 06, 2004 at 03:27:39PM -0400, Tom Lane wrote:
You need to do "make install-all-headers" while installing to
install
the server-side headers there.

BTW, did this just change in 8.0?


There was a proposal to change it, but I dunno if it was committed.

regards, tom lane

---------------------------(end of
broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org


--
Bruce Momjian | http://candle.pha.pa.us
pg***@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania
19073

---------------------------(end of
broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Nov 23 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Anthony Ewell | last post by:
Hi All, I am in the unique situation of designing a new Red Hat 9 server to run a Postgres database in a small company. The database that is being converted is currently 30 MB. There will be...
0
by: Rob Young | last post by:
Postgres to Mysql I've administrated a few Postgres database servers in the past, but have just started working with mysql, as I've volunteered to admin the mysql server run by my school's comp...
2
by: Maniek | last post by:
Hi, I have: (WinXP+SP2+MSSQL2k+Postgres 8.0.2) I'm trying to link the PostgreSQL 8.0.2 server in Enterprise Manager Tree and don't know some of the parameters. Has someone of you a Postgres...
48
by: Edwin Quijada | last post by:
Hi !! Everybody I am developing app using Delphi and I have a question: I have to save pictures into my database. Each picture has 20 o 30k aprox. What is the way more optimus? That 's table will...
3
by: N.K. | last post by:
Hi, I've just installed postgres on the Linux server. It is supposed to start automatically which I think it does since I can run an sql stmt right away. When I'm trying to connect from a remote...
3
by: warwick.poole | last post by:
I am interested in finding out about Enterprise scale Postgres installations and clustering, especially on Linux. Essentially I would like to know the possibility that Postgres can store the...
7
by: Randy Yates | last post by:
This has probably been asked before so please be gracious. I have looked on the postgres site and didn't find anything "satisfying." Is there *good* overview of postgres and associated...
18
by: Joe Lester | last post by:
This thread was renamed. It used to be: "shared_buffers Question". The old thread kind of died out. I'm hoping to get some more direction by rephrasing the problem, along with some extra...
0
by: NM | last post by:
Hello, I've got a problem inserting binary objects into the postgres database. I have binary objects (e.g. images or smth else) of any size which I want to insert into the database. Funny is it...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.