Re: [BUGS] Feature request: include script file into function body

2011-02-02 Thread Steve White
normal | volatile | cepheids | plpythonu | :yadda | ==== Please explain. -- | - - - - - - - - - - - - - - - - - - - - - - - - - | Steve White +49(331)7499-202 | E-ScienceZi. 27 Villa Turb

Re: [BUGS] Feature request: include script file into function body (better syntax)

2011-02-01 Thread Steve White
Hi Tom, I already agreed to Kevin's proposed syntax, and it is better than my suggestion, but mine isn't quite as crazy as you make out. On 1.02.11, Tom Lane wrote: > Steve White writes: > > Try this instead: > > > ==

Re: [BUGS] Feature request: include script file into function body

2011-02-01 Thread Steve White
UNCTION yadda_yadda() returns text language plpythonu as > > \iq yadda_yadda.py > > ; Yes this will work for me. > > Just got this --- looks like we independently arrived at the same > conclusion. > > regards, tom lane > -- | - - - - -

Re: [BUGS] Feature request: include script file into function body (better syntax)

2011-02-01 Thread Steve White
Hi again, Now that I know what got you all riled, I can propose something that might be more satisfactory. See below. On 1.02.11, Steve White wrote: > Hi again, all, > > OK I think I now know what the misunderstanding is. > > > [Please don't top-post.

Re: [BUGS] Feature request: include script file into function body

2011-02-01 Thread Steve White
Hi again, all, OK I think I now know what the misunderstanding is. > [Please don't top-post. Rearranged for clarity.] > > Steve White wrote: > > On 1.02.11, Tom Lane wrote: > >> Steve White writes: > >>> It would be really nice to have a way to load

Re: [BUGS] Feature request: include script file into function body

2011-02-01 Thread Steve White
Hi Kevin, On 1.02.11, Kevin Grittner wrote: > [Please don't top-post. Rearranged for clarity.] > As you like. > Steve White wrote: > > On 1.02.11, Tom Lane wrote: > >> Steve White writes: > >>> It would be really nice to have a way to load script

Re: [BUGS] Feature request: include script file into function body

2011-02-01 Thread Steve White
Hi Pavel, On 1.02.11, Pavel Stehule wrote: > Hello > > 2011/2/1 Steve White : > > Hi Tom, > > > > This seems like a detail that is beside the point I'm making. > > But security is important, so let's think about it. > > > > PostgreSQL ha

Re: [BUGS] Feature request: include script file into function body

2011-02-01 Thread Steve White
ing anything stupid that would open a security hole." Cheers again! On 1.02.11, Tom Lane wrote: > Steve White writes: > > It would be really nice to have a way to load script (especially Python > > and Perl) from a separate file into a function body. > > This seem

[BUGS] Portable, simple means of determining distribution directory

2011-02-01 Thread Steve White
! -- | - - - - - - - - - - - - - - - - - - - - - - - - - | Steve White +49(331)7499-202 | E-ScienceZi. 27 Villa Turbulenz | - - - - - - - - - - - - - - - - - - - - - - - - - | Astrophysikalisches Institut Potsdam (AIP) | An der

[BUGS] Feature request: include script file into function body

2011-02-01 Thread Steve White
perhaps with an environment variable replacement (e.g. $LIBDIR). Cheers! -- | - - - - - - - - - - - - - - - - - - - - - - - - - | Steve White +49(331)7499-202 | E-ScienceZi. 27

[BUGS] BUG #5397: powertop reports excessive wakeups

2010-03-30 Thread Steve White
The following bug has been logged online: Bug reference: 5397 Logged by: Steve White Email address: stevan_wh...@hotmail.com PostgreSQL version: 8.4.2 Operating system: Ubuntu 10.5 beta Description:powertop reports excessive wakeups Details: This is a Samsung NC20

[BUGS] REFERENCES misbehaves with inheritance

2010-01-31 Thread Steve White
=== Cheers! -- | - - - - - - - - - - - - - - - - - - - - - - - - - | Steve White +49(331)7499-202 | e-Science / AstroGrid-D Zi. 35 Bg. 20 | - - - - - - - - - - - - - - - - - - - - - - - - - | Astrophysikalisches Institut Potsdam (A

Re: [BUGS] BUG #5272: PL/Python SELECT: return composite fields as dict, not str

2010-01-31 Thread Steve White
ing in the PL/Perl section. Specifically, a user might want to know if it is actually dangerous to use PL/Python, etc. If it is dangerous, how, and for whom? Where should one be careful? Cheers! On 11.01.10, Robert Haas wrote: > On Mon, Jan 11, 2010 at 11:41 AM, Steve White wrote: > > I

[BUGS] BUG #5272: PL/Python SELECT: return composite fields as dict, not str

2010-01-11 Thread Steve White
The following bug has been logged online: Bug reference: 5272 Logged by: Steve White Email address: swh...@aip.de PostgreSQL version: 8.4.2 Operating system: Linux Description:PL/Python SELECT: return composite fields as dict, not str Details: Hi, As recently