[HACKERS] CVS with tag REL7_4_STABLE don't compile

2003-11-11 Thread snpe
Hello, I have a problem with compile PostgreSQL from cvs with tag REL7_4_STABLE Error is 'ECPG_ARRAY_NONE is not declared' (in execute.c) HEAD (7.5.devel) compile fine Please help Regards Haris Peco ---(end of broadcast)--- TIP 7: don't forget t

Re: [HACKERS] Release changes

2003-08-03 Thread snpe
On Sunday 03 August 2003 11:30 pm, Bruce Momjian wrote: > Here are the changes for 7.4. I am looking for any improvements. This > will be adjusted as we move through beta. > > I need to work on the other sections of a major release, like a > compatibility section. > >

[HACKERS] CVS - /project//cvroot/pgsql-server/ src/bin/scripts/po/#cvs.lock : permission denied

2003-07-23 Thread snpe
hello, This is in current cvs regards ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Re: [HACKERS] updateable cursors & visibility

2003-03-25 Thread snpe
Hello Neil, I try example for Oracle jdbc 1.4 driver This is sample and results. I hope that is helps. If you want yet another example, please tell me. regards Haris Peco /** * A simple sample to check the availability of scrollable result sets. * * Please use jdk1.2 or later version

Re: [HACKERS] cursors outside transactions

2003-03-19 Thread snpe
On Wednesday 19 March 2003 04:33 am, you wrote: > Dave Cramer <[EMAIL PROTECTED]> writes: > > On Tue, 2003-03-18 at 19:00, Hiroshi Inoue wrote: > >> ODBC(maybe JDBC also) has cross-transaction result sets > >> (rather than cursors) since long by simply holding all > >> results for a query at client

Re: [GENERAL] [HACKERS] Cast your vote ...

2003-01-02 Thread snpe
Postgresql is first, now (51%, mysql 35%) regards Haris Peco On Thursday 02 January 2003 08:53, Daniel Kalchev wrote: > Registration is easy, and pretty much anonymous... worth to promote our > beloved database. :) > > Happy New Year, > > Daniel > > >>>"Marc G. Fournier" said: > > > > Just got t

Re: [HACKERS] Big 7.4 items

2002-12-13 Thread snpe
On Friday 13 December 2002 17:51, Bruce Momjian wrote: > Shridhar Daithankar wrote: > > And where are nested transactions? > > I didn't mention nested transactions because it didn't seem to be a > _big_ item like the others. This is big item regards Haris Peco ---(end of

Re: [HACKERS] PG 7.3: Query Meta Data with the JDBC-driver

2002-12-02 Thread snpe
Query in getImportedKey work bad in postgresql. I ask on PostgreSQLlists for query like : SELECT DISTINCT n.nspname as pnspname,n2.nspname as fnspname, c.relname as prelname, c2.relname as frelname, t.tgconstrname, a.attnum as keyseq, ic.relname as fkeyname, t.tgdeferrable, t.tgini

Re: [HACKERS] 7.4 To Do

2002-12-01 Thread snpe
On Sunday 01 December 2002 05:03, Tom Lane wrote: > Paul Ramsey <[EMAIL PROTECTED]> writes: > > Oracle has finally surpassed PostgreSQL in some elements of > > object-relational technology. Among the things you can do are: > > > > - Address components of objects using dot-notation. (select > > empl

Re: [HACKERS] 7.4 Wishlist

2002-11-30 Thread snpe
On Friday 29 November 2002 06:51 pm, Christopher Kings-Lynne wrote: > Hi guys, > > Just out of interest, if someone was going to pay you to hack on Postgres > for 6 months, what would you like to code for 7.4? > > My ones are: > > * Compliant ADD COLUMN > * Integrated full text indexes > * pg_dump

Re: [HACKERS] Why an array in pg_group?

2002-11-26 Thread snpe
On Tuesday 26 November 2002 09:05 pm, Hannu Krosing wrote: > Reinoud van Leeuwen kirjutas K, 20.11.2002 kell 17:03: > > Hi, > > > > Is there any reason why the grolist field in the table pg_group is > > implemented as an array and not as a separate table? > > most likely for performance reasons. >

Re: [HACKERS] nested transactions

2002-11-22 Thread snpe
On Friday 22 November 2002 04:36 pm, Scott Lamb wrote: > Bruce Momjian wrote: > > I am going to work on nested transactions for 7.4. > > If you're going to do a lot of reworking of how transactions are > handled, maybe this is a good time to beg for cursors that stay open > across commits. It looks

Re: [HACKERS] [GENERAL] DECLARE CURSOR

2002-11-18 Thread snpe
Hello, is it planed cursor out of a transaction in 7.4 ? Thanks Haris Peco On Monday 18 November 2002 12:30 am, Tom Lane wrote: > Bruce Momjian <[EMAIL PROTECTED]> writes: > > Let's just fix it and roll an RC2 with the fix. If not, we can just fix > > it in 7.3.1 but I see little problem in roll

[HACKERS] Query for DatabaseMetaData.getImportedKey

2002-11-16 Thread snpe
Hello I want change DatabaseMetaData.getImportedKeys that return name of constraint in place of pg_trigger.tgargs (for FK_NAME) Query for getImportedKey is like : Query 1: SELECT DISTINCT n.nspname as pnspname,n2.nspname as fnspname, c.relname as prelname, c2.relname as frelname, t.tgcons

Re: [HACKERS] create or replace view

2002-11-14 Thread snpe
On Thursday 14 November 2002 10:36 pm, Stephan Szabo wrote: > On Thu, 14 Nov 2002, snpe wrote: > > Problem is when I want change view (or functions) with a lot of > > dependecies I must drop and recreate all dependent views (or functions) - > > I want add only one column in

Re: [HACKERS] create or replace view

2002-11-14 Thread snpe
On Thursday 14 November 2002 08:01 pm, Stephan Szabo wrote: > On Thu, 14 Nov 2002, Scott Shattuck wrote: > > It might just be me but it seems that this discussion is missing the > > point if we believe this request is about saving some characters. I > > don't think it is. I think it's about being a

Re: [HACKERS] create or replace view

2002-11-14 Thread snpe
On Thursday 14 November 2002 05:45 pm, Tom Lane wrote: > snpe <[EMAIL PROTECTED]> writes: > > On Thursday 14 November 2002 05:22 pm, Bruno Wolff III wrote: > >> Are you trying to save typing a few characters or what? > > > > Yes, it is 'create or repla

Re: [HACKERS] create or replace view

2002-11-14 Thread snpe
On Thursday 14 November 2002 05:22 pm, Bruno Wolff III wrote: > On Thu, Nov 14, 2002 at 17:00:30 +, > > snpe <[EMAIL PROTECTED]> wrote: > > On Thursday 14 November 2002 05:01 pm, Bruno Wolff III wrote: > > > On Thu, Nov 14, 2002 at 16:49:42 +, > > >

Re: [HACKERS] create or replace view

2002-11-14 Thread snpe
On Thursday 14 November 2002 05:01 pm, Bruno Wolff III wrote: > On Thu, Nov 14, 2002 at 16:49:42 +, > > snpe <[EMAIL PROTECTED]> wrote: > > I want that 'create or replace view' work drop-create if view exists else > > only create > > Why

Re: [HACKERS] create or replace view

2002-11-14 Thread snpe
On Thursday 14 November 2002 04:38 pm, Rod Taylor wrote: > On Thu, 2002-11-14 at 11:17, snpe wrote: > > On Thursday 14 November 2002 02:41 pm, Bruno Wolff III wrote: > > > On Thu, Nov 14, 2002 at 13:41:18 +0000, > > > > > > snpe <[EMAIL PROTECTED]> wro

Re: [HACKERS] create or replace view

2002-11-14 Thread snpe
On Thursday 14 November 2002 02:41 pm, Bruno Wolff III wrote: > On Thu, Nov 14, 2002 at 13:41:18 +, > > snpe <[EMAIL PROTECTED]> wrote: > > Hello, > > When I change view and change number of column PostgreSQL return error > > : 'cannot change number

[HACKERS] create or replace view

2002-11-14 Thread snpe
Hello, When I change view and change number of column PostgreSQL return error : 'cannot change number of column in view' Is it too hard set this command if view exits drop view and then change view It is like with return type in function Now 'or replace' don't help too much regards --

Re: [JDBC] [HACKERS] PostgreSQL JDBC and sub-select

2002-11-14 Thread snpe
On Sunday 10 November 2002 08:51 am, Hannu Krosing wrote: > snpe kirjutas L, 09.11.2002 kell 22:51: > > Hello, > > I work with JDeveloper and PostgreSQL JDBC and I have one problem. > > I get error : > > sub-SELECT in FORM must have an alias > > I can't

[HACKERS] SQL syntax (column alias)

2002-11-10 Thread snpe
Hello, Query : select id i from tab don't work in PostgreSQL I know that select id as i from tab work, but I think that AS in 'as cluse' is optional Please comment. regards Haris Peco ---(end of broadcast)

Re: [HACKERS] PostgreSQL JDBC and sub-select

2002-11-10 Thread snpe
On Sunday 10 November 2002 08:51 am, Hannu Krosing wrote: > snpe kirjutas L, 09.11.2002 kell 22:51: > > Hello, > > I work with JDeveloper and PostgreSQL JDBC and I have one problem. > > I get error : > > sub-SELECT in FORM must have an alias > > I can't

Re: [HACKERS] PostgreSQL JDBC and sub-select

2002-11-10 Thread snpe
On Sunday 10 November 2002 05:27 am, Tom Lane wrote: > snpe <[EMAIL PROTECTED]> writes: > > I work with JDeveloper and PostgreSQL JDBC and I have one problem. > > I get error : > > sub-SELECT in FORM must have an alias > > > > Is it SQL standard (

[HACKERS] PostgreSQL JDBC and sub-select

2002-11-09 Thread snpe
Hello, I work with JDeveloper and PostgreSQL JDBC and I have one problem. I get error : sub-SELECT in FORM must have an alias I can't change SQL command, but it is internal JDeveloper command Is it SQL standard (must have alias) or PostgreSQL specific ? Regards Haris Peco --

Re: [HACKERS] protocol change in 7.4

2002-11-08 Thread snpe
On Friday 08 November 2002 09:29 am, Hannu Krosing wrote: > snpe kirjutas R, 08.11.2002 kell 03:49: > > > PQfsize() is entertaining, but not often what you really want (you > > > really want the width of the widest value in the column after > > > conversion to

Re: [HACKERS] protocol change in 7.4

2002-11-07 Thread snpe
On Thursday 07 November 2002 09:50 pm, korry wrote: > > > b) Send a decoded version of atttypmod - specifically, decode the > > > precision and scale for numeric types. > > > >I want decode type,length,precision and scale > > Type is returned by PQftype(), length is returned by PQfsize(). Precisi

Re: [HACKERS] protocol change in 7.4

2002-11-07 Thread snpe
> b) Send a decoded version of atttypmod - specifically, decode the > precision and scale for numeric types. > I want decode type,length,precision and scale regards Haris Peco ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster

Re: [HACKERS] protocol change in 7.4

2002-11-07 Thread snpe
Is exists patch for 7.4devel ? regards Haris Peco On Tuesday 05 November 2002 01:14 am, Satoshi Nagayasu wrote: > Hi all, > > Mike Mascari <[EMAIL PROTECTED]> wrote: > > Is there any thought about changing the protocol to support > > two-phase commit? Not that 2PC and distributed transactions > >

Re: [HACKERS] 7.3b3 build --with-perl fails on RH 8.0

2002-10-28 Thread snpe
Change directory in src/pl/plperl and execute gcc command with option -D_GNU_SOURCE (2 files) and then continue make form base directory You must add /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libperl.so in /etc/ld/so/conf or in LD_LIBRARY_PATH regards Haris Peco On Monday 28 October 200

Re: [HACKERS] [JDBC] Out of memory error on huge resultset

2002-10-16 Thread snpe
This code work for me : Connection db = DriverManager.getConnection(url,user,passwd); PreparedStatement st = db.prepareStatement("begin;declare c1 cursor for select * from a"); st.execute(); st = db.prepareStatement("fetch 100 in c1"); ResultSet rs = st.exe

Re: [HACKERS] [JDBC] Out of memory error on huge resultset

2002-10-11 Thread snpe
splay them > > Dave > > On Fri, 2002-10-11 at 12:48, snpe wrote: > > Hello, > > Does it mean that psql uses cursors ? > > > > regards > > Haris Peco > > > > On Friday 11 October 2002 05:58 pm, Dave Cramer wrote: > > > This really is an ar

Re: [HACKERS] [JDBC] Out of memory error on huge resultset

2002-10-11 Thread snpe
l be the trickiest. Not > to mention updateable result sets. > > As it turns out there is a mechanism to get to the end move 0 in > 'cursor', which currently is being considered a bug. > > Dave > > On Fri, 2002-10-11 at 11:44, Doug Fields wrote: > > At 08:27 AM 10/11

Re: [HACKERS] [Fwd: Re: [JDBC] Patch for handling "autocommit=false" in postgresql.conf]

2002-10-11 Thread snpe
at is the right way to deal with setting autocommit in > clients? > > thanks, > --Barry > > > Original Message > Subject: Re: [JDBC] Patch for handling "autocommit=false" in > postgresql.conf Date: Tue, 17 Sep 2002 10:26:14 -0400 > From: To

Re: [HACKERS] [JDBC] Out of memory error on huge resultset

2002-10-11 Thread snpe
Barry, Is it true ? I create table with one column varchar(500) and enter 1 milion rows with length 10-20 character.JDBC query 'select * from a' get error 'out of memory', but psql not. I insert 8 milion rows and psql work fine yet (slow, but work) In C library is 'execute query' without fetch

Re: [HACKERS] problem with new autocommit config parameter and jdbc

2002-09-11 Thread snpe
On Wednesday 11 September 2002 06:11 pm, Stephan Szabo wrote: > On Wed, 11 Sep 2002, snpe wrote: > > On Wednesday 11 September 2002 02:55 pm, Stephan Szabo wrote: > > > On Wed, 11 Sep 2002, snpe wrote: > > > > If decision (transaction or not) is after parser (befo

Re: [HACKERS] problem with new autocommit config parameter and jdbc

2002-09-11 Thread snpe
On Wednesday 11 September 2002 02:55 pm, Stephan Szabo wrote: > On Wed, 11 Sep 2002, snpe wrote: > > On Wednesday 11 September 2002 03:14 am, Stephan Szabo wrote: > > > On Wed, 11 Sep 2002, snpe wrote: > > > > On Wednesday 11 September 2002 02:09 am, Stephan Szabo w

Re: [HACKERS] problem with new autocommit config parameter and jdbc

2002-09-11 Thread snpe
On Wednesday 11 September 2002 02:38 pm, Rod Taylor wrote: > > > > Why rollback.This is error (typing error).Nothing happen. > > > > I think that we need clear set : what is start transaction ? > > > > I think that transaction start with change data in database > > > > (what don't change data this

Re: [HACKERS] problem with new autocommit config parameter and jdbc

2002-09-11 Thread snpe
On Wednesday 11 September 2002 03:14 am, Stephan Szabo wrote: > On Wed, 11 Sep 2002, snpe wrote: > > On Wednesday 11 September 2002 02:09 am, Stephan Szabo wrote: > > > On Wed, 11 Sep 2002, snpe wrote: > > > > yes, we're going around in circles. > > > &

Re: [HACKERS] problem with new autocommit config parameter and jdbc

2002-09-11 Thread snpe
On Wednesday 11 September 2002 04:58 am, Stephan Szabo wrote: > On Wed, 11 Sep 2002, snpe wrote: > > On Wednesday 11 September 2002 02:09 am, Stephan Szabo wrote: > > > On Wed, 11 Sep 2002, snpe wrote: > > > > yes, we're going around in circles. > > > &

Re: [HACKERS] problem with new autocommit config parameter and jdbc

2002-09-10 Thread snpe
On Wednesday 11 September 2002 02:09 am, Stephan Szabo wrote: > On Wed, 11 Sep 2002, snpe wrote: > > yes, we're going around in circles. > > > > Ok.I agreed (I think because Oracle do different) > > Transaction start > > I type invalid command > > I co

Re: [HACKERS] problem with new autocommit config parameter and jdbc

2002-09-10 Thread snpe
On Wednesday 11 September 2002 01:25 am, Stephan Szabo wrote: > On Wed, 11 Sep 2002, snpe wrote: > > On Tuesday 10 September 2002 11:50 pm, Stephan Szabo wrote: > > > On Tue, 10 Sep 2002, snpe wrote: > > > > On Tuesday 10 September 2002 07:46 pm, scott.marlowe w

Re: [HACKERS] problem with new autocommit config parameter and jdbc

2002-09-10 Thread snpe
On Tuesday 10 September 2002 11:50 pm, Stephan Szabo wrote: > On Tue, 10 Sep 2002, snpe wrote: > > On Tuesday 10 September 2002 07:46 pm, scott.marlowe wrote: > > > What if it's a select for update? IF that failed because of a timout > > > on a lock, shouldn'

Re: [HACKERS] problem with new autocommit config parameter and jdbc

2002-09-10 Thread snpe
On Tuesday 10 September 2002 07:46 pm, scott.marlowe wrote: > On Tue, 10 Sep 2002, Stephan Szabo wrote: > > > > > > It starts a transaction, failes the first command and goes into > > > > > > the error has occurred in this transaction state. Seems like > > > > > > reasonable behavior. > > > > > >

Re: [JDBC] [HACKERS] problem with new autocommit config parameter and jdbc

2002-09-10 Thread snpe
On Tuesday 10 September 2002 09:55 pm, Tom Lane wrote: > Bruce Momjian <[EMAIL PROTECTED]> writes: > > That seems messy. What you are saying is that if autocommit is off, > > then in: > > > > SET x=1; > > UPDATE ... > > SET y=2; > > ROLLBACK; > > > > that the x=1 doesn't get rolle

Re: [HACKERS] problem with new autocommit config parameter and jdbc

2002-09-10 Thread snpe
On Tuesday 10 September 2002 04:16 am, Stephan Szabo wrote: > On Tue, 10 Sep 2002, snpe wrote: > > On Tuesday 10 September 2002 03:05 am, Stephan Szabo wrote: > > > On Tue, 10 Sep 2002, snpe wrote: > > > > On Monday 09 September 2002 11:03 pm, Rod Taylor wrote: >

Re: [HACKERS] problem with new autocommit config parameter and jdbc

2002-09-09 Thread snpe
On Tuesday 10 September 2002 03:05 am, Stephan Szabo wrote: > On Tue, 10 Sep 2002, snpe wrote: > > On Monday 09 September 2002 11:03 pm, Rod Taylor wrote: > > > On Mon, 2002-09-09 at 17:04, snpe wrote: > > > > I'm use 'autocommit=false' and have probl

Re: [HACKERS] problem with new autocommit config parameter and jdbc

2002-09-09 Thread snpe
On Monday 09 September 2002 11:03 pm, Rod Taylor wrote: > On Mon, 2002-09-09 at 17:04, snpe wrote: > > I'm use 'autocommit=false' and have problem with psql > > When any commnad is lost, then next commnad get error for transactions > > (simple select comm

Re: [HACKERS] problem with new autocommit config parameter and jdbc

2002-09-09 Thread snpe
don't seem worth the effort to me. > > In general I think that autocommit=off is probably going to be very > poorly supported in the 7.3 release. We can document it as being > "work in progress, use at your own risk". > I'm use 'autocommit=false' a

Re: [JDBC] [HACKERS] problem with new autocommit config parameter and jdbc

2002-09-07 Thread snpe
On Saturday 07 September 2002 02:55 am, Bruce Momjian wrote: > Barry Lind wrote: > > Haris, > > > > You can't use jdbc (and probably most other postgres clients) with > > autocommit in postgresql.conf turned off. > > > > Hackers, > > > > How should client interfaces handle this new autocommit feat

Re: [HACKERS] problem with new autocommit config parameter and jdbc

2002-09-06 Thread snpe
l.conf turned off. > > Hackers, > > How should client interfaces handle this new autocommit feature? Is it > best to just issue a set at the beginning of the connection to ensure > that it is always on? > > thanks, > --Barry > > snpe wrote: > >Hi Dave, > >