[GENERAL] mobile apps: async repl/sync

2016-06-06 Thread Wim Bertels
unity for their work. -- mvg, Wim Bertels -- ROMEO: Courage, man; the hurt cannot be much. MERCUTIO: No, 'tis not so deep as a well, nor so wide as a church-door; but 'tis enough, 'twill serve. -- Sent via pgsql-general mailing list (pgs

[GENERAL] education: european project + optionally 1 non-european partner

2014-03-01 Thread Wim Bertels
write the proposal. Also no garanties, since the the project needs to be approved, it's a new program, so predicting the approval chances is hard, but i think it's an opportunity. mvg, Wim -- -- Wim Bertels Lector Katholieke Hogeschool Leuven Departement Gezondsheidszorg en Technolog

[GENERAL] GRANT .. VIEW .. documentation

2012-11-28 Thread Wim Bertels
ppose (views are readonly at this point, rules..) mvg, Wim -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] recover as much as possible (xlog flush request not satisfied)

2012-07-09 Thread Wim Goedertier
Wim>> I have a postgres db version 8.2.15 (Yes, I know it's rather old version). Wim>> After correcting some disk and file system problems the postgres table seems to be corrupt, returning: Wim>> Wim>> ERROR: xlog flush request B67/44479CB8 is not satisfied --- flus

[GENERAL] recover as much as possible (xlog flush request not satisfied)

2012-07-08 Thread Wim Goedertier
database? How difficult would it be to extract data directly from the files containing the data? (FYI: the fields used in the most important table are: bigint, character varying(32), character(1), integer, smallint, text) Regards, Wim Goedertier

Re: [GENERAL] psql latex and newlines

2012-02-23 Thread Wim Bertels
in the generated tex code s\textwidth\20cm for example, makes every box 20cm at maximum. (maybe to be put in the docu somewhere as a comment on textwidth). This all depends on the page format, unfortunately (for now? in latex) the nice (p)aragraph formatting doesn't fully extend inside a tabl

Re: [GENERAL] psql latex and newlines

2012-02-13 Thread Wim Bertels
On vr, 2012-02-10 at 19:25 -0500, Bruce Momjian wrote: > On Mon, Dec 12, 2011 at 07:15:12PM +0100, Wim Bertels wrote: > > Hallo, > > > > psql latex output format needs to differentiate between a newline and a > > tabularnewline. > > > > the problem arises

[GENERAL] psql latex and newlines

2011-12-12 Thread Wim Bertels
| TABLE(out_field1 integer, : out_field2 character varying, : out_del boolean) out_description | This function deletes a record : given the following .. .. : .. foreign_key_violation. mvg, Wim

Re: [GENERAL] tricking EXPLAIN?

2011-11-28 Thread Wim Bertels
On ma, 2011-11-28 at 13:00 +0100, Szymon Guz wrote: > > > On 28 November 2011 12:55, Wim Bertels > wrote: > Hallo, > > if u compare the 2 queries, then they should be equivalent: > > -- normal > -- EXPLAIN AN

[GENERAL] tricking EXPLAIN?

2011-11-28 Thread Wim Bertels
/8.4/static/using-explain.html Suggestions, comments are always welcome. mvg, Wim Bertels -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

[GENERAL] GPU and pgcrypto

2011-10-25 Thread Wim Bertels
-iterations mvg, Wim -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

[GENERAL] psql feature request

2011-07-12 Thread Wim Bertels
hy? within one psql script u can have several consecutive output files, maybe even with different layouts, this is not possible with the logfile option mvg, Wim -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.or

[GENERAL] plpgsql and prep statements (performance and sql injection)

2011-07-06 Thread Wim Bertels
function. Comments? mvg, Wim -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] CRUD plpgsql generator

2011-06-28 Thread Wim Bertels
On Wed, 2011-06-22 at 09:02 -0500, Merlin Moncure wrote: > On Wed, Jun 22, 2011 at 5:40 AM, Wim Bertels wrote: > > Hallo, > > > > does anyone have know of a free CRUD generator > > for generating plpgsql functions for doing CRUD operations on all the > > tables of

[GENERAL] CRUD plpgsql generator

2011-06-22 Thread Wim Bertels
-td3372030.html http://myleshenderson.com/index.php/2007/11/16/postgresql-insert-function-generator mvg, Wim -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

[GENERAL] Error details in sql (and plpgsql) (possible feature request)

2011-06-22 Thread Wim Bertels
error details as given by libpg-exec as well. Eg adding SEVERITY, MESSAGE_HINT, STATEMENT_POSITION, .. where we now only have SQLSTATE and SQLERRM mvg, Wim -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org

[GENERAL] Feature request psql

2011-04-19 Thread Wim Bertels
oesnt get written to the file1 (of \o file1) mvg, Wim -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] function to filter out tokens (sql syntax lexical)?

2011-04-15 Thread Wim Bertels
On Thu, 2011-04-14 at 16:53 -0400, Tom Lane wrote: > Wim Bertels writes: > > is there a function one could use to filter out the specific tokes? > > In 8.4 and up, pg_get_keywords() might help. indeed something i could use as reference i'm actually looking for a wa

[GENERAL] function to filter out tokens (sql syntax lexical)?

2011-04-14 Thread Wim Bertels
| type Insert keyword intokeyword my_tableidentifier values keyword .. 'hi there' literal or in another way with similar functionality? mvg, Wim -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscript

Re: [GENERAL] redirecting query statement and output to a marked up file, using psql

2011-02-04 Thread Wim Bertels
On Fri, 2011-02-04 at 03:23 -0800, Bosco Rama wrote: > Wim Bertels wrote: > > On Wed, 2011-02-02 at 12:49 -0800, Bosco Rama wrote: > >> Wim Bertels wrote: > >> > > >> > --user2 > >> > SET SESSION AUTHORIZATION user2; > >> > \pset

Re: [GENERAL] redirecting query statement and output to a marked up file, using psql

2011-02-04 Thread Wim Bertels
On Wed, 2011-02-02 at 12:49 -0800, Bosco Rama wrote: > Wim Bertels wrote: > > > > --user2 > > SET SESSION AUTHORIZATION user2; > > \pset format latex > > \echo ECHO queries > > \o report/test_user2.tex > > \i structure/test_user2.sql > > &

[GENERAL] redirecting query statement and output to a marked up file, using psql

2011-02-02 Thread Wim Bertels
, is using redirection. starting for example > psql -L out.txt # only txt markup or > psql > out.txt But then if have to postprocess the out.txt file, dividing it into several different files, and the format/markup doenst work so nice any more. Suggestions? tnx, Wim -- Sent via pg

[GENERAL] naked objects from stored procedures, interface generation

2010-12-23 Thread Wim Bertels
her way, ie that forward engineer from a database to a user interface (web or program), maybe using the stored procedures available on the database (eg in the same naked objects work) so: exisiting db (possible + stored procedures) >> user interface (eg crud or other) mvg, Wim -- Sent via

[GENERAL] Best GPLike ERD/SQL developing tool for postgresql?

2010-12-14 Thread Wim Bertels
good developing tool though. Any suggestions with regard to good gplike erd/sql developing tools for postgresql? No mails about proprietary or closed source tools plz. mvg, Wim -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription:

Re: [GENERAL] Vacuum output redirect

2007-12-06 Thread Wim Chalmet
t;[EMAIL PROTECTED]> wrote: > > does psql have write access to the folder? > > M- > > - Original Message - > *From:* Wim Chalmet <[EMAIL PROTECTED]> > *To:* pgsql-general@postgresql.org > *Sent:* Tuesday, December 04, 2007 10:27 AM > *Subject:* [GENERAL] Va

[GENERAL] Vacuum output redirect

2007-12-04 Thread Wim Chalmet
Hi, Sorry for my basic question here, but I can't figure things out. I am running postgres in a windows environment. I would like to redirect the output from a "vacuum full analyze verbose;" to a text file. How do I do this? I have tried this (the file "run_vacuum.sql" just contains this one line

[GENERAL] Grant group revoke user isue

2006-11-22 Thread Wim Bertels
Hallo, version 7.4.7 i first grant a group some privileges, then i take those privileges away from a user in this group, somehow this doens't work (no errors, but the rights aren't revoked) eg: GRANT ALL ON TABLE test TO GROUP groep; --the user jimmy is part of groep; REVOKE ALL ON TABLE test

[GENERAL] DatawareHousing

2006-04-24 Thread Wim Bertels
Hi, does anyone know a good opensource tool to do datawarehousing, (instead of having to manage an mssql server and so on, so just sticking to postgres or another good os-db.) it is client and serverside. tnx, ---(end of broadcast)--- TIP 2: D

Re: [GENERAL] A good client

2005-10-19 Thread Wim Bertels
Onyx schreef: When i look at pgadmin: an anoying feature: it closes when u do something illegal, instead of saying: u don't have the rights to do this. Which version of PgAdmin were you using? III? Or II? In my findings, I have had similiar problems to what you have been experiencing

[GENERAL] A good client

2005-10-18 Thread Wim Bertels
Dear friends, i've been using postgresql quiet some time now, but i don't find any really good clients for "dummies" to this database. When i look at pgadmin: an anoying feature: it closes when u do something illegal, instead of saying: u don't have the rights to do this. When i look at phpgpadm

Re: [GENERAL] [NOVICE] PostgreSQL Training

2003-12-15 Thread wim
o help you. And remember: in a open source community, you'll never be alone ;-) Cheers! Wim Amy Young wrote: Bret, Thanks for voicing your opinion. I'll second it as loudly as I can. I work for a small 5 member team in a major hospitality corporation. Our team has a mish mash of re

Re: [GENERAL] safety of vacuum verbose analyze on active tables

2000-04-17 Thread Wim Aarts
ying something like: NOTICE: Rel pg_class: TID 294/3: InsertTransactionInProgress 20065 - can't shrink relation NOTICE: Rel pg_class: TID 294/4: InsertTransactionInProgress 20065 - can't shrink relation NOTICE: Index pg_class_relname_index: NUMBER OF INDEX' TUPLES (1615) IS NOT THE SAME AS HEAP' (1587) NOTICE: Index pg_class_oid_index: NUMBER OF INDEX' TUPLES (1615) IS NOT THE SAME AS HEAP' (1587) VACUUM But it works in 7.0 Cheers Wim.

Re: [GENERAL] Problem with beta2 and shapshot ???

2000-03-19 Thread Wim Aarts
Dit you do an initdb as postgres? i.e. you have a: /usr/local/pgsql/data dir? Cheers Wim. - Oorspronkelijk bericht - Van: Greg Brzezinski <[EMAIL PROTECTED]> Aan: <[EMAIL PROTECTED]> Verzonden: Saturday, March 18, 2000 4:53 PM Onderwerp: [GENERAL] Problem with beta2

I can crash my database in less than 2 minutes...

2000-03-14 Thread Wim Aarts
e: \connect foodb begin; alter user hr270 nocreateuser; REVOKE all on foo from pn407; REVOKE all on bar from pn407; another 1000 of revokes . . REVOKE all on foo2 from pn407; end; And while doing that I perform a vacuum. vacuumdb foodb Please tell me I'm doing something I really shouldn't be doing. Cheers Wim.

Re: [GENERAL] Index pg_proc_prosrc_index: NUMBER OF INDEX' TUPLES (1071)ISNOT THE SAME AS HEAP' (1070)

2000-03-13 Thread Wim Aarts
something here and should I never use vacuum in a script invoked by users? Thanks Wim. > Bruce Momjian wrote: > > > > > > > > Anyone seen this message or know what it means? > > > > > > > > > > > > > > NOTICE: Index pg_pro

Re: [GENERAL] Re: "LockRelease: locktable lookup failed, no lock"

2000-03-01 Thread Wim Aarts
Hi Steve, Have you checked for inserts in the message field larger then 8k? Cheers Wim. Steve Wolfe wrote: > Grr > > Although I'm no longer getting lock releases on this table, a daily > vaccum analyze still shows: > > NOTICE: Rel reef: Uninitialized page 492

Re: [GENERAL] Re: [General] pgsql on win95

2000-02-25 Thread Wim Ceulemans
t uses an inefficient storage format and no integrity checks. You would in this case use the database server always just to service 1 client program. Regards Wim

Re: [GENERAL] AW: [HACKERS] TRANSACTIONS

2000-02-23 Thread Wim Ceulemans
; > implementation-dependent. > > > > I see no way that allowing the transaction to commit after an overflow > > can be called consistent with the spec. > > Of course it can not commit this single statement that was in error. > All he wants is to commit all other statements, before and after the > error statement inside this same transaction. > Isn't the intention of a transaction that it is atomic, i.e. either all statements pass or none of them? (see section 5.4 in the standard). Wim

Re: [GENERAL] Re: Installation problem on Suse linux 6.3

1999-12-15 Thread Wim Ceulemans
Karl Eichwalder wrote: > > Wim Ceulemans <[EMAIL PROTECTED]> writes: > > | I can't seem to install the latest postgresql opn Suse linux 6.3 (kernel > | 2.2.13, glibc 2.1.2). I always get the following message when I run > | ./configure : > | > | che

Re: [GENERAL] What would be a good way to append some text to the end of a text field?

1999-11-22 Thread Wim Aarts
Sorry Ross, I replied to early, the second example covers it.Oops Wim. "Ross J. Reedstrom" wrote: > On Mon, Nov 22, 1999 at 02:45:04PM +0100, Wim Aarts wrote: > > > > Now I use php3 to read the text from the database then I append some > > text to it and fi

Re: [GENERAL] What would be a good way to append some text to the end of a text field?

1999-11-22 Thread Wim Aarts
more text' WHERE word_id = 1; Resulting in: test=> SELECT * FROM test_text; word_id|words ---+--- 1|some text some more text Hope this explains my question. Thanks. "Ross J. Reedstrom" wrote: > On Mon, Nov 22, 1999 at 02:45:04PM +0100, Wim Aarts wrote

[GENERAL] What would be a good way to append some text to the end of a text field?

1999-11-22 Thread Wim Aarts
Now I use php3 to read the text from the database then I append some text to it and finaly I do an update on the text field. Is it possible to use an SQL statement to do this directly in the database? Thanks Wim. I use: Posgresql 6.5.3 Linux 5.2 PHP3 begin:vcard n:Aarts;Wim tel;cell:06

Re: [GENERAL] Remote Authentication

1999-09-07 Thread wim
user www. To connect to the database use the form: psql -h hostnameORipaddress -u dbname Cheers Wim. "Sean W. Ellis" wrote: > wim wrote: > > > > Hi Sean, > > > > I'm approaching my database over the internet as well. I wondered what you > > use to

Re: [GENERAL] Selecting between dates

1999-08-10 Thread Wim Kerkhoff
Thanks Aaron, That is exactly what I wanted. Much more simple then what I was thinking. On 10-Aug-99 Aaron Seigo wrote: > hi wim.. > >>select * from company where created >>is between (lastpaid + 14 days) and (created + 28 days); > > assuming that lastpaid and creat

[GENERAL] Selecting between dates

1999-08-10 Thread Wim Kerkhoff
7;t figure out the syntax that will let me add days to a date. I checked the archives and the Postgresql doc's, but nothing. Ideas? Thanks, Wim Kerkhoff.

Re: [GENERAL] For data based web site, which RDBMS is better & why ?

1999-05-20 Thread Wim Ceulemans
>Can some experts , users or gurus provide me some insight or >guide me to some pointers where impartial comparative analysis of >RDBMS has been done. Look at http://www.mysql.com/crash-me-choose.htmy for a comparison between databases. Wim Ceulemans - [EMAIL PROTECTED] Nice

Re: [GENERAL] Row Count?

1999-05-05 Thread Wim Ceulemans
and after you've done: reset QUERY_LIMIT; and in 6.5 I think there is even a better way? Regards Wim Ceulemans - [EMAIL PROTECTED] Nice Software Solutions - http://www.nice.be Eglegemweg 3, 2811 Hombeek - Belgium Tel +32(0)15 412953 - Fax +32(0)15 412954

Re: [GENERAL] Would this project be of interest to anyone?

1999-04-14 Thread Wim Ceulemans
Why not use Java in stead of SWIG - TCL/TK - PHP? Or is java not free in your opinion? Regards Wim Ceulemans - [EMAIL PROTECTED] Nice Software Solutions - http://www.nice.be Eglegemweg 3, 2811 Hombeek - Belgium Tel +32(0)15 412953 - Fax +32(0)15 412954 > >I've been working on a

Re: [GENERAL] Typecasting datetype as date. How do I cope with NULLs?

1998-11-27 Thread Wim Ceulemans
int,link1 int); create table test2 (id2 int, field2 varchar(5)); where link1 is a foreign key of test1 that should be linked to id2 of test2 Now when I execute the following query: select id1,field2,link1 from test1,test2 where test1.link1=test2.id2 union select id1,NULL,link1 from test1; I

[GENERAL] Case insensitive "contains" search

1998-11-09 Thread Wim Ceulemans
not quite the same because it also finds for example 'tempest', whereas the like search does not find it. So is there a postgreSQL operator that does the same as the like %% search but case insensitive? Regards Wim Ceulemans Nice Software Solutions Eglegemweg 3, 2811 Hombeek - Belgium

Re: [GENERAL] PostgreSQL capacity ?

1998-09-17 Thread Wim Ceulemans
ate comprehensive comparisan at: http://www.tcx.se/crash-me-choose.htmy Sorry to redirect you to the mySQL site, postgreSQL is better but they have a good comparisan Regards Wim

Re: [GENERAL] Unique key with nulls and copying databases across computers

1998-08-14 Thread Wim Ceulemans
er tst1003;' in postgresql. But I the same error pops up if I type \dt or \di Do you have any other suggestions? -Original Message- From: Vadim Mikheev <[EMAIL PROTECTED]> To: Wim Ceulemans <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Frida

[GENERAL] Unique key with nulls and copying databases across computers

1998-08-12 Thread Wim Ceulemans
to another computer. Is this in fact the way to copy databases? After copying everything works except for example \dt , \di which gives the following error: ERROR: cache lookup for userid 1003 failed What does this mean? Regards Wim Ceulemans Nice Software Solutions

Re: [GENERAL] Mac Connectivity

1998-07-29 Thread Wim Ceulemans
-Original Message- From: Andrew Gibson <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Wednesday, July 29, 1998 1:59 PM Subject: [GENERAL] Mac Connectivity >Hi, > >Has anyone achieved Macintosh connectivity to PostgreSQL? Yes, but with the postgreSQL JDBC driver. Yo