473,800 Members | 2,893 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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*******@postg resql.org so that your
message can get through to the mailing list cleanly

Nov 23 '05 #1
5 3515
Scott Frankel <le*****@pacbel l.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*******@postg resql.org

Nov 23 '05 #2
On Wed, Oct 06, 2004 at 03:27:39PM -0400, Tom Lane wrote:
Scott Frankel <le*****@pacbel l.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.or g> 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.or g> 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.ph a.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.or g> 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.ph a.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
4447
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 20 users maximum. As I am a newbie to Postgres, I do not know where the data is stored (/usr?). Since I am starting from scratch, I thought I'd ask the group for suggestions on how they would partition
0
1731
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 sci student organization. I'm going through the mysql manual on the mysql website right now, starting to figure out the differences and similarities between the systems. It seems like security and user administration is handled a bit differently...
2
2847
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 server linked to MSSQL? Could you tell me, what data you have, please? Security / Linked Servers / New Linked Server...
48
11927
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 have 500000 records around. Somebody said the best way to do that was encoder the picture to field bytea but I dont know about this. Another way is save the path to the picture file but I dont like so much because I need to write to disk by OS...
3
4209
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 machine I get a message that the remote machine IP address is not specified in pg_hba.conf, that there is no record of that machine there. ph_hba.conf is set up correctly, because when I run the following: postmaster -i -D /var/lib/pgsql/data...
3
8705
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 database data in a central location (ex: on a SAN fiber array) and have a cluster of machines sharing processor/RAM/IO bandwidth to do the application processing. Or perhaps there is another solution similar to what www.emicnetworks.com have...
7
1594
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 utilities? -- % Randy Yates % "Remember the good old 1980's, when %% Fuquay-Varina, NC % things were so uncomplicated?" %%% 919-577-9882 % 'Ticket To The Moon' %%%% <yates@ieee.org> % *Time*,...
18
5155
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 observations I've recently made. The core of the problem is that Postgres is filling up my hard drive with swap files at the rate of around 3 to 7 GB per week (that's Gigabytes not Megabytes) . At this rate it takes roughly two months to fill up my 40...
0
2707
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 works for files larger than 8000 Bytes. If a file is less than 1000 Bytes I get the following message: Error message: --invalid input syntax for type oid: "\074\077......";
0
9550
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10250
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10032
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9085
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7574
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6811
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5469
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5603
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4149
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.