Re: [GENERAL] client_encoding

2008-02-21 Thread Dean Gibson (DB Administrator)
On 2008-02-21 19:59, Tom Lane wrote: You can set client_encoding in postgresql.conf if you want to, but I'm having a hard time understanding why you think that'd be a good idea --- *particularly* if your database encodings aren't all the same. regards, tom lane Act

Re: [GENERAL] Function parameters change when update to 8.3

2008-02-21 Thread tuanhoanganh
On 2/22/08, Tom Lane <[EMAIL PROTECTED]> wrote: > tuanhoanganh <[EMAIL PROTECTED]> writes: > > ... But when I dump database and restore to 8.3 this function change to > > > CREATE OR REPLACE FUNCTION post_ctpt1(ud_stt_rec(24)) > > It works as expected for me. Please provide a *complete* test case,

Re: [GENERAL] Disable Triggers

2008-02-21 Thread Terry Lee Tucker
On Thursday 21 February 2008 17:07, Andrew Sullivan wrote: > On Thu, Feb 21, 2008 at 04:35:28PM -0500, Geoffrey wrote: > > How might we find out which release it was fixed in? Back patching > > 7.4.19 with the fix might be easier then trying to move up to the fixed > > version. > > According to HI

Re: [GENERAL] Function parameters change when update to 8.3

2008-02-21 Thread Tom Lane
tuanhoanganh <[EMAIL PROTECTED]> writes: > ... But when I dump database and restore to 8.3 this function change to > CREATE OR REPLACE FUNCTION post_ctpt1(ud_stt_rec(24)) It works as expected for me. Please provide a *complete* test case, including the specific dump and reload procedures you are

[GENERAL] Function parameters change when update to 8.3

2008-02-21 Thread tuanhoanganh
I have function in PostgreSQL 8.2 CREATE OR REPLACE FUNCTION post_ctpxd(ud_stt_rec) RETURNS void AS $BODY$DECLARE ... BEGIN END $BODY$ LANGUAGE 'plpgsql' VOLATILE; My domain in 8.2 CREATE DOMAIN ud_stt_rec AS character(20) DEFAULT ''::bpchar NOT NULL; But when I dump databa

Re: [GENERAL] need some help on figuring out how to write a query

2008-02-21 Thread Scott Marlowe
On Thu, Feb 21, 2008 at 8:09 PM, Dean Gibson (DB Administrator) > Mail to my list address MUST be sent via the mailing list. > All other mail to my list address will bounce. Totally uncool. There's settings in the mail server software that will change your outgoing messages to not be from you

Re: [GENERAL] client_encoding

2008-02-21 Thread Tom Lane
"Dean Gibson (DB Administrator)" <[EMAIL PROTECTED]> writes: > If I "ALTER DATABASE ... SET client_encoding TO DEFAULT", is the default > the "client_encoding" in postgresql.conf when the server was last > started, or the value at the time the "ALTER DATABASE ... SET > client_encoding TO DEFAULT

Re: [GENERAL] Feedback on PLJava

2008-02-21 Thread Guy Rouillier
Pascal Cohen wrote: Hello Are there users of PL/Java ? I would like to get some feedback on using it. As we could use triggers and as we have already some kinds of 'applicative' triggers written in Java, I was wondering if I could just reuse the code and plug it Pascal, yes, many people emplo

[GENERAL] client_encoding

2008-02-21 Thread Dean Gibson (DB Administrator)
If I "ALTER DATABASE ... SET client_encoding TO DEFAULT", is the default the "client_encoding" in postgresql.conf when the server was last started, or the value at the time the "ALTER DATABASE ... SET client_encoding TO DEFAULT" statement is executed? In other words, if I "ALTER DATABASE ... S

Re: [GENERAL] Postgres 8.3 broke everything

2008-02-21 Thread Alex Turner
Yeah - I reckon that would do it ;) And it did break just about every website on our systems! Though the change is understandable Alex On Thu, Feb 21, 2008 at 8:15 PM, Joshua D. Drake <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Thu, 21 Feb 2008 19:49:29

Re: [GENERAL] need some help on figuring out how to write a query

2008-02-21 Thread Dean Gibson (DB Administrator)
On 2008-02-21 13:37, Justin wrote: ... I'm wondering if there is a way to create this in a single select statement?? I can't think of a way to do it??? Break down your problem using VIEWs. Create a VIEW that gets just ONE of the averages, based on a starting date. Then create a SELECT that

Re: [GENERAL] New inst. 8.3.0 has no client

2008-02-21 Thread brian
John Tiedeman wrote: When I upgraded to Kubuntu 7.10 I opted to install 8.3 rather than stick with 8.2. I knew to dump my 8.2 files first. After I finished installing, I got (and still get) a message that I should have an 8.3.0-client. I don't see any separate downloads listed so assume it's in t

Re: [GENERAL] New inst. 8.3.0 has no client

2008-02-21 Thread Chris
John Tiedeman wrote: When I upgraded to Kubuntu 7.10 I opted to install 8.3 rather than stick with 8.2. I knew to dump my 8.2 files first. After I finished installing, I got (and still get) a message that I should have an 8.3.0-client. I don't see any separate downloads listed so assume it's in

[GENERAL] New inst. 8.3.0 has no client

2008-02-21 Thread John Tiedeman
When I upgraded to Kubuntu 7.10 I opted to install 8.3 rather than stick with 8.2. I knew to dump my 8.2 files first. After I finished installing, I got (and still get) a message that I should have an 8.3.0-client. I don't see any separate downloads listed so assume it's in the standard package.

Re: [GENERAL] Postgres 8.3 broke everything

2008-02-21 Thread Joshua D. Drake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 21 Feb 2008 19:49:29 -0500 "Alex Turner" <[EMAIL PROTECTED]> wrote: > Yeah - I pressed tab to indent my code, and of course it tabbed to the > next element on the page, which was the send button, then I hit a key, > and it sent the message bef

Re: [GENERAL] Postgres 8.3 broke everything

2008-02-21 Thread Alex Turner
Yeah - I pressed tab to indent my code, and of course it tabbed to the next element on the page, which was the send button, then I hit a key, and it sent the message before I was ready. I tested my hypothesis, but it was wrong. I haven't quite figured it out yet. Something to do with casting a c

Re: [GENERAL] ts_headline

2008-02-21 Thread Stephen Davies
OK. The first level explanation is that my default config is "simple". This explains the different query results as "english" reduces "database" to "databas" while "simple does not reduce it at all. The "document" is parsed/indexed using "english" explicitly so my queries nedd to be explicit als

Re: [GENERAL] Postgres 8.3 broke everything

2008-02-21 Thread Joshua D. Drake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 21 Feb 2008 17:53:35 -0500 "Alex Turner" <[EMAIL PROTECTED]> wrote: > Upgrading to Postgres 8.3 broke virtually every site we host, and I > finally figured out why. In 8.2 you could do this: > > create table foo ( No that would fail. Did y

[GENERAL] Postgres 8.3 broke everything

2008-02-21 Thread Alex Turner
Upgrading to Postgres 8.3 broke virtually every site we host, and I finally figured out why. In 8.2 you could do this: create table foo ( ---(end of broadcast)--- TIP 5: don't forget to increase your free space map settings

Re: [GENERAL] Install problem w/8.3 on windows 2000 : application failed to initialize properly (0xc0000022)

2008-02-21 Thread Dee
Thanks for the response. I checked the event viewer. The main error it reports is: Event Type:Error Event Source:Service Control Manager Event Category:None Event ID:7005 Date:2/21/2008 Time:3:20:25 PM User:N/A Computer:DEV Description: The LoadUserPro

Re: [GENERAL] Disable Triggers

2008-02-21 Thread Andrew Sullivan
On Thu, Feb 21, 2008 at 04:35:28PM -0500, Geoffrey wrote: > How might we find out which release it was fixed in? Back patching > 7.4.19 with the fix might be easier then trying to move up to the fixed > version. According to HISTORY, there was a significant fix in this area in 8.1: * Add "

[GENERAL] need some help on figuring out how to write a query

2008-02-21 Thread Justin
need to write a query for sales order table where we get the qty order * price for all line items by week then average then create a moving Average past 10 weeks of entered sales orders line items. So what will happen is some one will enter a date range going back 6 month from the present dat

Re: [GENERAL] Disable Triggers

2008-02-21 Thread Geoffrey
Tom Lane wrote: Andrew Sullivan <[EMAIL PROTECTED]> writes: On Thu, Feb 21, 2008 at 11:44:25AM -0500, Terry Lee Tucker wrote: table where, when the given trigger does fire, it checks for an entry in the table at the top of the trigger and takes the appropiate action. The problem is that the sol

Re: [GENERAL] Install problem w/8.3 on windows 2000 : application failed to initialize properly (0xc0000022)

2008-02-21 Thread Gevik Babakhani
I did not follow the past threads, but have you looked at what the event viewer has to report? _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dee Sent: Thursday, February 21, 2008 8:36 PM To: pgsql-general@postgresql.org Subject: Re: [GENERAL] Install problem w/8.3 on w

Re: [GENERAL] No pgxs.mk with win32 binaries

2008-02-21 Thread Mike Leahy
> Hmm, it certainly should be there somewhere, but the path might be > either of these: >.../lib/pgxs/src/makefiles/pgxs.mk >.../lib/postgresql/pgxs/src/makefiles/pgxs.mk > depending on exactly how the build was done. If it's not there at > all this is an installer bug. > >

Re: [GENERAL] Install problem w/8.3 on windows 2000 : application failed to initialize properly (0xc0000022)

2008-02-21 Thread Dee
Anyone have any suggestions? I have tried different versions and everything I can think of but have run out of ideas. It is frustrating. I really would like to use postgresql.. if I could only get it to install! ;-) Dee <[EMAIL PROTECTED]> wrote: I am trying to install version 8.3.0.1 on an

Re: [GENERAL] Mac ordering with locales

2008-02-21 Thread Jeff Davis
On Thu, 2008-02-21 at 12:01 -0500, Tom Lane wrote: > Pascal Cohen <[EMAIL PROTECTED]> writes: > > The fact is that works on Linux and win but under Mac I always get the > > ordering with 'default' C locale (I displayed all the lc_* and all are > > right set) > > Yeah, this has been complained of

Re: [GENERAL] Mac ordering with locales

2008-02-21 Thread Tom Lane
"A.M." <[EMAIL PROTECTED]> writes: > On Feb 21, 2008, at 12:01 PM, Tom Lane wrote: >> It seems to be a deficiency in Apple's locale support. The second >> message is interesting since it indicates that "smart" sorting is >> available somewhere/somehow under OS X, but nobody here knows how >> to ge

Re: [GENERAL] Disable Triggers

2008-02-21 Thread Greg Sabino Mullane
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 > My questions is this: how would I go about changing my function so > that all the triggers EXCEPT the Slony trigger would be disabled? > Any ideas? .. > PostgreSQL 7.4.19 on i686-redhat-linux-gnu, compiled by GCC gcc (GCC) 3.4.6 This won't he

Re: [GENERAL] Disable Triggers

2008-02-21 Thread Terry Lee Tucker
On Thursday 21 February 2008 13:05, Andrew Sullivan wrote: > > > > Unless I get a better idea, I'm going to change the disable_triggers > > function to duplicate all the records in pg_trigger belonging to a given > > table, delete the records except for the Slony trigger, update pg_class > > settin

Re: [GENERAL] PostgreSQL 8.3.0 RPMs are available for download

2008-02-21 Thread Julio Cesar Leiva
I found the RPMs for postgresql8.3 suse here http://software.opensuse.org/search just type postgresql and choose your O.S ---(end of broadcast)--- TIP 4: Have you searched our list archives? http://archives.postgresql.org/

[GENERAL] text and bytea

2008-02-21 Thread hernan gonzalez
(After dealing a while with this, and learning a little, I though of post this as comment in the docs, but perhaps someone who knows better can correct or clarify) = The issues of charset encodings

Re: [GENERAL] Mac ordering with locales

2008-02-21 Thread A.M.
On Feb 21, 2008, at 12:01 PM, Tom Lane wrote: Pascal Cohen <[EMAIL PROTECTED]> writes: The fact is that works on Linux and win but under Mac I always get the ordering with 'default' C locale (I displayed all the lc_* and all are right set) Yeah, this has been complained of before, eg her

Re: [GENERAL] Disable Triggers

2008-02-21 Thread Terry Lee Tucker
On Thursday 21 February 2008 12:56, Scott Marlowe wrote: > On Thu, Feb 21, 2008 at 9:20 AM, Terry Lee Tucker <[EMAIL PROTECTED]> wrote: > > Greetings: > > > > We have been working diligently toward integrating Slony into our > > production databases. We've been having trouble with various tables,

Re: [GENERAL] Disable Triggers

2008-02-21 Thread Andrew Sullivan
On Thu, Feb 21, 2008 at 01:03:13PM -0500, Tom Lane wrote: > to disable just some triggers. I think the bug you are remembering is > that there's always been a pg_trigger.tgenabled field, but it wasn't > always honored everywhere, You're quite right. My apologies. (Especially since I've now repe

Re: [GENERAL] Disable Triggers

2008-02-21 Thread Andrew Sullivan
On Thu, Feb 21, 2008 at 12:49:48PM -0500, Terry Lee Tucker wrote: > > Thanks for the input. I've been using the reltriggers in pg_class for a long > time and it does work; however, I did notice in the documentation on > pg_trigger that tgenabled is not checked properly and using that will give

Re: [GENERAL] Disable Triggers

2008-02-21 Thread Tom Lane
Andrew Sullivan <[EMAIL PROTECTED]> writes: > On Thu, Feb 21, 2008 at 11:44:25AM -0500, Terry Lee Tucker wrote: >> table where, when the given trigger does fire, it checks for an entry in the >> table at the top of the trigger and takes the appropiate action. The problem >> is that the solution for

Re: [GENERAL] Disable Triggers

2008-02-21 Thread Scott Marlowe
On Thu, Feb 21, 2008 at 9:20 AM, Terry Lee Tucker <[EMAIL PROTECTED]> wrote: > Greetings: > > We have been working diligently toward integrating Slony into our production > databases. We've been having trouble with various tables, although being > replicated perfectly in the initial replication

Re: [GENERAL] Disable Triggers

2008-02-21 Thread Terry Lee Tucker
On Thursday 21 February 2008 12:20, Andrew Sullivan wrote: > > Well, you could try rewriting the function to disable all but the Slony > trigger. But there's something else wrong here. > > I seem to recall that we found some code path where reltriggers wasn't > checked properly anyway, so disablin

Re: [GENERAL] Disable Triggers

2008-02-21 Thread Andrew Sullivan
On Thu, Feb 21, 2008 at 11:44:25AM -0500, Terry Lee Tucker wrote: > table where, when the given trigger does fire, it checks for an entry in the > table at the top of the trigger and takes the appropiate action. The problem > is that the solution for disabling all triggers is used in several uti

Re: [GENERAL] No pgxs.mk with win32 binaries

2008-02-21 Thread Tom Lane
Mike Leahy <[EMAIL PROTECTED]> writes: > I'm trying to build the PL/R module on Win32 with PostgreSQL 8.3. I've > done this before with no trouble using several 8.2.x versions of > PostgreSQL (from the win32 installer). However, now that I'm trying to > update things for 8.3, it seems that the

Re: [GENERAL] Mac ordering with locales

2008-02-21 Thread Tom Lane
Pascal Cohen <[EMAIL PROTECTED]> writes: > The fact is that works on Linux and win but under Mac I always get the > ordering with 'default' C locale (I displayed all the lc_* and all are > right set) Yeah, this has been complained of before, eg here http://archives.postgresql.org/pgsql-general/2

Re: [GENERAL] Disable Triggers

2008-02-21 Thread Terry Lee Tucker
On Thursday 21 February 2008 11:26, A.M. wrote: > On Feb 21, 2008, at 10:20 AM, Terry Lee Tucker wrote: > > Greetings: > > > > We have been working diligently toward integrating Slony into our > > production > > databases. We've been having trouble with various tables, although > > being > > replic

Re: [GENERAL] Disable Triggers

2008-02-21 Thread A.M.
On Feb 21, 2008, at 10:20 AM, Terry Lee Tucker wrote: Greetings: We have been working diligently toward integrating Slony into our production databases. We've been having trouble with various tables, although being replicated perfectly in the initial replication stage, afterwards, gettin

[GENERAL] Disable Triggers

2008-02-21 Thread Terry Lee Tucker
Greetings: We have been working diligently toward integrating Slony into our production databases. We've been having trouble with various tables, although being replicated perfectly in the initial replication stage, afterwards, getting out of sync. I have finally figured out what the problem i

[GENERAL] Disable Triggers

2008-02-21 Thread Terry Lee Tucker
Greetings: We have been working diligently toward integrating Slony into our production databases. We've been having trouble with various tables, although being replicated perfectly in the initial replication stage, afterwards, getting out of sync. I have finally figured out what the problem i

Re: [GENERAL] Vacuous errors in pg_dump ... | pg_restore pipeline

2008-02-21 Thread Vivek Khera
On Feb 20, 2008, at 2:12 PM, Douglas McNaught wrote: Alternatively, is there a better way to streamline the duplication of a database? How about: CREATE DATABASE newdb TEMPLATE olddb; The template DB has to have no open connections during the entire copy process, so it is not always

Re: [GENERAL] Querying the schema for column widths - what syntax do I use?

2008-02-21 Thread A. Kretschmer
am Thu, dem 21.02.2008, um 12:42:51 + mailte Howard Wilkinson folgendes: > SO I can do something like this? > > select character_maximum_length from information_schema.columns where > table_name='rr' and column_name='data'; > > Yes? Yes. Andreas -- Andreas Kretschmer Kontakt: Heynitz: 0

[GENERAL] selective backup and restore

2008-02-21 Thread luca . ciciriello
http://www.email.it/f Sponsor: Polizze per vacanze e settimane bianche. Acquista online! Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=7598&d=20080221

Re: [GENERAL] How to view temp tables

2008-02-21 Thread Kevin Kempter
On Thursday 21 February 2008 00:17:56 Chris wrote: > pc wrote: > > My php code is creating temporary table named mytemp,but when I run a > > selec * from mytemp I cannot see the table.How can I see the table > > from postgresql command prompt? > > temp tables are automatically deleted when the conn

Re: [GENERAL] Querying the schema for column widths - what syntax do I use?

2008-02-21 Thread Howard Wilkinson
Richard Huxton wrote: Howard Wilkinson wrote: I am working on some upgrades to the MyDNS open source product. I have some expertise in MySQL but am not overly familiar with PostgreSQL and need some guidance on how to query the schema for the maximum size of data a column can hold. Unless you

Re: [GENERAL] ts_headline

2008-02-21 Thread Richard Huxton
Stephen Davies wrote: I just spotted the difference between your test and mine. My query says: select ts_headline(abstract,to_tsquery('english','database'),'minWords = 99, maxWords = 999') from document where id=21; where your equivalent does not include the 'english' arg. If I take out the

Re: [GENERAL] ts_headline

2008-02-21 Thread Stephen Davies
I just spotted the difference between your test and mine. My query says: select ts_headline(abstract,to_tsquery('english','database'),'minWords = 99, maxWords = 999') from document where id=21; where your equivalent does not include the 'english' arg. If I take out the 'english' from this quer

Re: [GENERAL] ts_headline

2008-02-21 Thread Richard Huxton
Stephen Davies wrote: Interesting. I hadn't seen that section before. As I said in my original post: "Is this a bug or am I missing some configuration option". I shall investigate the stuff in 12.8. Any suggestions as to where to start? Well, no-one has been using 8.3 for more than a few we

Re: [GENERAL] Querying the schema for column widths - what syntax do I use?

2008-02-21 Thread A. Kretschmer
am Thu, dem 21.02.2008, um 10:44:32 + mailte Howard Wilkinson folgendes: > I am working on some upgrades to the MyDNS open source product. I have > some expertise in MySQL but am not overly familiar with PostgreSQL and > need some guidance on how to query the schema for the maximum size of

Re: [GENERAL] ts_headline

2008-02-21 Thread Stephen Davies
Interesting. I hadn't seen that section before. As I said in my original post: "Is this a bug or am I missing some configuration option". I shall investigate the stuff in 12.8. Any suggestions as to where to start? Thanks, Stephen Davies On Thursday 21 February 2008 20:50, Richard Huxton wrot

Re: [GENERAL] Querying the schema for column widths - what syntax do I use?

2008-02-21 Thread Richard Huxton
Howard Wilkinson wrote: I am working on some upgrades to the MyDNS open source product. I have some expertise in MySQL but am not overly familiar with PostgreSQL and need some guidance on how to query the schema for the maximum size of data a column can hold. Unless you're after PG-specific s

[GENERAL] Querying the schema for column widths - what syntax do I use?

2008-02-21 Thread Howard Wilkinson
I am working on some upgrades to the MyDNS open source product. I have some expertise in MySQL but am not overly familiar with PostgreSQL and need some guidance on how to query the schema for the maximum size of data a column can hold. In MySQL I can do either: a "DESCRIBE" command or do "SELE

Re: [GENERAL] ts_headline

2008-02-21 Thread Richard Huxton
Stephen Davies wrote: Attached is the "document" in question. Searches for "norwegian", "thesaurus" and "statement" give good results. A search for "database" gives the plain text from the beginning. Seems OK here - might need to look at your configuration settings. http://www.postgresql.org/

Re: [GENERAL] How to make update rapidly?

2008-02-21 Thread Gordon
On Feb 20, 4:03 am, [EMAIL PROTECTED] (hewei) wrote: > table: > CREATE TABLE price ( > TIMESTAMP Timestamp NULL, > idnumeric(5,0) NOT NULL, > price numeric(10,3) NULL, > primary key (id) > ); > sql: > update price set price=* where id=*; > > On Feb 20, 2008 11:56 AM, We

[GENERAL] unnesesary sorting after Merge Full Join

2008-02-21 Thread Alexey Nalbat
Hello. I'd like to use ORDER BY in any specified order and LIMIT, OFFSET for paging query results. The query is FULL OUTER JOIN of two tables by field id. I think the results of Merge Full Join to be ordered by some "combined id". And there is no need in extra Sort if I specify ORDER BY that "c

[GENERAL] No pgxs.mk with win32 binaries

2008-02-21 Thread Mike Leahy
Hello list, I'm trying to build the PL/R module on Win32 with PostgreSQL 8.3. I've done this before with no trouble using several 8.2.x versions of PostgreSQL (from the win32 installer). However, now that I'm trying to update things for 8.3, it seems that the pgxs.mk file needed by the PL/R

[GENERAL] Trigram performance penalty on varchar?

2008-02-21 Thread Mario Lopez
Hi, I am indexing a 100 million record table composed of varchar(255) as the field to be indexed. I have always seen that examples of pg_trgm are based on text type fields. Is this by any special reason?. My computer is creating the index since 5 hours ago so I guess there must be something

Re: [GENERAL] ts_headline

2008-02-21 Thread Stephen Davies
Attached is the "document" in question. Searches for "norwegian", "thesaurus" and "statement" give good results. A search for "database" gives the plain text from the beginning. Cheers and thanks, Stephen Davies On Thursday 21 February 2008 20:08, Richard Huxton wrote: > Stephen Davies wrote: >

Re: [GENERAL] ts_headline

2008-02-21 Thread Richard Huxton
Stephen Davies wrote: G'day Richard. I don't think so. A sample command is: ts_headline(abstract,to_tsquery('english','database'),'minWords = 99, maxWords = 999') I have also tried with smaller maxwords without any visible effect. Hmm - a simple test seems to work OK. SELECT ts_headline(

Re: [GENERAL] ts_headline

2008-02-21 Thread Stephen Davies
G'day Richard. I don't think so. A sample command is: ts_headline(abstract,to_tsquery('english','database'),'minWords = 99, maxWords = 999') I have also tried with smaller maxwords without any visible effect. Cheers, Stephen On Thursday 21 February 2008 19:19, Richard Huxton wrote: > Stephen

Re: [GENERAL] How to make update rapidly?

2008-02-21 Thread hewei
Hi,Scott Marlowe: Following your said: 1.Can i update the postgres's update stragety to that :when update one row ,then load all table rows to memory? 2.If do that, then mean random update 's cost(time) =order update? On Thu, Feb 21, 2008 at 3:23 PM, Scott Marlowe <[EMAIL PROTECTED]> wrote:

Re: [GENERAL] ts_headline

2008-02-21 Thread Richard Huxton
Stephen Davies wrote: I am a bit puzzled by the output of ts_headline (V8.3) for different queries. It seems that the difference is in the number of occurrences of the criterion words. If the number of hits is less than some number, the ts_headline result is "correct" but if the number of hit

[GENERAL] Feedback on PLJava

2008-02-21 Thread Pascal Cohen
Hello Are there users of PL/Java ? I would like to get some feedback on using it. As we could use triggers and as we have already some kinds of 'applicative' triggers written in Java, I was wondering if I could just reuse the code and plug it Thanks for any advice ---(

[GENERAL] Mac ordering with locales

2008-02-21 Thread Pascal Cohen
Hello We are using different OS (Mac, win (with a small w!) and Linux). We had some problems when doing some ordering on names. I found that it seemed to be related on locale, While on Linux it used default locales (en_US.UTF-8 or something like that), I had a nice behavior). I learned to check