[HACKERS] Synchronization Primitives

2008-11-13 Thread [EMAIL PROTECTED]
Hi all: I am a fresh men in PostgreSQL. And i work on benchmark study these days using PostgreSQL. Now i have a question: Is there some way to show the lock contention of PostgreSQL? As I know, you can use *show mutex status* in MySQL to find which mutex is hot. But i don't know in Postg

[HACKERS] Oprofile with postgresql

2008-08-08 Thread [EMAIL PROTECTED]
Hi all: Recently i do a test of postgresql. To get more information of the functions in PostgreSQL, i use opgprof and opannotate, which are two tools in Oprofile. But i can't work with the tools correctly. PostgreSQL is compiled with -g option and the errors are like this: opgprof error:

Re: [HACKERS] Script binaries renaming

2008-03-26 Thread k Kotala <[EMAIL PROTECTED]>
Bruce Momjian napsal(a): Where are we on this? Tom thinks we don't want this. TODO has: I plan to send survey on general list about it today. Zdenek -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgre

[HACKERS] Pl/Java broken since Postgresql 8.3-rc1

2008-01-14 Thread [EMAIL PROTECTED]
Hi there, as you now is plJava broken with the actual security releases. There is a pljava.dll at http://www.ejurka.com/pgsql/pljava/83rc1/ to fix it for version 8.3RC1. Is a pljava.dll for version 8.2.6 out? It's very important for me, need it for my office. Juergen --

[HACKERS] data access automatic filter

2007-11-09 Thread [EMAIL PROTECTED]
a limiti a SOLI 9,95 € AL MESE FINO A PRIMAVERA 2008! http://abbonati.tiscali.it/adsl/prodotti/tc/tandemfree_tel_cc/ ---(end of broadcast)--- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to

[HACKERS] status of PlPython

2007-05-29 Thread [EMAIL PROTECTED]
I wonder if I should use PlPython in my projects or not. Browsing on the Python list it seems that nobody is using it. Browsing on Google Groups I find worrysome threads talking about removing support from it in future versions of PostgreSQL. So, I would like to know what's the current status of Pl

[HACKERS] return varchar from C function

2007-02-18 Thread [EMAIL PROTECTED]
Hi, just for fun, I wrote a little postgresql contrib, who has a C function called myfun inside it. The function myfun returns a value , now I return a cstring type value, and it works fine if I run from psql shell: select value from myfun(paramteres); but I can't do an insert like: insert (ch

[HACKERS] Problem in buidind Postgres with mingw

2006-11-14 Thread [EMAIL PROTECTED]
seems ok. then we do: $make the outcome is the following: Paolo [EMAIL PROTECTED] /d/msys/1.0/home/src/postgresql-8.1.4 $ make make -C doc all make[1]: Entering directory `/d/msys/1.0/home/src/postgresql-8.1.4/doc' gzip -d -c man.tar.gz | /bin/tar xf - for file in man1/*.1; do \ mv $file $file.

Re: [HACKERS] hstore isexists

2006-10-11 Thread [EMAIL PROTECTED]
>> 'exists' isn't a good name for function :(. >> > > Yeah, that isn't going to work. Perhaps "ifexists"? Or just leave well > enough alone. > > > Darn. Can't have been thinking clearly this morning. How about "exist" (no s)? Maybe 'found', 'present', or 'contains'?  (no, I h

Re: [HACKERS] find the template of a database in SQL

2006-08-18 Thread [EMAIL PROTECTED]
loned from and I don't think we store that info anywhere.     -- Korry --   Korry Douglas    [EMAIL PROTECTED]   EnterpriseDB  http://www.enterprisedb.com

Re: [HACKERS] [PATCHES] PL instrumentation plugin and Rendezvous variable

2006-08-15 Thread [EMAIL PROTECTED]
on't really have an implementor's guide. Thanks for your help and suggestions.     -- Korry --   Korry Douglas    [EMAIL PROTECTED]   EnterpriseDB  http://www.enterprisedb.com

Re: [HACKERS] Plugins redux (was Re: [PATCHES] PL instrumentation

2006-08-10 Thread [EMAIL PROTECTED]
oaded. Given that, I assume you don't feel the need to unload old shared libraries if the user (a superuser) removes an entry from backend_load_libraries, right? In fact, it looks _PG_fini() is only called if you *reload* a library, unless I'm missing something somwhere. --   Ko

Re: [HACKERS] Plugins redux (was Re: [PATCHES] PL instrumentation plugin

2006-08-10 Thread [EMAIL PROTECTED]
before?) the call to BeginReportingGUCOptions() - by that time, we know whether we are a superuser and we have processed all GUC options. Also, should we create an on_proc_exit() handler that would unload all dynamic libraries (specifically to call the _PG_fini() functions)?     -- Korry --   Kor

Re: [HACKERS] Plugins redux (was Re: [PATCHES] PL instrumentation

2006-08-09 Thread [EMAIL PROTECTED]
ou --- I can do it if you don't want to. I'll take a stab at it...  thanks for your help so far.     -- Korry --   Korry Douglas    [EMAIL PROTECTED]   EnterpriseDB  http://www.enterprisedb.com

Re: [HACKERS] Plugins redux (was Re: [PATCHES] PL instrumentation plugin

2006-08-09 Thread [EMAIL PROTECTED]
$libdir/plugins/ unless you are a superuser. BTW, is anyone up for renaming the existing "preload_libraries" variable to "postmaster_load_libraries"? This would be more symmetrical with "backend_load_libraries", and so perhaps clearer about which does what Make

Re: [HACKERS] proposal for PL packages for 8.3.

2006-08-09 Thread [EMAIL PROTECTED]
Oracle support? Looking at this: http://thinkoracle.blogspot.com/2005/10/oracle-packages.html it seems varaiable are per-session. Package variables are per-session.  Don't forget package initializers too... --   Korry Douglas    [EMAIL PROTECTED]   EnterpriseDB  http://www.enterprisedb.com

Re: [HACKERS] 8.2 features status

2006-08-09 Thread [EMAIL PROTECTED]
process > making it vastly easier for new hackers to get started. A developers' wiki with links into the list archives would be great. My thoughts exactly... --   Korry Douglas    [EMAIL PROTECTED]   EnterpriseDB  http://www.enterprisedb.com

Re: [HACKERS] [PATCHES] PL instrumentation plugin support (i.e. PL/pgSQL

2006-08-08 Thread [EMAIL PROTECTED]
would be great.  Can you point me to the patch you're referring to?  I can convert my patch if you prefer.     -- Korry --   Korry Douglas    [EMAIL PROTECTED]   EnterpriseDB  http://www.enterprisedb.com

Re: [HACKERS] pg_terminate_backend

2006-08-03 Thread [EMAIL PROTECTED]
I am not sure how you prove the non-existance of a bug. Ideas? I do that by deleting all of my code (usually by accident :-) No code, no bugs!     -- Korry

Re: [PATCHES] [HACKERS] Possible explanation for Win32 stats

2006-07-29 Thread [EMAIL PROTECTED]
a previous call     */ Thanks for tackling this problem too.     -- Korry   Korry Douglas    [EMAIL PROTECTED]   EnterpriseDB  http://www.enterprisedb.com

Re: [HACKERS] Possible explanation for Win32 stats regression test

2006-07-29 Thread [EMAIL PROTECTED]
Is anyone working on this? Tom Lane wrote: > korry <[EMAIL PROTECTED]> writes: > > The problem is that, each time you go through > > pgwin32_waitforsinglesocket(), you tie the *same* kernel object > > (waitevent is static) to each socket. > > >

[HACKERS] parser error when trying to connect to postges db from tomcat

2006-04-19 Thread [EMAIL PROTECTED]
Hi, Im getting this error when I try to connect to a postgresql database from a web application running on tomcat the error is from the postgersql logs ERROR: No parser with id 17555 The error below is from tomcat logs: --- (executing StatementCallback): encountered SQLException [ERR

Re: [HACKERS] how can i get the binary format of timestamp?

2006-04-18 Thread [EMAIL PROTECTED]
I changed some codes here, to get the binary format of timestamp /*/ so ,what switch should i turn on? === 2006-04-18 21:47:42 You Wrote:======= >"[EMAIL PROTECTED]&qu

[HACKERS] how can i get the binary format of timestamp?

2006-04-17 Thread [EMAIL PROTECTED]
Hello: I find that the real timestamp format(got from the file which is produced by copying binary to ) is different from what i find in timestamp_send func. i do think that the binary format of a timestamp "2006-04-18 11:20:20" should be "44 2B B0 6A 00 00 00 00" standing for "secs:1143713898

[HACKERS]

2005-12-02 Thread [EMAIL PROTECTED]
Good Morning, I'm an italian student and I'm working on a project involving postgres. I'm sorry for my very bad english. I've some questions: 1)Does postgres upport semi-joins? 2)What about projections or selections in query tree writing? Does Postgres support algebraic space (in other word when/

[HACKERS] postgres questions (semi-joins, algebraic space)

2005-12-02 Thread [EMAIL PROTECTED]
Good Morning, I'm an italian student and I'm working on a project involving postgres. I'm sorry for my very bad english. I've some questions: 1)Does postgres upport semi-joins? 2)What about projections or selections in query tree writing? Does Postgres support algebraic space (in other word w

[HACKERS]

2005-05-07 Thread [EMAIL PROTECTED]
unsubscribe ---(end of broadcast)--- TIP 7: don't forget to increase your free space map settings

Re: [HACKERS] Tablepartitioning: Will it be supported in Future?

2005-04-26 Thread [EMAIL PROTECTED]
Ok! The Links your posted are great and i guessing it will help me a lot! But the other Question (if Tablepartitioning under Developemt and will it be supported generally) is still alive. Josh Qingqing Zhou wrote: <[EMAIL PROTECTED]> writes I have done the following Post to PSQL Perfo

[HACKERS] Tablepartitioning: Will it be supported in Future?

2005-04-26 Thread [EMAIL PROTECTED]
Hi PSQL Hackers, I have done the following Post to PSQL Performance, but Richard Huxton say it might be a better Idea to post it again on you List so i forward the message. [EMAIL PROTECTED] wrote: Hi all, Ia a Guy from Germany an a strong Postgres believer! It is the best OpenSource Database i

Re: [HACKERS] Opinions on Usenet ...

2004-11-29 Thread [EMAIL PROTECTED]
[EMAIL PROTECTED] ("Gevik Babakhani") writes: >Maybe it is me but, I am trying to send a posting regarding a solution >proposal for a TODO item. >My posting has a .tgz attachment but it seems that it never arives at >hackers list! >This is very frustrating. I even ask Br

Re: [HACKERS] will PITR in 8.0 be usable for "hot spare"/"log shipping" type of replication

2004-08-14 Thread [EMAIL PROTECTED]
> Tom Lane > Eric Kerin <[EMAIL PROTECTED]> writes: > > The issues I've seen are: > > 1. Knowing when the master has finished the file transfer transfer to > > the backup. > > The "standard" solution to this is you write to a temporary file na

Re: [HACKERS] NOT LOGGED options (was Point in Time Recovery )

2004-08-14 Thread [EMAIL PROTECTED]
> Tom Lane wrote > "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: > > It would be my intention (in 8.1) to make those available via > switches e.g. > > NOT LOGGED options on CREATE INDEX and COPY, to allow users to take > > advantage of the no logging o

[HACKERS] PITR on Windows?

2004-08-13 Thread [EMAIL PROTECTED]
I notice that PITR doesn't function correctly on Windows. Has that been reported elsewhere? The archive_command parameter %p resolves to a full path containing slashes rather than backslashes. This is not a Windows file, so any attempt to copy it fails. There isn't any way to avoid that. I'm sur

Re: [HACKERS] Re: We have got a serious problem with pg_clog/WAL synchronization

2004-08-13 Thread [EMAIL PROTECTED]
> Tom Lane > > "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: > > This is not a provably correct state machine > > I think the discussion ends right there. Yes... Negative results are worth documenting too, IMHO. Best Regards, Simon Riggs ---

Re: [HACKERS] Development Schedule Page

2004-08-13 Thread [EMAIL PROTECTED]
> Tom Lane > > "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: > > Please could we have a development schedule page on the web site...? > > You haven't been around here long, have you? Gee, Tom, you noticed? What gave it away? :) (I wasn't in

[HACKERS] Development Schedule Page

2004-08-13 Thread [EMAIL PROTECTED]
Please could we have a development schedule page on the web site...? The information it should contain would be like this (and others) Current Development Release: (Coordinator: Bruce Momjian) 8.0:Beta1, released 2 August 2004 Beta2, deadline 2 September 2004

Re: [HACKERS] Re: We have got a serious problem with pg_clog/WAL synchronization

2004-08-13 Thread [EMAIL PROTECTED]
On Thu, Aug 12, 2004 at 01:13:46PM -0400, Tom Lane wrote: > Kenneth Marshall <[EMAIL PROTECTED]> writes: > > On Thu, Aug 12, 2004 at 09:58:56AM -0400, Tom Lane wrote: > >> How would a read-only action work to block out the checkpoint? > > > The latch+versio

[HACKERS] pg_resetxlog fixed

2003-10-09 Thread [EMAIL PROTECTED]
Changed a couple of lines and traslated them in a better way. Regards, Fabrizio Mazzoni # SOME DESCRIPTIVE TITLE. # FIRST AUTHOR <[EMAIL PROTECTED]>, YEAR. # msgid "" msgstr "" "Project-Id-Version: PostgreSQL v7.4\n" "POT-Creation-Date: 2003-10-05 13:25

[HACKERS] pgscripts improvement

2003-10-09 Thread [EMAIL PROTECTED]
Fixed up alignment problems and improved some translations. Regards, Fabrizio Mazzoni # SOME DESCRIPTIVE TITLE. # FIRST AUTHOR <[EMAIL PROTECTED]>, YEAR. # msgid "" msgstr "" "Project-Id-Version: PostgreSQL v7.4\n" "POT-Creation-Date: 2003-10-05 13:26-03

[HACKERS] Statement-level Triggers

2003-08-14 Thread [EMAIL PROTECTED]
Hello everybody, how far have you got with statement-level triggers development? Regards, Claudio. ---(end of broadcast)--- TIP 6: Have you searched our list archives? http://archives.postgresql.org

Re: Fwd: Re: [HACKERS] [GENERAL] Extracting time from timestamp

2003-03-20 Thread Shridhar Daithankar&lt;[EMAIL PROTECTED]>
On Friday 21 Mar 2003 12:25 pm, Tom Lane wrote: > "Shridhar Daithankar<[EMAIL PROTECTED]>" <[EMAIL PROTECTED]> writes: > > And What's so holy about "" if it is a function? > > The problem is that TIME(n) is a datatype name, not a function call,

Fwd: Re: [HACKERS] [GENERAL] Extracting time from timestamp

2003-03-20 Thread Shridhar Daithankar&lt;[EMAIL PROTECTED]>
(end of broadcast)--- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

[HACKERS] Another naive question, inheritance and foreign key

2003-03-19 Thread Shridhar Daithankar&lt;[EMAIL PROTECTED]>
Hi, Just stumbled upon this. Is it correct to conclude that foreign keys are not inherited from this text? phd=# create table perbookings(type smallint) inherits (bookings); CREATE TABLE phd=# \d perbookings; Table "public.perbookings" Column |

Re: [HACKERS] Primary key and references

2003-03-18 Thread Shridhar Daithankar&lt;[EMAIL PROTECTED]>
On Tuesday 18 Mar 2003 8:07 pm, Nigel J. Andrews wrote: > On Tue, 18 Mar 2003, Shridhar Daithankar<[EMAIL PROTECTED]> wrote: > > I consider this as a bug but given my understanding of sql, I won't count > > on it. Any comments? > > If a is to be referenced in a f

[HACKERS] Primary key and references

2003-03-18 Thread Shridhar Daithankar&lt;[EMAIL PROTECTED]>
Hi, Today I discovered that if there is a compund primary key on a table, I can not create a reference from another table to one of the fields in the primary key.. Look at this.. phd=# create table tmp1(a integer,b integer,primary key(a,b)); NOTICE: CREATE TABLE / PRIMARY KEY will create impl

[HACKERS] Thread safe ecpg

2003-02-24 Thread Shridhar Daithankar&lt;[EMAIL PROTECTED]>
Hi all, I was just wondering.The patches for making ecpg thread safe that were floating around few days back, are they going to make in any near future releases? I am badly bitten by libpq as code i my multithreaded app. is growing steadily. I find myself making stupid mistakes every now and t

Re: [HACKERS] location of the configuration files

2003-02-14 Thread Shridhar Daithankar&lt;[EMAIL PROTECTED]>
On Friday 14 Feb 2003 9:05 pm, you wrote: > Martin Coxall <[EMAIL PROTECTED]> writes: > Here's a pretty topic for a flamewar: should it be /etc/postgres/ or > /etc/postgresql/ ? I vote for /etc/pgsql. Keeping in line of unix philosophy of cryptic and short names. Who wants

Re: [HACKERS] Changing the default configuration (was Re: [pgsql-advocacy]

2003-02-11 Thread Shridhar Daithankar&lt;[EMAIL PROTECTED]>
On Tuesday 11 Feb 2003 10:56 pm, you wrote: > Josh Berkus <[EMAIL PROTECTED]> writes: > > What if we supplied several sample .conf files, and let the user choose > > which to copy into the database directory? We could have a "high read > > performance"

Re: [pgsql-advocacy] [HACKERS] PostgreSQL Benchmarks

2003-02-11 Thread Shridhar Daithankar&lt;[EMAIL PROTECTED]>
s so things have changed for sure, but you got the idea, right? Shridhar ---(end of broadcast)--- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

Re: [HACKERS] On file locking

2003-01-30 Thread Shridhar Daithankar&lt;[EMAIL PROTECTED]>
On Friday 31 Jan 2003 9:56 am, you wrote: > Kevin Brown <[EMAIL PROTECTED]> writes: > But this only wins if a child process inheriting an open file also > inherits copies of any locks held by the parent. If not, then the > issue is moot. Anybody have any idea if file locks work

Re: [HACKERS] [ADMIN] Cannot connect to the database (PG 7.3)

2003-01-28 Thread Shridhar Daithankar&lt;[EMAIL PROTECTED]>
through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly

[HACKERS] ECPG, threading and pooling

2003-01-23 Thread Shridhar Daithankar&lt;[EMAIL PROTECTED]>
(send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

Re: Windows Build System was: [HACKERS] Win32 port patches

2003-01-22 Thread [EMAIL PROTECTED]
Firebird uses a set of Borland command line tools and Borland's make, which they give away as a free download. Even if you're compiling for Windows, the build process uses Borland's command line "make". A batch build script copies makefiles from a single source directory and spreads them aro

Re: Windows Build System was: [HACKERS] Win32 port patches

2003-01-22 Thread [EMAIL PROTECTED]
This is a multi-part message in MIME format. ---(end of broadcast)--- TIP 6: Have you searched our list archives? http://archives.postgresql.org

Re: [HACKERS] Threads

2003-01-03 Thread [EMAIL PROTECTED]
I am sure, many of you would like to delete this message before reading, hold on. :-) I'm afraid most posters did not read the message. Those who replied "Why bother?" did not address your challenge: I think threads are useful in difference situations namely parallelising blocking conditio

[HACKERS] urgent needed

2002-07-12 Thread [EMAIL PROTECTED]
spese, stessa banca, più interessi. Clicca qui: http://adv2.email.it/cgi-bin/foclick.cgi?mid=657&d=12-7 ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Re: [HACKERS] pg_access

2002-07-09 Thread [EMAIL PROTECTED]
used to – and sadly often expect – poor interfaces with the programs they use. Windows users are far less forgiving. If, what you are talking about, is truly wide spread use for PC’s and small-time web-servers then a Windows interface is damn near necessary.   Eric   -Original Message-

Re: [HACKERS] pg_access

2002-07-09 Thread [EMAIL PROTECTED]
I'm pleased to see some renewed interest in pg_access.  It seems obvious to me that MS Access is not currently...and probably never will be able to handle data in a robust and reliable fashion.  MS Access' apparent success is due to the user interface quality and "ease of use" for "non-progr

Fw: [HACKERS] PostgreSQL mission statement?

2002-05-02 Thread [EMAIL PROTECTED]
ing credit where credit is due. I like to see copyright notices and references to the GPL in Linux oriented code. It gives me a better "feel" for those "upon whose shoulders I stand". Arthur - Original Message - From: "mlw" <[EMAIL PROTECTED]> To: &

[HACKERS] mV database tools

2002-05-02 Thread [EMAIL PROTECTED]
Dear Team,   I'm wide open to other ideas for the support of robotic vision through tools already built into PostGreSQL.  But you've already admitted to certain speed limitations...and robotic vision is going to require much more intense processing power.  An MVD might allow the data stream

[HACKERS] mV database tools

2002-05-01 Thread [EMAIL PROTECTED]
Dear Team,   I've read your comments.  No, I don't think that MVD's are the best thing since sliced breadbut they do have a certain "simplicity" that seems to hold the key to high speed analysis of large volumes of streaming data from the "eyes" of a robot.  This stream of data must be q

[HACKERS] mV database tools

2002-05-01 Thread [EMAIL PROTECTED]
Dear Team,   I have been monitoring this list for quite some time now and have been studying PostGreSQL for a while.  I also did some internet research on the subject of "multi valued" database theory.  I know that this is the basis for the "Pick" database system, FileMaker Pro, "D3", and a

[HACKERS] Can't subscribe or get CVS

2001-09-27 Thread [EMAIL PROTECTED]
I just tried to get PostgreSQL from CVS , but it rejected the password 'postgresql' for user 'anoncvs': $ export CVSROOT=:pserver:[EMAIL PROTECTED]:/home/projects/pgsql/cvsroot $ cvs login (Logging in to [EMAIL PROTECTED]) CVS password: cvs login:

[HACKERS] Re: OID wraparound (was Re: pg_depend)

2001-07-23 Thread [EMAIL PROTECTED]
[EMAIL PROTECTED] (Lamar Owen) wrote in message news:<[EMAIL PROTECTED]>... > [trimmed cc:list] > On Wednesday 18 July 2001 17:09, Bruce Momjian wrote: > > OK, we need to vote on whether Oid's are optional, and whether we can > > have them not created by defaul