Search Discussions
-
In MySQL the below query is executing properly. SELECT * FROM <Table-name WHERE (Table.ID LIKE '1%') But when i try to execute the above query in Postgres, i get the following Exception ...
Premanand
Feb 17, 2012 at 5:33 am
Dec 16, 2012 at 2:40 pm -
Hi, Please find attached the latest version of the command triggers patch, in context diff format, with support for 79 commands and documentation about why only those, and with some limitations ...
Dimitri Fontaine
Feb 24, 2012 at 10:05 pm
Mar 20, 2012 at 5:45 pm -
Attached is a revision of the pg_stat_statements normalisation patch, plus its Python/psycopg2/dellstore2 test suite, which has yet to be converted to produce pg_regress output. This revision is a ...
Peter Geoghegan
Feb 16, 2012 at 9:12 pm
Apr 9, 2012 at 3:19 pm -
The documentation of the pg_upgrade -l/--logfile option never made much sense to me: -l, --logfile=FILENAME log session activity to file I don't know what "session" means for pg_upgrade, so I never ...
Peter Eisentraut
Feb 19, 2012 at 11:13 am
Mar 12, 2012 at 11:49 pm -
Hi! I've always been a little wary of using the TRUNCATE command due to the warning in the documentation about it not being "MVCC-safe": queries may silently give wrong results and it's hard to tell ...
Marti Raudsepp
Feb 9, 2012 at 9:12 pm
Apr 21, 2012 at 8:08 pm -
34
leakproof
I missed all the fun while the "leakproof" addition to function attributes was being decided, so I know I'm late to the party. Today I had to go and look up what it actually meant. I have to say that ...Andrew Dunstan
Feb 19, 2012 at 10:29 pm
Feb 27, 2012 at 10:49 pm -
As those who've been paying attention to it know, our regular expression library is based on code originally developed by Henry Spencer and contributed by him to the Tcl project. We adopted it out of ...
Tom Lane
Feb 18, 2012 at 6:15 pm
Mar 10, 2012 at 4:27 pm -
Hi! Oleg and me found an incorrect behaviour when using a GiST index on points. It's quite easy to reproduce. test=# create table test as values (0,0.0000001); test=# insert into test values ...
Alexander Korotkov
Feb 16, 2012 at 7:43 am
Nov 10, 2012 at 3:55 pm -
Hi, When I compiled HEAD with --disable-integer-datetimes and tested pg_receivexlog, I encountered unexpected replication timeout. As far as I read the pg_receivexlog code, the cause of this problem ...
Fujii Masao
Feb 7, 2012 at 5:58 am
Jun 10, 2012 at 10:23 am -
Last year at this time, I was investigating things like ext3 vs xfs, how well Linux's dirty_bytes parameter worked, and how effective a couple of patches were on throughput & latency. The only patch ...
Greg Smith
Feb 14, 2012 at 6:46 pm
Apr 11, 2012 at 1:30 am -
Hi, This may have already been discussed before, but I can't find any mention of it. Would it be desirable to add support for triggers that contain their own anonymous functions (i.e. DO)? So instead ...
Thom Brown
Feb 17, 2012 at 1:22 pm
Mar 6, 2012 at 9:29 pm -
Hi, we have a database that is storing strings in various encodings (and non-encodings, namely the arbitrary byte soup that you might see in email headers from the internet). For this reason, the ...
Christoph Berg
Feb 9, 2012 at 10:21 am
Jul 17, 2012 at 6:12 pm -
I'm trying to understand what options I have to test "CREATE EXTENSION" w/out installing the extension files in their final destination. Could not find a way to set SHAREDIR from within psql, nor a ...
Sandro Santilli
Feb 21, 2012 at 10:20 am
Mar 2, 2012 at 10:08 pm -
I was experimenting today with a test case sent to me by somebody at Red Hat. The details aren't too important, except that it involves an inner join on the inside of a left join (where it cannot ...
Tom Lane
Feb 28, 2012 at 10:35 pm
Apr 19, 2012 at 1:13 am -
In bug #6457 it's pointed out that we *still* don't have full functionality for locale-dependent regexp behavior with UTF8 encoding. The reason is that there's old crufty code in regc_locale.c that ...
Tom Lane
Feb 15, 2012 at 11:06 pm
Feb 24, 2012 at 12:10 am -
[Posted at Andres's request] TL;DR: Inserting and indexing cubes is slow and/or broken in various ways in various builds. NOTABLE PROBLEMS 1. In 9.1.2, inserting 10x rows takes 19x the time. - ...
Jay Levitt
Feb 7, 2012 at 7:26 pm
Mar 2, 2012 at 11:25 am -
A long time ago, in a galaxy far away, we discussed ways to speed up data loads/COPY. http://archives.postgresql.org/pgsql-hackers/2007-01/msg00470.php In particular, the idea that we could mark ...
Simon Riggs
Feb 24, 2012 at 8:55 pm
Mar 3, 2012 at 8:48 pm -
Hello I had to reply to query about usage VACUUM ANALYZE or ANALYZE. I expected so ANALYZE should be faster then VACUUM ANALYZE. But is not true. Why? Regards Pavel Stehule
Pavel Stehule
Feb 21, 2012 at 2:00 pm
Feb 25, 2012 at 8:14 pm -
15
wal_buffers
Just for kicks, I ran two 30-minute pgbench tests at scale factor 300 tonight on Nate Boley's machine, with -n -l -c 32 -j 32. The configurations were identical, except that on one of them, I set ...Robert Haas
Feb 19, 2012 at 5:24 am
Aug 31, 2012 at 5:14 am -
Dear hackers, Thanks for the work on PLPython result metadata, it is very useful! I just came across a crash when trying to access this metadata on the result of an UPDATE, which obviously cannot ...
Jean-Baptiste Quenot
Feb 10, 2012 at 4:45 pm
Apr 15, 2012 at 5:27 pm -
In his blog entry http://www.depesz.com/2011/07/08/wish-list-for-psql/ depesz described a simple way to do tab completion for SELECT in psql: """ Make tab-completion complete also function names – ...
Peter Eisentraut
Feb 9, 2012 at 8:49 pm
Feb 13, 2012 at 9:26 pm -
Dave Malcolm at Red Hat has been working on a static code analysis tool for Python-related C code. He reports here on some preliminary results for plpython.c: ...
Tom Lane
Feb 18, 2012 at 7:31 pm
Mar 29, 2012 at 5:30 pm -
I decided to take a crack at the todo item created from the following post: http://archives.postgresql.org/pgsql-performance/2005-10/msg00458.php The attached patch makes the desired changes in both ...
Vik Reykja
Feb 12, 2012 at 2:07 am
Aug 27, 2012 at 11:57 pm -
[Preamble: I've been told that the hackers list is appropriate for extension-related topics like this, even if it's not about contributing to core. If I'm misappropriating, please let me know.] Goal: ...
Jay Levitt
Feb 15, 2012 at 8:35 pm
Feb 17, 2012 at 8:47 pm -
Hello I found so this extremely simple patch should be useful. It helps for pattern SELECT fx(); There was thread about it. Regards Pavel
Pavel Stehule
Feb 19, 2012 at 7:11 pm
Jun 19, 2012 at 4:17 am -
Hello, This is my first patch review ever, so please bear with me. The patch[1] is in the context diff format and applies cleanly to current git HEAD. Documentation is updated by the patch. The code ...
Alex Shulgin
Feb 1, 2012 at 12:54 pm
Apr 5, 2012 at 6:20 pm -
For (unit) testing, I have often had the need to override the current timestamp in the database system. For example, a column default, function, or views would make use of the current timestamp in ...
Peter Eisentraut
Feb 23, 2012 at 11:09 am
Feb 27, 2012 at 7:44 pm -
I have heard complaints that /contrib/pg_test_fsync is too slow. I thought it was impossible to speed up pg_test_fsync without reducing its accuracy. However, now that I some consumer-grade SATA 2 ...
Bruce Momjian
Feb 14, 2012 at 12:43 am
Feb 15, 2012 at 4:20 pm -
On a development system which wasn't being monitored very closely I think we've uncovered a bug in the listen/notify behavior. The system was struggling with lack of disk space for about a week ...
Kevin Grittner
Feb 9, 2012 at 4:18 pm
Jul 25, 2012 at 2:05 pm -
Hi all, If someone wants to drop objects owned by a particular role, they'll use DROP OWNED BY role. However, the implications of this statement aren't easily known, and once you've run it, it's not ...
Thom Brown
Feb 29, 2012 at 4:47 pm
Mar 13, 2012 at 7:24 pm -
The auto_explain module appears to create invalid JSON (in all versions since 9.0). For example, with the settings auto_explain.log_format = 'json' auto_explain.log_min_duration = 0 the query select ...
Peter Eisentraut
Feb 10, 2012 at 6:14 pm
Feb 13, 2012 at 7:12 pm -
Recent events have made me notice the OID handling. AFAICS, OIDs are just a sequence with a max value that fits in a uint. So ISTM that we should just strip out the OID handling code and just have a ...
Simon Riggs
Feb 7, 2012 at 1:46 pm
Feb 13, 2012 at 3:46 pm -
Hi list, Andrew Dunstan reported an awkward-seeming case on IRC where shifting around a concatenation expression in a view made the planner choose a good or a bad execution plan. Simplified, it boils ...
Marti Raudsepp
Feb 7, 2012 at 8:18 pm
Feb 8, 2012 at 5:54 pm -
I'm working on implementing query cache in pgpool-II. I want to know if a table has been modified because pgpool-II has to invalidate cache if corresponding table is modified. For DDL/DML it would be ...
Tatsuo Ishii
Feb 26, 2012 at 5:11 am
Mar 6, 2012 at 9:26 pm -
As per http://archives.postgresql.org/pgsql-general/2012-02/msg00304.php there is no switch case in shdepReassignOwned for foreign data wrappers. The obvious short-term answer (and probably the only ...
Tom Lane
Feb 15, 2012 at 5:58 pm
Feb 23, 2012 at 8:35 am -
Hi All, This is regarding the TODO item : "Add SPI_gettypmod() to return a field's typemod from a TupleDesc" The related message is: http://archives.postgresql.org/pgsql-hackers/2005-11/msg00250.php ...
Chetan Suttraway
Feb 1, 2012 at 10:24 am
Feb 8, 2012 at 6:59 am -
Pursuant to the recent discussion about bugs 6200 and 6245, I went trawling through all the WAL redo routines looking for bugs such as inadequate locking or transiently trashing shared buffers. ...
Tom Lane
Feb 5, 2012 at 7:19 pm
Feb 6, 2012 at 7:44 pm -
According to me update logs, somewhere between zlib versions 1.2.3.4 and 1.2.6, the definition of the gzFile type was changed from void * to struct gzFile_s *, an opaque struct. Note that gzFile is ...
Peter Eisentraut
Feb 23, 2012 at 9:16 am
Mar 19, 2012 at 7:07 pm -
Has anyone considered managing a system like the DragonFLY swapcache for a DBMS like PostgreSQL? ie where the admin can assign drives with good random read behaviour (but perhaps also-ran random ...
James
Feb 22, 2012 at 10:31 pm
Feb 29, 2012 at 3:57 pm -
Looking over the SSI 2PC code recently, I noticed that I overlooked a case that could lead to non-serializable behavior after a crash. When we PREPARE a serializable transaction, we store part of the ...
Dan Ports
Feb 14, 2012 at 2:57 am
Feb 29, 2012 at 2:59 pm -
Hackers, Is there a reason that hashtext() and friends are not documented? Given that they’re likely to be used more and more for partitioning and sharding, I think it would be useful to do so, ...
David E. Wheeler
Feb 21, 2012 at 7:50 pm
Feb 21, 2012 at 8:51 pm -
I've asked for this a few times before, but it seems others aren't as keen on it as me :-) Personally, I find the docs easier to read when formatted with the new website styles that Thom put ...
Magnus Hagander
Feb 25, 2012 at 12:54 pm
Mar 13, 2012 at 5:26 pm -
Say I'm writing an extension X, and I want to process data values from another extension that creates type Y (e.g. an hstore), what's the best way to determine the Oid of type Y in my module X code? ...
Andrew Dunstan
Feb 22, 2012 at 6:01 pm
Feb 22, 2012 at 9:46 pm -
I looked into the complaint here of poor estimation for GIN indexscans: http://archives.postgresql.org/pgsql-performance/2012-02/msg00028.php At first glance it sounds like a mistake in selectivity ...
Tom Lane
Feb 16, 2012 at 11:15 pm
Feb 20, 2012 at 2:32 pm -
This patch makes me a little nervous, because the existing behavior seems to have been coded for quite deliberately. Sadly, I don't see any comments explaining why the RESET case was excluded ...
Robert Haas
Feb 15, 2012 at 6:24 pm
Feb 16, 2012 at 9:54 pm -
I noticed ecpglib still uses PQconnectdb() with a craftily assembled connection string. Here is a patch to use PQconnectdbParams() instead.
Peter Eisentraut
Feb 2, 2012 at 6:03 pm
Feb 13, 2012 at 11:21 am -
Hi, http://www.depesz.com/2012/02/03/waiting-for-9-2-pg_basebackup-from-slave/ The above article points out the problem of pg_basebackup from the standby: when "-x stream" is specified, pg_basebackup ...
Fujii Masao
Feb 7, 2012 at 11:31 am
May 25, 2012 at 9:32 am -
Attached is a feature extracted from the Ants Aasma "add timing of buffer I/O requests" submission. That included a tool to measure timing overhead, from gettimeofday or whatever else ...
Greg Smith
Feb 22, 2012 at 11:54 am
Mar 27, 2012 at 8:25 pm -
Hi there, attached patch introduces NULLs indexing for SP-GiST. With this patch Sp-GiST supports IS NULL, IS NOT NULL clauses, as well as full index scan. We added boolean satisfyAll field in ...
Oleg Bartunov
Feb 2, 2012 at 9:26 pm
Mar 11, 2012 at 4:01 pm -
When running Postgres on a single ext3 filesystem on Linux, we find that the attached simple patch gives significant performance benefit (7-8% in numbers below). The patch adds a new option for ...
Dan Scales
Feb 16, 2012 at 5:18 pm
Mar 2, 2012 at 10:28 pm
Group Overview
group | pgsql-hackers |
categories | postgresql |
discussions | 132 |
posts | 1,517 |
users | 144 |
website | postgresql.org... |
irc | #postgresql |
144 users for February 2012
Archives
- August 2013 (1,430)
- July 2013 (1,772)
- June 2013 (2,428)
- May 2013 (1,555)
- April 2013 (1,283)
- March 2013 (1,441)
- February 2013 (1,366)
- January 2013 (2,520)
- December 2012 (1,701)
- November 2012 (1,618)
- October 2012 (1,580)
- September 2012 (1,195)
- August 2012 (1,180)
- July 2012 (1,125)
- June 2012 (1,850)
- May 2012 (1,584)
- April 2012 (1,459)
- March 2012 (1,921)
- February 2012 (1,517)
- January 2012 (1,777)
- December 2011 (1,347)
- November 2011 (1,764)
- October 2011 (1,687)
- September 2011 (1,623)
- August 2011 (1,433)
- July 2011 (1,658)
- June 2011 (2,404)
- May 2011 (1,664)
- April 2011 (1,834)
- March 2011 (1,956)
- February 2011 (2,476)
- January 2011 (2,965)
- December 2010 (2,587)
- November 2010 (2,109)
- October 2010 (2,113)
- September 2010 (2,173)
- August 2010 (2,061)
- July 2010 (1,612)
- June 2010 (1,560)
- May 2010 (1,961)
- April 2010 (1,575)
- March 2010 (1,314)
- February 2010 (2,439)
- January 2010 (3,118)
- December 2009 (2,514)
- November 2009 (493)
- October 2009 (1,903)
- September 2009 (1,990)
- August 2009 (2,170)
- July 2009 (2,025)
- June 2009 (1,565)
- May 2009 (1,518)
- April 2009 (1,431)
- March 2009 (1,424)
- February 2009 (1,399)
- January 2009 (2,641)
- December 2008 (2,011)
- November 2008 (1,918)
- October 2008 (1,695)
- September 2008 (1,887)
- August 2008 (1,374)
- July 2008 (1,495)
- June 2008 (1,149)
- May 2008 (1,112)
- April 2008 (1,908)
- March 2008 (1,288)
- February 2008 (1,309)
- January 2008 (1,220)
- December 2007 (989)
- November 2007 (1,369)
- October 2007 (1,553)
- September 2007 (1,225)
- August 2007 (1,221)
- July 2007 (1,007)
- June 2007 (1,127)
- May 2007 (1,189)
- April 2007 (1,266)
- March 2007 (1,866)
- February 2007 (1,916)
- January 2007 (1,645)
- December 2006 (1,423)
- November 2006 (1,021)
- October 2006 (1,565)
- September 2006 (2,375)
- August 2006 (2,039)
- July 2006 (1,626)
- June 2006 (1,624)
- May 2006 (1,366)
- April 2006 (1,150)
- March 2006 (1,327)
- February 2006 (1,259)
- January 2006 (1,030)
- December 2005 (1,252)
- November 2005 (1,568)
- October 2005 (1,417)
- September 2005 (1,464)
- August 2005 (1,191)
- July 2005 (1,150)
- June 2005 (1,576)
- May 2005 (1,592)
- April 2005 (1,004)
- March 2005 (1,069)
- February 2005 (969)
- January 2005 (1,100)
- December 2004 (949)
- November 2004 (1,210)
- October 2004 (1,059)
- September 2004 (951)
- August 2004 (1,601)
- July 2004 (1,397)
- June 2004 (1,037)
- May 2004 (1,446)
- April 2004 (1,167)
- March 2004 (1,330)
- February 2004 (1,003)
- January 2004 (861)
- December 2003 (827)
- November 2003 (1,618)
- October 2003 (1,602)
- September 2003 (1,683)
- August 2003 (1,343)
- July 2003 (1,045)
- June 2003 (1,302)
- May 2003 (802)
- April 2003 (1,012)
- March 2003 (1,242)
- February 2003 (1,323)
- January 2003 (1,315)
- December 2002 (1,176)
- November 2002 (1,220)
- October 2002 (1,449)
- September 2002 (1,816)
- August 2002 (2,295)
- July 2002 (1,290)
- June 2002 (1,024)
- May 2002 (1,157)
- April 2002 (1,532)
- March 2002 (1,207)
- February 2002 (1,225)
- January 2002 (1,397)
- December 2001 (963)
- November 2001 (1,301)
- October 2001 (1,155)
- September 2001 (895)
- August 2001 (1,204)
- July 2001 (938)
- June 2001 (1,131)
- May 2001 (1,458)
- April 2001 (1,168)
- March 2001 (1,672)
- February 2001 (1,154)
- January 2001 (1,450)
- December 2000 (1,222)
- November 2000 (1,390)
- October 2000 (1,296)
- September 2000 (633)
- August 2000 (888)
- July 2000 (1,428)
- June 2000 (1,283)
- May 2000 (1,648)
- April 2000 (184)
- March 2000 (291)
- February 2000 (1,464)
- January 2000 (1,639)
- December 1999 (1,056)
- November 1999 (916)
- October 1999 (949)
- September 1999 (946)
- August 1999 (695)
- July 1999 (1,070)
- June 1999 (1,242)
- May 1999 (1,136)
- April 1999 (218)
- March 1999 (1,002)
- February 1999 (692)
- January 1999 (758)
- December 1998 (591)
- November 1998 (600)
- October 1998 (1,208)
- September 1998 (678)
- August 1998 (856)
- July 1998 (482)
- June 1998 (496)
- May 1998 (618)
- April 1998 (702)
- March 1998 (1,118)
- February 1998 (1,307)
- January 1998 (855)
- December 1997 (346)
- November 1997 (374)
- October 1997 (575)
- September 1997 (549)
- August 1997 (404)
- July 1997 (391)
- June 1997 (595)
- May 1997 (478)
- April 1997 (854)
- March 1997 (526)
- February 1997 (297)
- January 1997 (927)
- December 1996 (2)
- November 1996 (1)
- October 1996 (1)
- October 1995 (2)
- July 1995 (1)