473,394 Members | 2,020 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,394 software developers and data experts.

Install plpython

Hello list,

First of all excuse me if this question is so obvius, I have not found
the info I need on this.

I installed pg 7.4.1 from source, now I need to add plpython lang,
should I have to make a full reinstall and recompile with plpython
switch or is there a another way to "add" the lang to the current pg
installation.

Thanks in advance
"Todos somos fragmentos no sólo del hombre en general, sino de nosotros
mismos." Georg Simmel. Filósofo alemán.
--
Sinceramente,
Josué Maldonado.
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

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

Nov 23 '05 #1
6 5556
On Sat, Apr 24, 2004 at 13:38:13 -0600,
Josué Maldonado <jo***@lamundial.hn> wrote:
Hello list,

First of all excuse me if this question is so obvius, I have not found
the info I need on this.

I installed pg 7.4.1 from source, now I need to add plpython lang,
should I have to make a full reinstall and recompile with plpython
switch or is there a another way to "add" the lang to the current pg
installation.


Run:
createlang plpythonu

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

Nov 23 '05 #2
On Sat, Apr 24, 2004 at 13:38:13 -0600,
Josué Maldonado <jo***@lamundial.hn> wrote:
Hello list,

First of all excuse me if this question is so obvius, I have not found
the info I need on this.

I installed pg 7.4.1 from source, now I need to add plpython lang,
should I have to make a full reinstall and recompile with plpython
switch or is there a another way to "add" the lang to the current pg
installation.


Run:
createlang plpythonu

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

Nov 23 '05 #3
Hello Bruno and thanks for your response,

El 25/04/2004 4:59 AM, Bruno Wolff III en su mensaje escribio:
Run:
createlang plpythonu


I got this error:
createlang: language installation failed: ERROR: could not access file
"$libdir/plpython": No such file or directory

I'm new to python, I guess this is not related to pg maybe to the python
installation.

--
Sinceramente,
Josué Maldonado.
"Hay dos días sobre los que nadie debería preocuparse nunca, y son ayer
y mañana." -- Robert J. Burdette.

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

Nov 23 '05 #4
Hello Bruno and thanks for your response,

El 25/04/2004 4:59 AM, Bruno Wolff III en su mensaje escribio:
Run:
createlang plpythonu


I got this error:
createlang: language installation failed: ERROR: could not access file
"$libdir/plpython": No such file or directory

I'm new to python, I guess this is not related to pg maybe to the python
installation.

--
Sinceramente,
Josué Maldonado.
"Hay dos días sobre los que nadie debería preocuparse nunca, y son ayer
y mañana." -- Robert J. Burdette.

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

Nov 23 '05 #5
On Mon, Apr 26, 2004 at 09:02:50AM -0600, Josué Maldonado wrote:
Hello Bruno and thanks for your response,

El 25/04/2004 4:59 AM, Bruno Wolff III en su mensaje escribio:
Run:
createlang plpythonu


I got this error:
createlang: language installation failed: ERROR: could not access file
"$libdir/plpython": No such file or directory


I think you have to give the --with-python option to configure.

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
Tulio: oh, para qué servirá este boton, Juan Carlos?
Policarpo: No, aléjense, no toquen la consola!
Juan Carlos: Lo apretaré una y otra vez.

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Nov 23 '05 #6
On Mon, Apr 26, 2004 at 09:02:50AM -0600, Josué Maldonado wrote:
Hello Bruno and thanks for your response,

El 25/04/2004 4:59 AM, Bruno Wolff III en su mensaje escribio:
Run:
createlang plpythonu


I got this error:
createlang: language installation failed: ERROR: could not access file
"$libdir/plpython": No such file or directory


I think you have to give the --with-python option to configure.

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
Tulio: oh, para qué servirá este boton, Juan Carlos?
Policarpo: No, aléjense, no toquen la consola!
Juan Carlos: Lo apretaré una y otra vez.

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Nov 23 '05 #7

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

Similar topics

2
by: Mage | last post by:
Hello! create or replace function trigger_keywords_maintain() returns trigger as $$ return 'MODIFY' $$ language plpythonu; update table set id = id where id = 7; ERROR: invalid input...
0
by: Josué Maldonado | last post by:
Hello list, First of all excuse me if this question is so obvius, I have not found the info I need on this. I installed pg 7.4.1 from source, now I need to add plpython lang, should I have to...
3
by: Clodoaldo Pinto Neto | last post by:
Hi all, I'm restoring a database from 7.3.4 FC1 to 7.4.2 FC2: $ pg_restore -d KakaoStats KakaoStats.dump pg_restore: could not execute query: ERROR: could not access file...
2
by: Jerry LeVan | last post by:
Have any configure experts looked at building plpython.so on mac os x lately? The standard configure key "--with-python" fails miserably (libpython is not a shared lib error message). I found...
5
by: Sim Zacks | last post by:
I have the following function and I am getting an invalid syntax error when I try to run it. I have tried the function a number of ways including with named parameters and non-named parameters...
0
by: RL | last post by:
Hi, I am trying to implement a few functions in Plpython (in Postgresql 8.0.1). However, I could find the solution in the documentation, so I would appreciate your help. My question is how to...
1
by: Gerardo Herzig | last post by:
Hi all, sory if this is kind of , but cannot find the answer for this behaviour Im programming a db function using plpython...i have a db called 'sessions', and a postgres 8.1.2 database called...
4
by: Alchemist | last post by:
I am using Python 2.4 and Postgresql 8.2 database server. On the database I have created a stored function, example, CREATE OR REPLACE FUNCTION calculateaverage() I created a new python script...
0
by: Gerardo Herzig | last post by:
Hi all. Im having a hard time trying to compile the plpython package. This is the error make gives me: gherzig@vdb:/usr/local/src/postgresql-8.2.5/src/pl/plpythonmake gcc -O2 -Wall...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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...

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.