RE: [HACKERS] MS interview

2001-08-15 Thread Gavin Sherry
On Wed, 15 Aug 2001, Mark Pritchard wrote: The longer that Oracle, MS, et al don't believe we're a threat, the better. But I wonder how they *really* see us. This article was too obviously a pile of marketing BS to be taken seriously by anyone. Not necessarily - business guys are

[HACKERS] Transaction id increment

2001-08-15 Thread maruthi maruthi
Transaction id is incremented even in sql queries like select which does not change the state of database, is it not unnecesary?. _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

[HACKERS] convert function

2001-08-15 Thread Tatsuo Ishii
I have added new function called convert similar to SQL99's convert. Convert converts encoding according to parameters. For example, if you have a table named unicode in an Unicode database, SELECT convert(text_field, 'LATIN1') FROM unicode; will return text in ISO-8859-1 representation. This

Re: [HACKERS] MS interview

2001-08-15 Thread John Anderson
Gavin Sherry wrote: Seems like a fairly large amount of talk about stuff which should be taken care of internally by corporations who have such interests. Not entirely. As a freelancer, I've used OLAP (front-end only, ie pivot tables in Excel) to help me produce invoices from my timesheet

Re: [HACKERS] convert function

2001-08-15 Thread Tatsuo Ishii
I have added new function called convert similar to SQL99's convert. Convert converts encoding according to parameters. For example, if you have a table named unicode in an Unicode database, Forgot to mention that anyone who wants to try the new function should do initdb. I did not increment

Re: [HACKERS] Re: To be 7.1.3 or not to be 7.1.3?

2001-08-15 Thread Tatsuo Ishii
OK, 7.1.3 is packaged and ready to go, date stamped Auguest 15. Can people with cvs 7.1 branches review it? Compling/regression tests seems fine on my box (Linux kernel 2.2/egcs-2.91/glic 2.1.3). Documents are also compiled fine. -- Tatsuo Ishii ---(end of

[HACKERS] Patches (current CVS) for changes if index AM tables

2001-08-15 Thread Oleg Bartunov
Hi, we finished first stage of our proposal for changing of index AM tables (see for reference http://fts.postgresql.org/db/mw/msg.html?mid=1029290) I attached 3 files: 1. patch_72_systbl.gz - patch to current CVS 2. btree_gist.tar.gz - contrib/btree_gist module -

[HACKERS] UB-Trees

2001-08-15 Thread Wald, Matthias
Is there any intention to implement ub-trees? For more information visit the page of the Mistral project. There is information of how to integrate ub-trees in a db-kernel or extend the b-tree implementation. ub-trees enhances very much multi conditioned selects. The link is

Re: [HACKERS] Re: To be 7.1.3 or not to be 7.1.3?

2001-08-15 Thread Justin Clift
By the way, Are we going to do the official testing-on-all-supported-platforms before making this (hopefully final 7.1.x) release? It'd be embarrasing if it failed on something it's supposed to work on... If so, do we make use of Vince's Regression Test form?

Re: [HACKERS] convert function

2001-08-15 Thread Tom Lane
Tatsuo Ishii [EMAIL PROTECTED] writes: I have added new function called convert similar to SQL99's convert. Convert converts encoding according to parameters. For example, if you have a table named unicode in an Unicode database, SELECT convert(text_field, 'LATIN1') FROM unicode; will

[HACKERS] Why is SERIAL a keyword?

2001-08-15 Thread Tom Lane
I was just looking at adding SERIAL4 and SERIAL8 pseudo-types to the system, per our previous discussion, and I started to wonder why SERIAL is treated as a keyword by the grammar. Wouldn't it be better to remove that keyword and allow the grammar to parse serial as a type name? Then analyze.c

Re: [HACKERS] convert function

2001-08-15 Thread Tatsuo Ishii
Tatsuo Ishii [EMAIL PROTECTED] writes: I have added new function called convert similar to SQL99's convert. Convert converts encoding according to parameters. For example, if you have a table named unicode in an Unicode database, SELECT convert(text_field, 'LATIN1') FROM unicode;

Re: [HACKERS] encoding names

2001-08-15 Thread Karel Zak
On Wed, Aug 15, 2001 at 11:28:35PM +0900, Tatsuo Ishii wrote: Thank you for your suggestions. I'm not totally against your suggestions (for example, I'm not against the idea that changing all current encoding names to more standard ones for 7.2 if it's your concern). However, I think we

[HACKERS] encoding names

2001-08-15 Thread Karel Zak
Hi, before some time I was discuss with Tatsuo and Thomas about support for synonyms of encoding names (for example allows to use ISO-8859-1 as the encoding name) and use binary search for searching in encoding names. I mean that we can during this change a little clean up encoding stuff

Re: [HACKERS] UB-Trees

2001-08-15 Thread Oleg Bartunov
Probably it would be possible to implement ub-tree using GiST interface. Oleg On Wed, 15 Aug 2001, Wald, Matthias wrote: Is there any intention to implement ub-trees? For more information visit the page of the Mistral project. There is information of how to integrate ub-trees in a

Re: [HACKERS] Re: To be 7.1.3 or not to be 7.1.3?

2001-08-15 Thread Justin Clift
None of my Solaris boxes have direct internet access, but if someone is willing to make a snapshot tar.gz/tar.bz2 file, I can download and test on Solaris 8 SPARC/INTEL. :) Regards and best wishes, Justin Clift Tatsuo Ishii wrote: OK, 7.1.3 is packaged and ready to go, date stamped

[HACKERS] Re: To be 7.1.3 or not to be 7.1.3?

2001-08-15 Thread Mikhail Terekhov
Is it possible to include patch for libpgtcl tcl 8.0 in this release? Regards, Mikhail Terekhov Bruce Momjian wrote: I have to fix my old fault in TID handling. I am able to have a cvs access now and would commit the fix to 7.1 branch. Hiroshi, are you done with changes you

Re: [HACKERS] encoding names

2001-08-15 Thread Tatsuo Ishii
Thank you for your suggestions. I'm not totally against your suggestions (for example, I'm not against the idea that changing all current encoding names to more standard ones for 7.2 if it's your concern). However, I think we should focus on more fundamental issues than those trivial ones.

Re: [HACKERS] encoding names

2001-08-15 Thread Peter Eisentraut
Karel Zak writes: before some time I was discuss with Tatsuo and Thomas about support for synonyms of encoding names (for example allows to use ISO-8859-1 as the encoding name) and use binary search for searching in encoding names. Funny, I was thinking the same thing last night... A

Re: [HACKERS] encoding names

2001-08-15 Thread Peter Eisentraut
Tatsuo Ishii writes: However, I think we should focus on more fundamental issues than those trivial ones. Recently Thomas gave an idea how to deal with the internationalization (I18N) of PostgreSQL: create character set etc. I haven't actually seen any real implementation proposal yet. We

Re: [HACKERS] Re: To be 7.1.3 or not to be 7.1.3?

2001-08-15 Thread Bruce Momjian
Is it possible to include patch for libpgtcl tcl 8.0 in this release? Much too risky. We don't know about compatibility with earlier tcl versions. -- Bruce Momjian| http://candle.pha.pa.us [EMAIL PROTECTED] | (610) 853-3000 + If your life is a

Re: [HACKERS] Re: To be 7.1.3 or not to be 7.1.3?

2001-08-15 Thread Bruce Momjian
By the way, Are we going to do the official testing-on-all-supported-platforms before making this (hopefully final 7.1.x) release? It'd be embarrasing if it failed on something it's supposed to work on... If so, do we make use of Vince's Regression Test form?

Re: [HACKERS] PostGIS spatial extensions

2001-08-15 Thread Peter Eisentraut
Paul Ramsey writes: - One of the things we have run up against is that for most linux distributions, the postgresql-devel package does not include postgres.h in the header package. This is not necessary for client-side programs, but it is for server-side extensions. So people cannot compile

Re: [HACKERS] encoding names

2001-08-15 Thread Karel Zak
On Wed, Aug 15, 2001 at 05:16:42PM +0200, Peter Eisentraut wrote: Karel Zak writes: before some time I was discuss with Tatsuo and Thomas about support for synonyms of encoding names (for example allows to use ISO-8859-1 as the encoding name) and use binary search for searching in

[HACKERS] Re: MS interview

2001-08-15 Thread Frank Ch. Eigler
[EMAIL PROTECTED] (Tim Allen) writes: : [...] Near the end he gets specifically asked about Red Hat : Database as a competitive threat, and he responds that he doesn't : think anyone can match their investment of 800 professionals to : work on SQL Server. [...] It would be naive to dismiss

[HACKERS] Re: WIN32 errno patch

2001-08-15 Thread Mikhail Terekhov
Tom Lane wrote: When someone sends me a Windoze implementation of the proposed SOCK_STRERROR() macro, I'll see about fixing it. Till then I can't do much. regards, tom lane Could you please review the following patch for libpq. I've implemented the SOCK_ERRNO

Re: [HACKERS] PostGIS spatial extensions

2001-08-15 Thread Paul Ramsey
Peter Eisentraut wrote: The 7.1 RPMs should contain the server side headers somewhere. Earlier versions only included a not very well defined subset of them. Indeed they do (nice!), which brings me to a different question: 1 - I download the tarball 2 - ./configure ; make ; make install

Re: [PATCHES] Re: [HACKERS] PostGIS spatial extensions

2001-08-15 Thread Peter Eisentraut
Brook Milligan writes: Doesn't this discussion indicate that the time is fast approaching, if not already past, for some type of system for handling installation of 3rd party software? Yes. - Definition and implementation of the interface to be provided for extensions. Presumably, this

Re: [HACKERS] Dollar in identifiers

2001-08-15 Thread Bruce Momjian
I'm not sure if it's according to or violating the standard. But most other databases allow a '$' inside of identifiers. Well, most of them recommend not to use it, but hey guy's, what's a recommendation for a programmer? In order to lower porting issues, I think

Re: [HACKERS] Re: To be 7.1.3 or not to be 7.1.3?

2001-08-15 Thread Dwayne Miller
So... will current 7.1.1 databases upgrade without problems to 7.1.3? ---(end of broadcast)--- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through

Re: [HACKERS] Dollar in identifiers

2001-08-15 Thread Bruce Momjian
Peter Eisentraut wrote: Jan Wieck writes: Could you live with it when we don't allow a name to start with a dollar, but allow the dollar inside or at the end of the name? At the end would also be a problem because of parsing conflicts with operators. (E.g.,

Re: [HACKERS] PostGIS spatial extensions

2001-08-15 Thread Timothy H. Keitt
I would take a hard look at R's extension packaging system (www.r-project.org). Its the best in the business. It consolidates all aspects of creating packages, including configuring, building, run-time linking, documentation and testing. It also allows non-root users to install packages in

Re: [HACKERS] Re: To be 7.1.3 or not to be 7.1.3?

2001-08-15 Thread Tom Lane
Bruce Momjian [EMAIL PROTECTED] writes: Are we going to do the official testing-on-all-supported-platforms Not usually. We didn't change that much. More to the point, I don't believe there were any changes that had any significance for portability... regards, tom

Re: [HACKERS] PostGIS spatial extensions

2001-08-15 Thread Tom Lane
Paul Ramsey [EMAIL PROTECTED] writes: However, if I have an RPM-based installation, I *will* have the server headers I need. Why do we discriminate against people who compile from the tarball? We don't. We do, however, assume that they read the installation instructions: The standard

Re: [HACKERS] Dollar in identifiers

2001-08-15 Thread Tom Lane
Jan Wieck [EMAIL PROTECTED] writes: Could you live with it when we don't allow a name to start with a dollar, but allow the dollar inside or at the end of the name? We had *better* not allow an identifier to start with $ --- or have you forgotten about parameters? I tend to

Re: [HACKERS] Dollar in identifiers

2001-08-15 Thread Jan Wieck
Tom Lane wrote: Jan Wieck [EMAIL PROTECTED] writes: Could you live with it when we don't allow a name to start with a dollar, but allow the dollar inside or at the end of the name? We had *better* not allow an identifier to start with $ --- or have you forgotten about

Re: [HACKERS] Dollar in identifiers

2001-08-15 Thread Jan Wieck
Bruce Momjian wrote: I'm not sure if it's according to or violating the standard. But most other databases allow a '$' inside of identifiers. Well, most of them recommend not to use it, but hey guy's, what's a recommendation for a programmer? In order to

Re: [HACKERS] Dollar in identifiers

2001-08-15 Thread Bruce Momjian
In order to lower porting issues, I think it'd be nice to add that to PostgreSQL as well. It's two more characters in scan.l and doesn't break the regression test. Objections? Yes. We would move from standard C identifiers to $ identifiers. We have had

[HACKERS] Binary Field??

2001-08-15 Thread gabriel
hellow all how can I store Binary values in a table of postgresql database? thanks... ---(end of broadcast)--- TIP 6: Have you searched our list archives? http://www.postgresql.org/search.mpl

Re: [HACKERS] Dollar in identifiers

2001-08-15 Thread Bruce Momjian
Bruce Momjian wrote: We do currently use $1 for params, so allowing dollar in the middle seems better. However, I need to see multiple people who need it before I would say OK. If we go adding things because _one_ person wants it, we will end up with a mess. Someone is working on an

Re: [HACKERS] Dollar in identifiers

2001-08-15 Thread Peter Eisentraut
Jan Wieck writes: Could you live with it when we don't allow a name to start with a dollar, but allow the dollar inside or at the end of the name? At the end would also be a problem because of parsing conflicts with operators. (E.g., foo$$bar) I don't really like this

[HACKERS] Re: Dollar in identifiers

2001-08-15 Thread Ian Lance Taylor
Jan Wieck [EMAIL PROTECTED] writes: Bruce Momjian wrote: We do currently use $1 for params, so allowing dollar in the middle seems better. However, I need to see multiple people who need it before I would say OK. If we go adding things because _one_ person wants it, we will end up

Re: [HACKERS] Dollar in identifiers

2001-08-15 Thread Jan Wieck
Peter Eisentraut wrote: Jan Wieck writes: Could you live with it when we don't allow a name to start with a dollar, but allow the dollar inside or at the end of the name? At the end would also be a problem because of parsing conflicts with operators. (E.g., foo$$bar)

[HACKERS] Re: PL/pgSQL bug?

2001-08-15 Thread Hiroshi Inoue
Tom Lane wrote: "Hiroshi Inoue" [EMAIL PROTECTED] writes: It's possible for a function to use a unique snapshot if there are only SELECT statements in the function but it's impossible if there are UPDATE/DELETE or SELECT .. FOR UPDATE statements etc. You are confusing snapshots

Re: [HACKERS] encoding names

2001-08-15 Thread Tatsuo Ishii
Finally, as I've mentioned before I'd like to try out the iconv interface. Might become an option in 7.2 even. I'm curious how do you handle conversion between multibyte strings and wide characters using iconv. This is necessary to implement multibyte aware like, regex, char_length etc.