Re: [GENERAL] deletion of records before commit doesn't work

2000-12-11 Thread Jens Hartwig
Hello all, I just reproduced the same phenomenon on my installation (PostgreSQL 7.0.2 on i686-pc-linux-gnu, compiled by gcc egcs-2.91.66) and it seems to me that maybe the index is not correctly actualized while inserting the record? It seems that any (!) update on blah (before executing the dele

[GENERAL] Messages not going through

2000-12-11 Thread Soma Interesting
I've sent a message of mine to this list twice now, and it never comes through. Odd. - - - - - - - - - - - - WARNING: Some experts believe that use of any keyboard may cause serious injury. Consult

Re: [GENERAL] Unanswered questions about Postgre

2000-12-11 Thread Bruce Momjian
> This is a misunderstanding. You can still use the old-style large > objects (in fact 7.1 has an improved implementation of them too), > and there's always been support for either over-the-wire or > server-filesystem read and write of large objects. In fact the former > is the preferred way; th

Re: [GENERAL] Unanswered questions about Postgre

2000-12-11 Thread Sandeep Joshi
what is the tentative date for 7.1 release? what is the release date for replication? sandeep

Re: [GENERAL] Unanswered questions about Postgre

2000-12-11 Thread Tom Lane
Joe Kislo <[EMAIL PROTECTED]> writes: > ... this lack of BLOB support. I understand that the C > API can read/write -files- off the server's filesystem and load them > into the database. Unfortunately we would absolutely require true > over-the-wire blob support through JDBC. AFAIK, even with t

[GENERAL] Re: Unanswered questions about Postgre

2000-12-11 Thread Tim Kientzle
> Of course, people really shouldn't be inserting > objects which already exist, ... On the contrary, the best way to test if something already exists is to just try the INSERT and let the database tell you if it's already there. Both faster and more reliable than doing SELECT then INSERT.

Re: [GENERAL] Large files on linux

2000-12-11 Thread Lamar Owen
Peter Eisentraut wrote: > Fernan Aguero writes: > > I am having trouble with large files on a Linux box (RH 6.2). I know there > > is a limit of 2 GB on the file size, > ...but that doesn't affect table size, database size, or whatever you're > thinking of. Nope, PostgreSQL segments nicely for

Re: [GENERAL] Unanswered questions about Postgre

2000-12-11 Thread Peter Eisentraut
Joe Kislo writes: > First, I was evaluating Postgre for a medium scale application I will I'm just wondering what this "Postgre" thing is you keep talking about... ;-) -- Peter Eisentraut [EMAIL PROTECTED] http://yi.org/peter-e/

Re: [GENERAL] Unanswered questions about Postgre

2000-12-11 Thread Bruce Momjian
> > What I think we _really_ need is a large object interface to TOAST data. > > We already have a nice API, and even psql local large object handling. > > > > If I have a file that I want loaded in/out of a TOAST column, we really > > should make a set of functions to do it, just like we do with

Re: [GENERAL] Unanswered questions about Postgre

2000-12-11 Thread Joe Kislo
> What I think we _really_ need is a large object interface to TOAST data. > We already have a nice API, and even psql local large object handling. > > If I have a file that I want loaded in/out of a TOAST column, we really > should make a set of functions to do it, just like we do with large > o

Re: [GENERAL] Large files on linux

2000-12-11 Thread Hans-Jürgen Schönig
Alfred Perlstein schrieb: > * Fernan Aguero <[EMAIL PROTECTED]> [001211 12:45] wrote: > > Dear all: > > > > I am having trouble with large files on a Linux box (RH 6.2). I know there > > is a limit of 2 GB on the file size, but do not know if this is kernel > > related, filesystem related or both

Re: [GENERAL] Large files on linux

2000-12-11 Thread Peter Eisentraut
Fernan Aguero writes: > I am having trouble with large files on a Linux box (RH 6.2). I know there > is a limit of 2 GB on the file size, ...but that doesn't affect table size, database size, or whatever you're thinking of. -- Peter Eisentraut [EMAIL PROTECTED] http://yi.org/peter-e

Re: [GENERAL] Large files on linux

2000-12-11 Thread Alfred Perlstein
* Fernan Aguero <[EMAIL PROTECTED]> [001211 12:45] wrote: > Dear all: > > I am having trouble with large files on a Linux box (RH 6.2). I know there > is a limit of 2 GB on the file size, but do not know if this is kernel > related, filesystem related or both. Afaik it's both. Honestly Postgre

Re: [GENERAL] Large files on linux

2000-12-11 Thread Trond Eivind GlomsrØd
Fernan Aguero <[EMAIL PROTECTED]> writes: > I am having trouble with large files on a Linux box (RH 6.2). I know there > is a limit of 2 GB on the file size, but do not know if this is kernel > related, filesystem related or both. > > I am researchiing the issue (having some trouble to find inf

Re: [GENERAL] query time in psql

2000-12-11 Thread Juriy Goloveshkin
On Mon, Dec 11, 2000 at 05:09:40PM -0300, Martin A. Marques wrote: > On Monday 11 December 2000 15:56, Juriy Goloveshkin wrote: > > is it posible to shop query time in psql frontend? > What do you mean with: shop query time? oops... s/shop/show/ I want to know how many time the query executed. lik

Re: [GENERAL] Postgres demographics?

2000-12-11 Thread Tim Barnard
> > We have some demographics available at http://www.pgsql.com/user_gallery > I believe what was intended was: http://www.pgsql.com/register Tim

[GENERAL] deletion of records before commit doesn't work

2000-12-11 Thread Ashley Clark
I've come up with this example and I want to know why it does what it does. -- snip -- You are now connected to database template1. CREATE DATABASE You are now connected to database testing. psql:test2.sql:11: NOTICE: CREATE TABLE/UNIQUE will create implicit index 'subdivs_name_key' for table 's

[GENERAL] Large files on linux

2000-12-11 Thread Fernan Aguero
Dear all: I am having trouble with large files on a Linux box (RH 6.2). I know there is a limit of 2 GB on the file size, but do not know if this is kernel related, filesystem related or both. I am researchiing the issue (having some trouble to find info) and found that there are several altern

Re: [GENERAL] query time in psql

2000-12-11 Thread Martin A. Marques
On Monday 11 December 2000 15:56, Juriy Goloveshkin wrote: > is it posible to shop query time in psql frontend? What do you mean with: shop query time? -- System Administration: It's a dirty job, but someone told I had to do it.

Re: [GENERAL] Postgres demographics?

2000-12-11 Thread Jeff MacDonald
Hi, We have some demographics available at http://www.pgsql.com/user_gallery Jeff On Thu, 7 Dec 2000, GH wrote: > > Has anybody collected information about what people use Postgres how and > to do what? I think it would be interesting to see where our Collective > got its roots. > > Persona

[GENERAL] query time in psql

2000-12-11 Thread Juriy Goloveshkin
is it posible to shop query time in psql frontend? (like in mysql) -- Bye Juriy Goloveshkin

Re: [GENERAL] Simple Question: Case sensitivity - Performance?

2000-12-11 Thread Tim Uckun
At 03:43 PM 12/11/2000 +, [EMAIL PROTECTED] wrote: >As an aside in DB2 there is the concept of a shared weight index which >depending >on >locale lumps lower/upper case characters together so that you don't have to >include >an UPPER in the SQL - and it will use the index. Perhaps postgres c

[GENERAL] Great Bridge PostgreSQL products and services

2000-12-11 Thread Ned Lilly
Hello all, Great Bridge formally announced its first product and service offerings today. Here are the highlights: * QA-tested distribution of PostgreSQL 7.0.3 for Linux (free, source and binaries available at http://www.greatbridge.com/download) * Automated graphical installer

Re: [GENERAL] Simple Question: Case sensitivity

2000-12-11 Thread Tom Lane
Tomas Berndtsson <[EMAIL PROTECTED]> writes: > Related to this, is there any way to make an index for a table > case-insensitive? If you have an index, but use upper() in the select, > the index is not used. Sure, make a functional index: play=> create table foo (f1 text); CREATE play=> create i

Re: [GENERAL] Regular expression question

2000-12-11 Thread Tom Lane
Steve Heaven <[EMAIL PROTECTED]> writes: > Does the regular expression parser have anything equivalent to Perl's \w > word boundary metacharacter? src/backend/regex/re_format.7 contains the whole scoop (for some reason this page doesn't seem to get installed with the rest of the documentation).

RE: [GENERAL] Regular expression question

2000-12-11 Thread Michael Ansley
Title: RE: [GENERAL] Regular expression question Yes, that's right :-0  Sorry! -Original Message- From: Steve Heaven [mailto:[EMAIL PROTECTED]] Sent: 11 December 2000 15:09 To: Michael Ansley; [EMAIL PROTECTED] Subject: RE: [GENERAL] Regular expression question At 14:58 11/12/00 -

[GENERAL] one other big mysql->postgresql item

2000-12-11 Thread George Johnson
Hi,   Forgot one other biggy:   -00-00 00:00:00   is legal for a default value of '' of a datetime column defined as not null.   create table test ( funkydate datetime not null; );   insert into test values ('');   select * from test where funkydate = '-00-00 00:00:00';   all those wor

Re: [GENERAL] Article involving Postgresql

2000-12-11 Thread Roderick A. Anderson
On Tue, 5 Dec 2000, Adam Lang wrote: > I got a magazine dropped on my desk just now called Storage Management > Solutions. On the cover they have a listing for "Open Source > Databases".They talk about Postgresql, MySQL and Interbase. Just a snippet > of the article: Web Techniques has a pretty

RE: [GENERAL] Re: Re: Why PostgreSQL is not that popular as MySQL ?

2000-12-11 Thread Brett W. McCoy
On Mon, 11 Dec 2000, Matthew wrote: > > I agree that the key developers shouldn't spend much time on such a > > thing, but on the other hand this isn't a project that requires a key > > developer to get done. If Matthew or someone else feels like spending > > time on it, I wouldn't object... > >

RE: [GENERAL] Re: Re: Why PostgreSQL is not that popular as MySQL ?

2000-12-11 Thread Matthew
> "Brett W. McCoy" <[EMAIL PROTECTED]> writes: > > On Sun, 10 Dec 2000, Matthew wrote: > >> [Matthew] Would it make sense for postgre to have a mysql > >> compatibility module? An add on package (perhaps in contrib) that > >> would add many of the functions that mysql has that postgre does not.

Re: [GENERAL] Why PostgreSQL is not that popular as MySQL?

2000-12-11 Thread Elmar Haneke
Bruce Momjian wrote: > > > The bottom line is that the marketing of PostgreSQL is not even close to > > that of MySQL. Thank god the code, community and support doesn't follow > > suit! > > I think MySQL got a big start by migrating mSQL users years ago and > having a compatibility module for

[GENERAL] mysql issues

2000-12-11 Thread George Johnson
Hi,   My mailer crashed, but before I had to delete all the messages I saw a thread regarding making it easier for mysql users to port over to postgresql.  Well guys, you've gone and made a hole for yourself, ESPECIALLY by adding the limitless row lengths in 7.1.  With the performance gains,

Re: [GENERAL] Simple Question: Case sensitivity

2000-12-11 Thread Tomas Berndtsson
"Hancock, David (DHANCOCK)" <[EMAIL PROTECTED]> writes: > Abe: It's an SQL thing or a scripting thing. It's probably easiest and > safest in the SQL: > >select firstname, surname from employees > where upper(firstname) like upper('%$criteria%') or > upper(surname) like upper('%$

Re: [GENERAL] overhead of "small" large objects

2000-12-11 Thread Denis Perchine
> > Is there significant overhead involoved in using large objects that > > aren't very large? > > Yes, since each large object is a separate table in 7.0.* and before. > The allocation unit for table space is 8K, so your 10K objects chew up > 16K of table space. What's worse, each LO table has a

[GENERAL] Regular expression question

2000-12-11 Thread Steve Heaven
Does the regular expression parser have anything equivalent to Perl's \w word boundary metacharacter? I want to select tuples where a text field contains a certail whole word. Using fieldname ~* 'searchword' wont work because it picks up the searchword emdedded in other words. Using ~*' searchwor

Re: [GENERAL] Problems with starting Postgres

2000-12-11 Thread Alessio Bragadini
Tom Lane wrote: > A plain kill (SIGTERM) should remove the socket file on its way out. > The only thing that wouldn't is kill -9 ... if you're doing it that > way, don't. The problem is an unexpected crash/reboot of the machine (which shouldn't happen, but...) that leaves socket files in /tmp an

[GENERAL] function that return multiple fields and rows

2000-12-11 Thread Wooi K
Hi All, I would like to write a function that returns multiple rows and multiple fields, something like this. I know the syntax is probably wrong, any helps would be appreciated. CREATE FUNCTION GetGuestbookMessages (int4) RETURNS SETOF VARCHAR AS ' SELECT guestname, guestemai

Re: [GENERAL] What's faster: value of 0 or NULL with index

2000-12-11 Thread GH
On Mon, Dec 11, 2000 at 04:28:24AM +0100, some SMTP stream spewed forth: > Hi, > > I'm thinking about, what might be faster on SELECTs: a column with index > which is NOT NULL and takes the value of 0 or a column which can take > the NULL value instead of 0, also with index. > > My feeling sais