Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #14927
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <M.Komon@SiliconHill.cz> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.000 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'oct': 0.02; 'python.': 0.04; 'context': 0.04; 'postgresql': 0.05; 'subject:Python': 0.06; 'python': 0.08; 'executed': 0.09; 'i.e.,': 0.09; 'suggestions,': 0.09; '25,': 0.12; 'am,': 0.12; 'stored': 0.13; '"client': 0.16; '4:59': 0.16; 'alain': 0.16; 'db)': 0.16; 'function?': 0.16; 'java.': 0.16; 'oracle.': 0.16; 'postgresql)': 0.16; 'sense:': 0.16; 'cc:addr:python-list': 0.16; 'wrote:': 0.16; 'meant': 0.17; '>>>': 0.18; 'cc:no real name:2**0': 0.20; "doesn't": 0.22; 'cc:2**0': 0.22; 'header:In-Reply-To:1': 0.22; 'tue,': 0.23; 'pm,': 0.24; 'besides': 0.24; 'libraries': 0.24; 'code': 0.25; 'writes:': 0.25; 'code,': 0.28; 'martin': 0.28; 'url:mailman': 0.28; 'module.': 0.29; 'oracle': 0.29; 'cc:addr:python.org': 0.30; 'thanks': 0.30; 'shows': 0.32; "can't": 0.33; 'there': 0.33; 'url:listinfo': 0.33; "i've": 0.34; 'header:User-Agent:1': 0.34; 'subject:/': 0.34; 'replacement': 0.34; 'speaking': 0.35; '(for': 0.35; 'url:python': 0.36; 'page': 0.37; 'url:org': 0.38; 'subject:: ': 0.39; 'received:192': 0.39; 'client': 0.39; 'else': 0.39; 'received:cz': 0.63; 'procedures': 0.64; 'taylor': 0.67; 'hmm...': 0.84; 'subject:SQL': 0.84 |
| X-Spam-Score | -100.406 |
| X-Spam-Level | |
| X-Spam-Status | No, score=-100.406 tagged_above=-255 required=5 tests=[ALL_TRUSTED=-1.44, AWL=0.608, CRM114_HAM_00=, RATWARE_GECKO_BUILD=1.426, SMTPAUTH_SHDOMAIN=-100] |
| Date | Mon, 24 Oct 2011 18:37:24 +0200 |
| From | Martin Komoň <M.Komon@SiliconHill.cz> |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0a2) Gecko/20110927 Thunderbird/8.0a2 |
| MIME-Version | 1.0 |
| To | Alec Taylor <alec.taylor6@gmail.com> |
| Subject | Re: Python as a replacement to PL/SQL |
| References | <mailman.2176.1319463553.27778.python-list@python.org> <87bot6sb2j.fsf@dpt-info.u-strasbg.fr> <CAO+9iGe5sWHyFUarRQ8C-b0ZtK7ogyxf6YBongjo6ocb72Uogg@mail.gmail.com> |
| In-Reply-To | <CAO+9iGe5sWHyFUarRQ8C-b0ZtK7ogyxf6YBongjo6ocb72Uogg@mail.gmail.com> |
| X-Enigmail-Version | 1.4a1pre |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 7bit |
| Cc | python-list@python.org |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2184.1319474262.27778.python-list@python.org> (permalink) |
| Lines | 42 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1319474262 news.xs4all.nl 6890 [2001:888:2000:d::a6]:36498 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:14927 |
Show key headers only | View raw
PostgreSQL supports PL/SQL, PL/TCL, PL/Python, PL/Perl and I've also seen PL/Java add on module. Martin On 10/24/2011 4:59 PM, Alec Taylor wrote: > Hmm... > > What else is there besides PL/Python (for any DB) in the context of > writing stored procedures in function? > > Thanks for all suggestions, > > Alec Taylor > > On Tue, Oct 25, 2011 at 1:45 AM, Alain Ketterlin > <alain@dpt-info.u-strasbg.fr> wrote: >> Alec Taylor <alec.taylor6@gmail.com> writes: >> >>> Is there a set of libraries for python which can be used as a complete >>> replacement to PL/SQL? >> >> This doesn't make much sense: PL/SQL lets you write server-side code, >> i.e., executed by the DBMS. Oracle can't execute python code directly, >> so python can only be used on the client side (I meant "client of the >> DBMS"), i.e., not to write stored procedures. There is no "complete >> replacement" of PL/SQL besides Java. >> >> This page shows you how to _call_ PL/SQL procedures from a python script: >> >> http://www.oracle.com/technetwork/articles/dsl/python-091105.html >> >>> (I am speaking from the context of Oracle DB, PL/Python only works >>> with PostgreSQL) >> >> PL/Python is a different beast, it lets you write stored functions in >> python. There is no such thing, afaik, with Oracle. >> >> -- Alain. >> -- >> http://mail.python.org/mailman/listinfo/python-list >>
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Python as a replacement to PL/SQL Alec Taylor <alec.taylor6@gmail.com> - 2011-10-25 00:39 +1100
Re: Python as a replacement to PL/SQL Alain Ketterlin <alain@dpt-info.u-strasbg.fr> - 2011-10-24 16:45 +0200
Re: Python as a replacement to PL/SQL Alec Taylor <alec.taylor6@gmail.com> - 2011-10-25 01:59 +1100
Re: Python as a replacement to PL/SQL Ben Finney <ben+python@benfinney.id.au> - 2011-10-25 08:36 +1100
Re: Python as a replacement to PL/SQL Martin Komoň <M.Komon@SiliconHill.cz> - 2011-10-24 18:37 +0200
csiph-web