[HACKERS] Re: [Pljava-dev] Should creating a new base type require superuser status?

2008-08-01 Thread Thomas Hallgren
It seems perfectly safe to me too for the reason that Kris mentions. Tom, could you please elaborate where you see a security hole? Regards, Thomas Hallgren Tom Lane wrote: Kris Jurka <[EMAIL PROTECTED]> writes: On Wed, 30 Jul 2008, Alvaro Herrera wrote: I do agree that cr

Re: [HACKERS] Re: [Pljava-dev] Should creating a new base type require superuser status?

2008-08-01 Thread Thomas Hallgren
Tom Lane wrote: Thomas Hallgren <[EMAIL PROTECTED]> writes: Tom, could you please elaborate where you see a security hole? The problem that we've seen in the past shows up when the user lies in the CREATE TYPE command, specifying type representation properties that are dif

Re: [HACKERS] Re: [Pljava-dev] Should creating a new base type require superuser status?

2008-08-02 Thread Thomas Hallgren
Tom Lane wrote: This is a non-issue in PL/Java. An integer parameter is never passed by reference and there's no way the PL/Java user can get direct access to backend memory. So what exactly does happen when the user deliberately specifies wrong typlen/typbyval/typalign info when creati

Re: [Pljava-dev] [HACKERS] Re: Should creating a new base type require superuser status?

2009-02-17 Thread Thomas Hallgren
Kris Jurka wrote: 3) By value: pljava does not correctly handle passed by value types correctly, allowing access to random memory. This is simply not true. There's no way a Java developer can access random memory through PL/Java. - thomas -- Sent via pgsql-hackers mailing list (pgsql-hack

Re: [Pljava-dev] [HACKERS] Re: Should creating a new base type require superuser status?

2009-02-18 Thread Thomas Hallgren
Kris Jurka wrote: Thomas Hallgren wrote: Kris Jurka wrote: 3) By value: pljava does not correctly handle passed by value types correctly, allowing access to random memory. This is simply not true. There's no way a Java developer can access random memory through PL/Java. No, the poi

[HACKERS] Shared library conflicts

2006-06-23 Thread Thomas Hallgren
ed to fix this once and for all? Another related question. What happens when I use --without-zlib? Does it have any effect on besides disabling compression for the dump/restore utilities? Is there anyway to make it affect the backend only? Kind Regards, Thomas Hallgren

Re: [HACKERS] Shared library conflicts

2006-06-23 Thread Thomas Hallgren
That's good news. Any chance of getting this fix backported to 8.1? Or at least, the libz part of it? Regards, Thomas Hallgren Martijn van Oosterhout wrote: On Fri, Jun 23, 2006 at 10:45:29AM +0200, Thomas Hallgren wrote: There was a discussion some time back concerning the linking o

[HACKERS] refcount leak warnings

2006-06-27 Thread Thomas Hallgren
here. What should I look for when trying to find the cause of such warnings? Regards, Thomas Hallgren ---(end of broadcast)--- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq

[HACKERS] [Fwd: Re: [Pljava-dev] char with trailing space, PreparedStatement.setObject & SetString]

2006-06-27 Thread Thomas Hallgren
rrect behavior? Regards, Thomas Hallgren Original Message Subject: Re: [Pljava-dev] char with trailing space, PreparedStatement.setObject & SetString Date: Tue, 27 Jun 2006 12:07:19 -0400 From: JEAN-PIERRE PELLETIER <[EMAIL PROTECTED]> To: [EMAIL PROTECTED]

Re: [HACKERS] [Fwd: Re: [Pljava-dev] char with trailing space, PreparedStatement.setObject

2006-06-27 Thread Thomas Hallgren
Sorry, wrong list... I reposted this on pgsql-jdbc instead. ---(end of broadcast)--- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match

[HACKERS] Fixed length datatypes. WAS [GENERAL] UUID's as primary keys

2006-06-28 Thread Thomas Hallgren
Martijn van Oosterhout wrote: On Wed, Jun 28, 2006 at 01:56:47PM +0200, Thomas Hallgren wrote: A user that is trusted with installing a C-function in the backend is free to scan the process memory anyway so in what way did that increase the security? IMHO, the only relevant security in that

Re: [HACKERS] Fixed length datatypes. WAS [GENERAL] UUID's as

2006-06-29 Thread Thomas Hallgren
ndry, and at some point give it up for inclusion into PostgreSQL. One requirement would be that it runs on Windows. Is that something you have tested? Regards, Thomas Hallgren ---(end of broadcast)--- TIP 4: Have you searched our list archives? http://archives.postgresql.org

Re: [HACKERS] Fixed length datatypes. WAS [GENERAL] UUID's as

2006-06-29 Thread Thomas Hallgren
ava clients). Some PL's will also enable such packages out of the box. The actual type would be extremely generic, lightweight, and easy to implement. No portability issues whatsoever. The only difficulty that I see is naming it :-). Regards, Thomas Hallgren ---(end o

Re: [HACKERS] [GENERAL] UUID's as primary keys

2006-06-29 Thread Thomas Hallgren
in all indexes, all foreign keys, etc. In a normalized database some tables may consist of UUID columns only. Regards, Thomas Hallgren ---(end of broadcast)--- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index

Re: [HACKERS] [GENERAL] UUID's as primary keys

2006-06-29 Thread Thomas Hallgren
Martijn van Oosterhout wrote: On Thu, Jun 29, 2006 at 03:54:36PM +0200, Thomas Hallgren wrote: I have to concur with this. Assume you use a bytea for a UUID that in turn is used as a primary key. The extra overhead will be reflected in all indexes, all foreign keys, etc. In a normalized

Re: [HACKERS] Fixed length datatypes. WAS [GENERAL] UUID's as

2006-06-29 Thread Thomas Hallgren
e. just add a 16 byte data type and forget all about UUID's for now. Regards, Thomas Hallgren ---(end of broadcast)--- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq

Re: [HACKERS] [GENERAL] UUID's as primary keys

2006-07-06 Thread Thomas Hallgren
pgfoundry/contrib. I second that. Regards, Thomas Hallgren ---(end of broadcast)--- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq

Re: [HACKERS] Three weeks left until feature freeze

2006-07-11 Thread Thomas Hallgren
latforms where PL/Java is ported must either support GCJ 4.0 or higher or have a Java Runtime Environment 1.4.2 or higher installed. Regards, Thomas Hallgren Bruce Momjian wrote: There are roughly three weeks left until the feature freeze on August 1. If people are working on items, they should be

Re: [HACKERS] Three weeks left until feature freeze

2006-07-11 Thread Thomas Hallgren
end is never exposed to more then one thread at a time. ... (from the top of my head, there are probably more reasons) IMHO, this is yet another reason to actually include it in core. I'm not an expert on the other PL's but my guess is that PL/Java is far more sensitive to

Re: [HACKERS] Three weeks left until feature freeze

2006-07-11 Thread Thomas Hallgren
even then I have some doubts. The good news in my opinion is that if PL/Java would make it to the core it could make a good reference implementation for other equally advanced language mappings. Regards, Thomas Hallgren ---(end of broadcast)-

Re: [HACKERS] Three weeks left until feature freeze

2006-07-12 Thread Thomas Hallgren
hen you say PL/J could be considered in the same light as PL/Java. Then again, I'm fairly biased ;-) Regards, Thomas Hallgren Dave Cramer wrote: Absolutely PL/J should be considered in the same light as PL/Java. Consider this a request for PL/J to be included in the core. Dave On 11-Ju

Re: [HACKERS] Three weeks left until feature freeze

2006-07-12 Thread Thomas Hallgren
we don't, really. As the project grows for various reasons, the number of hackers in the community will grow as well. PL/Java for instance, does not come without resources :-) Regards, Thomas Hallgren ---(end of broadcast)--- TIP 9: In versions

Re: [HACKERS] Three weeks left until feature freeze

2006-07-12 Thread Thomas Hallgren
be a good place to start. I.e. divide headers into the ones available for external modules and the ones for internal backend use only. Regards, Thomas Hallgren ---(end of broadcast)--- TIP 3: Have you checked our extensive FAQ?

Re: [HACKERS] Three weeks left until feature freeze

2006-07-12 Thread Thomas Hallgren
must have happened that would be interesting to look at. Regards, Thomas Hallgren ---(end of broadcast)--- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq

Re: [HACKERS] Three weeks left until feature freeze

2006-07-12 Thread Thomas Hallgren
statement is completely false. Dave, What JVM requirements does PL/J currently have? What license implications are imposed by the components that it depends upon? Regards, Thomas Hallgren ---(end of broadcast)--- TIP 4: Have you searched our list

Re: [HACKERS] Three weeks left until feature freeze

2006-07-12 Thread Thomas Hallgren
I'm sure there are other more subtle ways to get the message through. I'm trying to be honest and up-front. IMO, that should count for something. Regards, Thomas Hallgren ---(end of broadcast)--- TIP 3: Have you checked our extensive FAQ?

Re: [HACKERS] Three weeks left until feature freeze

2006-07-12 Thread Thomas Hallgren
Tom Lane wrote: Thomas Hallgren <[EMAIL PROTECTED]> writes: Why to you persist talking about licensing issues with PL/Java? There are none. PL/Java builds and runs just fine with gcj and the above statement is completely false. Um ... if you use it with gcj, there may or may

Re: [HACKERS] Three weeks left until feature freeze

2006-07-12 Thread Thomas Hallgren
FSF indeed did remove the exception. It would take me 30 minutes or so to create a substitute BSD licensed dummy JNI library with associated headers that would allow PL/Java to be built without any external modules at all. It's then completely up to the user what he/she wants to slot in

Re: [HACKERS] Three weeks left until feature freeze

2006-07-12 Thread Thomas Hallgren
d also resolve a some of the issues. Regards, Thomas Hallgren ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster

Re: [HACKERS] Three weeks left until feature freeze

2006-07-12 Thread Thomas Hallgren
r may choose a JVM from IBM, Sun, BEA, or other (like GCJ) to run. That's the essence of having a standardized API. What can possibly be 'grey' about that? Regards, Thomas Hallgren ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster

Re: [HACKERS] Three weeks left until feature freeze

2006-07-13 Thread Thomas Hallgren
lenge lays in the impedance mismatch caused by concerns that one must consider when using RPC (limit the number of calls) compared to the current design (avoid copying and streaming). Kind regards, Thomas Hallgren ---(end of broadcast)--- TIP 5: do

Re: [HACKERS] Three weeks left until feature freeze

2006-07-13 Thread Thomas Hallgren
QL headers In essence the PostgreSQL SDK. If I read what Thomas wrote (late) last night correctly. You did. Regards, Thomas Hallgren ---(end of broadcast)--- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an

Re: [HACKERS] Three weeks left until feature freeze

2006-07-13 Thread Thomas Hallgren
but could we move the project files to pgfoundry for hosting and set the project's home page as the wiki? Yes, that sounds reasonable. I'll look into that. What I really would like is to move the whole project (aside from the Wiki) from gborg to pgfoundry. Kind rega

Re: [HACKERS] Three weeks left until feature freeze

2006-07-13 Thread Thomas Hallgren
over the years ... How would I go about taking advantage of that? And who did the 1.2.0 upload? I certainly didn't. Kind Regards, Thomas Hallgren ---(end of broadcast)--- TIP 3: Have you checked our extensive FAQ?

Re: [HACKERS] Three weeks left until feature freeze

2006-07-13 Thread Thomas Hallgren
ss that's why it was not mirrored. And yes, I agree wholeheartedly, a wiki is not the most intuitive place for downloads. Per Jonahs suggestion I've just uploaded everything to pgfoundry too. Thanks for uploading the 1.3.0 to the ftp. Regards, Thomas Hallgren -

Re: [HACKERS] Three weeks left until feature freeze

2006-07-13 Thread Thomas Hallgren
g there. Unfortunately, there's no way to remove them. The Files section on pgfoundry looks a lot better :-) Regards, Thomas Hallgren ---(end of broadcast)--- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq

Re: [HACKERS] Three weeks left until feature freeze

2006-07-13 Thread Thomas Hallgren
source tarball, make sure pg_ctl is in your path and type 'make USE_GCJ=1 release' Alternatively, set JAVA_HOME to appoint some other JRE and just type 'make release' Regards, Thomas Hallgren ---(end of broadcast)--- TIP 5:

Re: [HACKERS] Three weeks left until feature freeze

2006-07-13 Thread Thomas Hallgren
s). I don't have access to a FreeBSD machine so I can't try it. Regards, Thomas Hallgren ---(end of broadcast)--- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTE

Re: [HACKERS] monolithic distro

2006-07-14 Thread Thomas Hallgren
Andrew Dunstan wrote: The topic here is NOT what features are missing from postgres. Of course it is ;-) Regards, Thomas Hallgren ---(end of broadcast)--- TIP 6: explain analyze is your friend

Re: [HACKERS] plPHP and plRuby

2006-07-18 Thread Thomas Hallgren
third-party modules and serving as an incubator for modules that aim to be included in core or into one of its subsidiaries. Kind Regards, Thomas Hallgren ---(end of broadcast)--- TIP 4: Have you searched our list archives? http://archives.postgresql.org

Re: [HACKERS] GUC with units, details

2006-07-26 Thread Thomas Hallgren
though I don't expect to see bit-rates or fractions ('m' == 'milli') in GUC, it might be good to use consistent units everywhere. Regards, Thomas Hallgren ---(end of broadcast)--- TIP 6: explain analyze is your friend

Re: [HACKERS] Proposal for GUID datatype

2006-09-11 Thread Thomas Hallgren
. I've never seen any other representation of the UUID's that the two that Gevik wants to support. Please note that UUID is a very well known concept and not an arbitrary 128 bit storage. http://en.wikipedia.org/wiki/UUID is a good source of information. The appointed RFC actuall

Re: [HACKERS] TODO item: GUID

2006-09-18 Thread Thomas Hallgren
[EMAIL PROTECTED] wrote: ... I *like* sorting by time, as it allows the UUID to be used similar to sequence, leaving older, lesser accessed UUIDs in the past. and don't forget, an automatic timestamp of when a record is created might be useful for other purposes. Regards, Thomas Hal

Re: [HACKERS] UUID/GUID discussion leading to request for hexstring bytea?

2006-09-18 Thread Thomas Hallgren
, LIKE and (NOT) IS NULL 4. GUID type must have the ability to be indexed, grouped, ordered, DISTINCT... but not MAX(), MIN() or SUM() Where do you see a need for LIKE on a GUID? Regards, Thomas Hallgren ---(end of broadcast)--- TIP 1: if posti

Re: [HACKERS] UUID/GUID discussion leading to request for hexstring bytea?

2006-09-18 Thread Thomas Hallgren
sense to me. Regards, Thomas Hallgren On Mon, 2006-09-18 at 10:06 +0200, Thomas Hallgren wrote: Gevik Babakhani wrote: To my opinion GUIDs type need to provide the following in the database. 1. GUID type must accept the correct string format(s), with of without extra '-' 2.

Re: [HACKERS] UUID/GUID discussion leading to request for hexstring bytea?

2006-09-18 Thread Thomas Hallgren
. Although the magnitudes as such makes little sense, the ability to order will make it possible to compare results from different queries etc. Very difficult to do with random order. Regards, Thomas Hallgren ---(end of broadcast)--- TIP 6: explain

Re: [HACKERS] [PATCHES] Patch for UUID datatype (beta)

2006-09-27 Thread Thomas Hallgren
of 100 nanosec. An implementation could be made to prevent clock-sequence collisions on the same machine and thereby avoid this altogether. Kind Regards, Thomas Hallgren ---(end of broadcast)--- TIP 4: Have you searched our list archives?

[HACKERS] Runtime accepting build discrepancies

2005-03-09 Thread Thomas Hallgren
ow. I feel that it's either that or stop providing pre-built binaries altogether. I realize that I can't be the only one with this problem. How is this normally handled? Regards, Thomas Hallgren ---(end of broadcast)--- TIP 2: you can get o

Re: [HACKERS] Runtime accepting build discrepancies

2005-03-09 Thread Thomas Hallgren
n alternative suggestion on the above though). Regards, Thomas Hallgren ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Re: [HACKERS] Runtime accepting build discrepancies

2005-03-10 Thread Thomas Hallgren
Laszlo, I worked on this and created some interface for decoupling java datatypes and their representations. In my implementation the mapping is N:N, so it is not directly applicable to your schema, but perhaps you can use some piece of it. I am not ready with all default data types, but the most i

Re: [HACKERS] Runtime accepting build discrepancies

2005-03-10 Thread Thomas Hallgren
and what to use in the first place? Regards, Thomas Hallgren ---(end of broadcast)--- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match

Re: [HACKERS] Runtime accepting build discrepancies

2005-03-11 Thread Thomas Hallgren
times". I guess you have some initial handshake between the postgresql backend and the JVM where you can negotiate things like that? Regards, Thomas Hallgren ---(end of broadcast)--- TIP 6: Have you searched our list archives?

Re: [HACKERS] int64/double for time/timestamp

2005-03-13 Thread Thomas Hallgren
bitten by this bug. Is it safe to assume that the fix for this will arrive in 8.1.0? Regards, Thomas Hallgren ---(end of broadcast)--- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

[HACKERS] CVS head broken on win32?

2005-03-15 Thread Thomas Hallgren
2) 2004-03-30 07:29 i686 unknown Regards, Thomas Hallgren ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

[HACKERS] Savepoints and SPI

2005-03-16 Thread Thomas Hallgren
() that my SPI has been disconnected always? Regards, Thomas Hallgren ---(end of broadcast)--- TIP 8: explain analyze is your friend

Re: [HACKERS] Savepoints and SPI

2005-03-17 Thread Thomas Hallgren
Alvaro Herrera wrote: On Wed, Mar 16, 2005 at 07:35:57PM +0100, Thomas Hallgren wrote: I have some test code that utilize SPI and does the following: 1. SPI_connect 2. set a savepoint (using BeginInternalSubTransaction) 3. execute a statement that contains a syntax error (within PG_TRY/PG_CATCH

Re: [HACKERS] Moving a project from gborg to pgfoundry?

2005-03-20 Thread Thomas Hallgren
nts are the same as Shachar's although a dump of the current bug database would be helpful. Genpages, uploads, etc. are things that I can reconstruct from material that's in the CVS. Regards, Thomas Hallgren ---(end of broadcast)---

Re: [HACKERS] Moving a project from gborg to pgfoundry?

2005-03-20 Thread Thomas Hallgren
Shachar Shemesh wrote: To summarize, just give me read only access to the old project's data and I'm set. I second that. - thomas ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster

Re: [HACKERS] Name change proposal

2005-04-01 Thread Thomas Hallgren
made obsolete. It will still be a BSD style license though. A first release should be ready for 4/1/2006. Regards, Thomas Hallgren ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Re: [HACKERS] [GENERAL] plPHP in core?

2005-04-02 Thread Thomas Hallgren
here is really that we keep finding reasons to, if not flat-out change the interface to PLs, at least expand their responsibilities. Not to push it too hard, but we still have only one PL with a validator procedure, which IIRC was your own addition to that API. How come they don't all have vali

Re: [HACKERS] [GENERAL] plPHP in core?

2005-04-03 Thread Thomas Hallgren
o a pl-j versus pl-java discussion. It's valid to pl's in general. The fact that PostgreSQL ships with some PL's is suppressing others (I'm thinking again of the Community versus Solo type projects) and suggests that you have an implicit validation process in place. Perhaps you

[HACKERS] OUT parameters in PL/Java

2005-04-12 Thread Thomas Hallgren
to try to deduct everything just by looking at the code in pl/pgsql. Regards, Thomas Hallgren ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

[HACKERS] HEAD version of initdb fails on Win32

2005-04-12 Thread Thomas Hallgren
1 Regards, Thomas Hallgren ---(end of broadcast)--- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match

Re: [HACKERS] OUT parameters in PL/Java

2005-04-12 Thread Thomas Hallgren
Tom Lane wrote: Thomas Hallgren <[EMAIL PROTECTED]> writes: I've read about changes in CVS head needed to accomodate OUT parameters. I tried to compile PL/Java and it fails (of course). Is there any brief text somewhere that highligts the changes that where made and explains how th

Re: [HACKERS] HEAD version of initdb fails on Win32

2005-04-12 Thread Thomas Hallgren
Tom Lane wrote: Thomas Hallgren <[EMAIL PROTECTED]> writes: I get the following error message when I try to do an initdb with CVS HEAD on a Win32 platform: creating configuration files ... ok creating template1 database in data-head/base/1 ... FATAL: access method "btre

Re: [HACKERS] OUT parameters in PL/Java

2005-04-12 Thread Thomas Hallgren
ikely to misbehave if it doesn't know that. Thanks a lot. Now I know how to go about this. Seems pretty stright forward. Nice work! Regards, Thomas Hallgren ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Re: [HACKERS] OUT parameters in PL/Java

2005-04-12 Thread Thomas Hallgren
returning SETOF RECORD in all versions. The only thing that doesn't work right now is a function that returns RECORD (not SETOF) since the rsinfo in this case is NULL. Can you shed some light on that? Regards, Thomas Hallgren ---(end of broa

Re: [HACKERS] OUT parameters in PL/Java

2005-04-12 Thread Thomas Hallgren
Tom Lane wrote: Thomas Hallgren <[EMAIL PROTECTED]> writes: ... The only thing that doesn't work right now is a function that returns RECORD (not SETOF) since the rsinfo in this case is NULL. Can you shed some light on that? What's the test case exactly? thhal=#

Re: [HACKERS] OUT parameters in PL/Java

2005-04-13 Thread Thomas Hallgren
Tom Lane wrote: Thomas Hallgren <[EMAIL PROTECTED]> writes: thhal=# create function javatest.recordExample(int, int) returns record as 'org.postgresql.pljava.example.ComplexReturn.complexReturn' immutable language java; CREATE FUNCTION thhal=# select * from javatest.record

Re: [HACKERS] OUT parameters in PL/Java

2005-04-14 Thread Thomas Hallgren
BlessTupleDesc. nodeFunctionscan.c formerly did that, and I suppose it should keep doing it for backwards compatibility. I put back the call... I hope that doesn't have a negative performance impact in general. If so, I'd be happy to add the missing BlessTupleDesc at my end instead.

Re: [HACKERS] Wierd performance issue with 8.1cvs

2005-04-24 Thread Thomas Hallgren
append although there's often good grounds for it so I have nothing to complain about. :-) Regards, Thomas Hallgren ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster

Re: [HACKERS] Wierd performance issue with 8.1cvs

2005-04-24 Thread Thomas Hallgren
Oleg Bartunov wrote: On Sun, 24 Apr 2005, Thomas Hallgren wrote: Oleg Bartunov wrote: I think it's quite useful to correct, because many of us use english only when reading mailing lists and documentation :) I think that it's important to refrain from corrections on a public forum

Re: [HACKERS] Increased company involvement

2005-04-28 Thread Thomas Hallgren
make the PostgreSQL user experience as similar as possible and thus allowing use of PL/Java or PL/J without changing anything but configuration. Kind regards, Thomas Hallgren ---(end of broadcast)--- TIP 2: you can get off all lists at onc

Re: [HACKERS] [GENERAL] Returning a RECORD, not SETOF RECORD

2005-04-28 Thread Thomas Hallgren
Michael Fuhr wrote: On Thu, Apr 28, 2005 at 09:47:45PM +0200, Thomas Hallgren wrote: What version of PostgreSQL are you using The latest and greatest from CVS. Which branch? HEAD? REL8_0_STABLE? Sorry. To me "latest" always defaults to HEAD and by "greatest"

Re: [HACKERS] SPI bug.

2005-05-01 Thread Thomas Hallgren
n interfaces with other languages where the sizes are fixed, wouldn't it be better to use something that is fixed in size here too? I.e. int32 or perhaps int64? Regards, Thomas Hallgren ---(end of broadcast)--- TIP 7: don't forget to increase your free space map settings

Re: [HACKERS] SPI bug.

2005-05-01 Thread Thomas Hallgren
Neil Conway wrote: Thomas Hallgren wrote: Since both int and long are types whos size that vary depending on platform, and since the SPI protocol often interfaces with other languages where the sizes are fixed ISTM there are no "languages where the sizes are fixed". In this contex

Re: [HACKERS] SPI bug.

2005-05-01 Thread Thomas Hallgren
hange that will make things incompatible should you decide to change the executor in the future. Regards, Thomas Hallgren ---(end of broadcast)--- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command

Re: [HACKERS] custom guc vars

2005-05-02 Thread Thomas Hallgren
t will allow you to add a special "assign hook" and a "show hook" function. For more info on the details, I'm afraid you need to consult the source code at present. Kind regards, Thomas Hallgren ---(end of broadcast)--- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

Re: [HACKERS] SPI bug.

2005-05-02 Thread Thomas Hallgren
the API should reflect that choice. Having the maximum number of rows dependent on platform ports is a bad design. Regards, Thomas Hallgren ---(end of broadcast)--- TIP 6: Have you searched our list archives? http://archives.postgresql.org

Re: [HACKERS] SPI bug.

2005-05-02 Thread Thomas Hallgren
Tom Lane wrote: Thomas Hallgren <[EMAIL PROTECTED]> writes: Exactly. Why should a user of the SPI API be exposed to or even concerned with this at all? As an application programmer you couldn't care less. You want your app to perform equally well on all platforms without surp

Re: [HACKERS] SPI bug.

2005-05-03 Thread Thomas Hallgren
mer) or to conseqently used 32-bit resultset sizes on 32-bit platforms and 64-bit resultset sizes on 64-bit platforms? Regards, Thomas Hallgren ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Re: [HACKERS] [pgsql-advocacy] Increased company involvement

2005-05-03 Thread Thomas Hallgren
ince I already have the libraries/headers installed' package ... Any other PL's not currently in your CVS that you might consider to bring in while you're at it? Regards, Thomas Hallgren ---(end of broadcast)--- TIP 9: the planne

Re: [HACKERS] pgsql-hackers@postgresql.org

2005-05-04 Thread Thomas Hallgren
es or even renaming files creates havoc if you have several simultanious branches that need to be merged at some point. Serious design flaw IMHO. When will subversion be able to *really* rename or move an element as opposed to just remove and add? Regards, Thomas Hal

Re: [HACKERS] 'kitchen sink' downloads (Was: Re: [pgsql-advocacy]

2005-05-05 Thread Thomas Hallgren
Marc G. Fournier wrote: But we need at least one of them ready for a standalone build first ... PL/Java might be ready. Depends on your definition of "standalone build" of course. Can you elaborate? Regards, Thomas Hallgren ---(end of

Re: [HACKERS] 'kitchen sink' downloads (Was: Re: [pgsql-advocacy]

2005-05-06 Thread Thomas Hallgren
Marc G. Fournier wrote: On Thu, 5 May 2005, Thomas Hallgren wrote: Marc G. Fournier wrote: But we need at least one of them ready for a standalone build first ... PL/Java might be ready. Depends on your definition of "standalone build" of course. Can you elaborate? could I download a t

Re: [HACKERS] 'kitchen sink' downloads (Was: Re: [pgsql-advocacy]

2005-05-06 Thread Thomas Hallgren
Marc G. Fournier wrote: On Fri, 6 May 2005, Thomas Hallgren wrote: Marc G. Fournier wrote: On Thu, 5 May 2005, Thomas Hallgren wrote: Marc G. Fournier wrote: But we need at least one of them ready for a standalone build first ... PL/Java might be ready. Depends on your definition of "stand

Re: [HACKERS] Oracle Style packages on postgres

2005-05-08 Thread Thomas Hallgren
Satoshi Nagayasu wrote: >>An oracle package is created when first referenced. Its initialization >>code is run once (ie costly queries to populate session wide package >>params) and the package dies at the end of the session >>An analogy with OOP is that it's like ha

Re: [HACKERS] Oracle Style packages on postgres

2005-05-09 Thread Thomas Hallgren
ot sure is there is static variables. If it's missing, we could add that easilly and give them the same life-span as the session. A UDT can be exchanged seamlessly across PL's so it would become a really elegant solution for session variables. Regards, Thomas Hal

Re: [HACKERS] Oracle Style packages on postgres

2005-05-10 Thread Thomas Hallgren
of user defined types to include methods and conclude that storing session data in other ways than using temporary tables should be PL specific. Regards, Thomas Hallgren ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Re: [HACKERS] Oracle Style packages on postgres

2005-05-10 Thread Thomas Hallgren
Bruce Momjian wrote: Thomas Hallgren wrote: Bruce Momjian wrote: Josh Berkus wrote: I think that private variables and private functions need to be part of the definition. OK, so it seems we need: C static/private functions for schemas C static/private

Re: [HACKERS] Oracle Style packages on postgres

2005-05-10 Thread Thomas Hallgren
Oracle migration too since Oracle already has this. Regards, Thomas Hallgren ---(end of broadcast)--- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq

Re: [HACKERS] Oracle Style packages on postgres

2005-05-10 Thread Thomas Hallgren
I'd like that too although I don't think it's included in the SQL-standard. Regards, Thomas Hallgren ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Re: [HACKERS] pl/Ruby, deprecating plPython and Core

2005-08-15 Thread Thomas Hallgren
ed to functions and stored procedures without a rewrite. 5. PL/Java already provide both trusted and untrusted language handlers. 6. PL/Java has a community of over 70 members and increasing. 7. PL/Java has no license issue. 8. The author of PL/Java would be happy to maintain it in core. Regards, T

Re: [HACKERS] pl/Ruby, deprecating plPython and Core

2005-08-16 Thread Thomas Hallgren
Joshua, There's some material that explains the inner workings on the gborg.postgresql.org/project/pljava site. Beyond that (and trying it out of course), I'd be more then happy to answer any questions. Regards, Thomas Hallgren Joshua D. Drake wrote: I think you should take a c

Re: [HACKERS] pl/Ruby, deprecating plPython and Core

2005-08-16 Thread Thomas Hallgren
the PL/Java and PL/J teams make a joint effort to create an abstraction layer that allows a developer to write stored procedures and functions in a database independent way. Regards, Thomas Hallgren ---(end of broadcast)--- TIP 5: don't forget to increase your free space map settings

Re: [HACKERS] pl/Ruby, deprecating plPython and Core

2005-08-16 Thread Thomas Hallgren
er. At present, it doesn't function correctly using Gcj. I've asked the Gcj team when they think they will have this and the reply that they hope to have it sometime 2005. Regards, Thomas Hallgren ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster

Re: [HACKERS] pl/Ruby, deprecating plPython and Core

2005-08-17 Thread Thomas Hallgren
es that contain the code to be loaded somehow. PL/Java belongs to the latter. Not everyone is in favor of that approach. Regards, Thomas Hallgren ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster

Re: [HACKERS] pl/Ruby, deprecating plPython and Core

2005-08-17 Thread Thomas Hallgren
server setting that decides which one to use provided both are present. Kind regards, Thomas Hallgren ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster

Re: [HACKERS] pl/Ruby, deprecating plPython and Core

2005-08-17 Thread Thomas Hallgren
. When PL/Java was designed I made a serious effort to avoid all that. Hence my concern. Regards, Thomas Hallgren ---(end of broadcast)--- TIP 4: Have you searched our list archives? http://archives.postgresql.org

[HACKERS] GUC variable set, TODO

2004-04-19 Thread Thomas Hallgren
ution on this newsgroup 3) Implement and submit a patch Any advice is greatly appreciated. Especially the ones that might speed up step #1. Comments, suggestions? Regards, Thomas Hallgren ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster

  1   2   3   4   5   >