threads listlengths 1 2.99k |
|---|
[
{
"msg_contents": "Dear Friends,\n\nFirst, thank you very much for considering a fix on the GROUP BY issue.\nI am starting a new thread about another issue:\n\nIt seems that DELETE cannot understand INNER JOINS and needs HAVING. \n\nRead: \nhttp://drupal.org/node/555562 (main message)\nhttp://drupal.org/node/55... |
[
{
"msg_contents": "I've been looking at bug #5000 (must be some kind of milestone), in\nwhich the complaint was that the planner won't use an indexscan on a\nfunctional index to satisfy an ORDER BY. Of course it *can* do that,\nit's just not being very bright about it. Consider the following\nexample in the r... |
[
{
"msg_contents": "psql currently uses the ASCII characters '-' '|' and '+' to render\ntables. However, most modern terminal emulators are capable of\ndisplaying characters other than ASCII, including box drawing\ncharacters which can be used to create rather more pleasing and\nreadable tables than ASCII punct... |
[
{
"msg_contents": "Hi,\n\nI just submitted a number of patches to this list, but due to\nusing my @debian.org address rather than the address used to\nsubscribe to the list, they appear to have got stuck!\n\nSorry for the noise, I don't know how often the moderated\nmail queue is looked at, so thought it might ... |
[
{
"msg_contents": "I posted a note about a week ago which drew far less commentary than I\nexpected, regarding the timetable for the release of 8.5.\n\nhttp://archives.postgresql.org/pgsql-hackers/2009-08/msg01256.php\n\nPerhaps this is already being discussed on -core, but if so the\nconclusions haven't been s... |
[
{
"msg_contents": "Like some ancient precursor to the modern hypot()enuse the dreaded\nill-tempered HYPOT()amus lurks in the recesses of geo_ops.c and\ngeo_decls.h. And many a line of code has been swallowed by its mighty maw.\n\nThis patch replaces the HYPOT() macro with a calls to the hypot() function.\n\nTh... |
[
{
"msg_contents": "Tom Lane wrote:\n\n> Greg Stark <gsstark@mit.edu> writes:\n> \n>> If there's a performance advantage then we could add a configure test\n>> and define the macro to call hypot(). You said it existed before C99\n>> though, how widespread was it? If it's in all the platforms we support\n>> it ... |
[
{
"msg_contents": "Hello,\n\nI have downloaded and built the 8.2.4 postgreSQL from source. This was done\nby running the build.bat file under src\\tools\\msvc. I do get a few errors\nwith some contrib projects, but I do not care about them.\n\nWhen i do install(install.pl), there is a destination directory crea... |
[
{
"msg_contents": "So,\n\nafter successful, and helpful Saturday with llvm's clang static \nchecker, I decided to run it against postgresql's source code.\nResult can be seen at: http://zlew.org/postgresql_static_check/scan-build-2009-08-23-5/ \n .\nOne directory below is the tar file, with the report.\n\nI a... |
[
{
"msg_contents": "Hi all:\n\nI am doing some experiments programming on PG. I tried to modify planner and\nI find the ‘planner_hook’ in source code, but I don’t know how to use it.\n\nAnybody knows? If any code sample, very precious.\n\nThanks\n\n \n\n张茂森 ZhangMaosen\n\n \n\n\n\n\n\n\n\n\n\n\nHi all:\nI am doi... |
[
{
"msg_contents": "\nLast night I had to deal with a puzzled user of version 8.4 who found \npostgres refused to start but didn't log any error. It turned out that \nthere was an error in the pg_hba.conf file, and the client was running \nin silent mode (the SUSE default).\n\nThis seems like a bug, and it's c... |
[
{
"msg_contents": "Folks,\n\nWhile debugging an error with Aziz (postgres_newbie) Sharief in the\n#postgresql IRC channel, I found a major POLA violation:\n\n$ psql\nWelcome to psql 8.3.7, the PostgreSQL interactive terminal.\n\nType: \\copyright for distribution terms\n \\h for help with SQL commands\n ... |
[
{
"msg_contents": "There seems to be a bug in the visibility map in 8.4.0, introduced to\ncvs on 2008-12-03. It results in tuples being called visible that\nshouldn't be.\n\n\nIn heap_update function from heapam.c:\n\n /*\n * Note: we mustn't clear PD_ALL_VISIBLE flags before writing the WAL\n ... |
[
{
"msg_contents": "The attached patch reworks access control facilities in PostgreSQL.\n\nThe current implementation does not have well separation in what\nto be controled and how to be controled. For example, when we create\na new table, it requires users ACL_CREATE on the namespace and\nACL_CREATE on the tabl... |
[
{
"msg_contents": "The following url is a patch to rework access control facilities in PostgreSQL.\n\n http://sepgsql.googlecode.com/files/sepgsql-01-base-8.5devel-r2251.patch.gz\n\nThe current implementation does not have well separation in what\nto be controled and how to be controled. For example, when we c... |
[
{
"msg_contents": "Hi,\n\nI'm currently having difficulties understanding how to setup scan keys \nfor simple index scans. What I want to achieve is scanning a primary \nkey index (thus unique constraint - and as far as I know only nbtree \ncan handle these, right?).\n\nUp until now I've used something along... |
[
{
"msg_contents": "Hi, I wanna return a group of rows, like when you do \"SELECT columns FROM\ntable\", but I'm getting some troubles, I don't know if I have to use\nHeapTuple or Datum. I'm using bison to parse sqlf to sql this way:\n\n-- some code\n\n\n%%\n\n query: /* empty string */\n\n| query command\n\n;\n... |
[
{
"msg_contents": "It would really be nice if pg_class were altered to add two new columns: relcreatedat & relmoddat.\nBoth would be of type timestamp. relcreatedat would contain the timestamp the object was created.\nLikewise, relmoddat would contain the last timestamp the object was altered / modified.\n\nThi... |
[
{
"msg_contents": "Given the recent discussion of \"DELETE syntax on JOINS\" I thought it\nmight be interesting to bring a bit MySQL syntax that is in somewhat\nwidespread use, generally create somewhat cleaner code and I imagine\nwould not break much if implemented.\n\nMySQL allows INSERTs of the form:\n\nINS... |
[
{
"msg_contents": "Stef Walter wrote:\n> Magnus Hagander wrote:\n\n> > and not just use SIOCGIFCONF for all Unixen?\n> \n> I do know that using SIOCGIFCONF on AIX comes with strange wrinkles and\n> variable length data structures etc... getifaddrs() on AIX is a far more\n> maintainable interface.\n\nClearly the... |
[
{
"msg_contents": "Something is very wrong here -- this message does not have a\nmessage-id!\n\n\nStef Walter wrote:\n> Magnus Hagander wrote:\n> > On Wed, Aug 19, 2009 at 15:02, Stef Walter<stef-list@memberwebs.com> wrote:\n> >> Magnus Hagander wrote:\n> >>> On Wed, Aug 19, 2009 at 03:58, Stef Walter<stef-list... |
[
{
"msg_contents": "I've considered the way to implement access controls on the largeobject\nfeature since the first commit fest. One suggestion was that it may be\nimplementable as a partial read/write interface to TOAST values (which\nshould be newly added), and existing largeobject feature performs as\na simp... |
[
{
"msg_contents": "The tiny patch attached fixes a long-standing peeve of mine (and at \nleast one of my clients'), namely that the target list printed in \nviewdefs are unreadable.\n\nexample output now looks like this:\n\n regression=# select pg_get_viewdef('shoe',true);\n pg_get_viewdef... |
[
{
"msg_contents": "Dear friends,\n\nThank you for your previous answers. I am running into a systemic\nproblem using Drupal under PostgreSQL 8.4\n\nDrupal relies heavily on a domain derived from int:\n\nCREATE DOMAIN int_unsigned\n AS integer\n CONSTRAINT int_unsigned_check CHECK ((VALUE >= 0));\n\nAnalysing... |
[
{
"msg_contents": "[originally sent from wrong account :-( ]\n\n\nThe tiny patch attached fixes a long-standing peeve of mine (and at \nleast one of my clients'), namely that the target list printed in \nviewdefs are unreadable.\n\nexample output now looks like this:\n\n regression=# select pg_get_viewdef('s... |
[
{
"msg_contents": "The packager team is planning minor releases of 7.4.X to 8.4.X. The\npackaging of the releases will be done on September 3-4, with release\ndue on September 9 (late to avoid a US holiday on September 7).\n\n-- \n Bruce Momjian <bruce@momjian.us> http://momjian.us\n EnterpriseDB ... |
[
{
"msg_contents": "Here's a first rough cut of Linux script which attempts to launch\nPostgreSQL as a somewhat LSB conforming application. It's very\nlightly tested and I haven't gone through to confirm that every corner\ncase is handled exactly right; in fact on my kubuntu workstation (the\nonly place I've te... |
[
{
"msg_contents": "Log Message:\n-----------\nUpdate release notes for 7.4.26, 8.0.22, 8.1.18, 8.2.14, 8.3.8, 8.4.1.\n\nModified Files:\n--------------\n pgsql/doc/src/sgml:\n release-7.4.sgml (r1.1 -> r1.2)\n (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/release-7.4.sgml?r1=1.1&... |
[
{
"msg_contents": "Hi,\n\nwe have come across a problem in 8.3.x (8.3.5 and 8.3.7 was tested)\nwhile building PostgreSQL for 32-bit on 64-bit RHEL5 and Fedora 9.\n\nThe following defines were used before running configure:\n\nexport CFLAGS=\"-m32\"\nexport LD=\"ld -melf_i386\"\n\nThe above are needed because wh... |
[
{
"msg_contents": "Grzegorz Jaskiewicz wonderful static checker coughed up 5 errors in\ngeo_ops.c. None of them of any particular excitement or of earth\nshattering nature. A patch is attached below that should correct these.\n(The more little issue we eliminate, the more the large ones will stand\nout.)\n\nAt... |
[
{
"msg_contents": ">\n> ---------- Forwarded message ----------\n> From: \"Kevin Grittner\" <Kevin.Grittner@wicourts.gov>\n> To: \"Robert Haas\" <robertmhaas@gmail.com>, \"Bruce Momjian\" <\n> bruce@momjian.us>\n> Date: Thu, 27 Aug 2009 09:07:05 -0500\n> Subject: Re: 8.5 release timetable, again\n> Robert Haas ... |
[
{
"msg_contents": "Hi, I need to return a set of records from a query, first I translate\nfrom sqlf to sql and later I wanna return the query, but the server\ncrash (I guess it crashes around the yyparse call).\n\nThis is the sql:\n\nCREATE OR REPLACE FUNCTION sqlf (text) RETURNS SETOF record\nAS 'MODULE_PATHNA... |
[
{
"msg_contents": "Patch -p1 attached.\n\nCheers,\nJan",
"msg_date": "Thu, 27 Aug 2009 21:33:00 +0200",
"msg_from": "=?UTF-8?B?SmFuIFVyYmHFhHNraQ==?= <wulczer@wulczer.org>",
"msg_from_op": true,
"msg_subject": "typo in doc/src/sgml/release-8.4.sgml"
},
{
"msg_contents": "Jan Urbański wro... |
[
{
"msg_contents": "Hi,\n\nHow can I get the used memory of a memory context?\n\nIs there some function like:\n\nint getMemoryUsage( MemoryContext )\n\n?\n\nI still working in a subplan cache for a query optimizer and I need to know\nwhether a temporary memory context is in certain limits.\n\nThanks\n\nAdriano\n... |
[
{
"msg_contents": "Hello,\n\nthis small patch complete MOVE support in plpgsql and equalize plpgsql\nsyntax with sql syntax.\n\nThere are possible new directions:\n\nFORWARD expr, FORWARD ALL, BACKWARD expr, BACKWARD all.\n\nThese directions are not allowed for FETCH statement, because returns more rows.\n\nThi... |
[
{
"msg_contents": "The attached patch provides access control features on largeobject.\n\nThis patch adds the ownership and two permissions (SELECT and UPDATE) on\nlargeobjects. The two permissions controls reader and writer accesses to\nthe largeobejcts. Only owner can unlink the largeobject which is owned by.... |
[
{
"msg_contents": "Another attempt at replacing the current HYPOT macro with a much better\nbehaved function. I've added comments addressing those sections of code\nthat tripped people up before. As well as explaining some of the design\ndecisions. Feedback appreciated.",
"msg_date": "Fri, 28 Aug 2009 18:53... |
[
{
"msg_contents": "\nThe following bug has been logged online:\n\nBug reference: 5021\nLogged by: Dan O'Hara\nEmail address: danarasoftware@gmail.com\nPostgreSQL version: 8.3.7\nOperating system: win32\nDescription: ts_parse doesn't recognize email addresses with\nunderscores\nDetail... |
[
{
"msg_contents": "Hi,\n\ntrying to clean up the Postgres-R code further, I would like to make \nuse of StringInfo and accompanying functions in libpq/pqformat.c \ninstead of some home-brown duplicate of it. However, I'm missing \nhelper macros like these (mainly for readability of the code):\n\n#define BUFF... |
[
{
"msg_contents": "Hi everyone,\n\nToday I needed a feature like $subject. The use case was: UPDATE foo SET\nbar = bar + 1 WHERE id=$1, but I wanted to only do it when bar was 0. In\norder to give the user an informative error message, I also needed to\ndistinguish the two cases: a row with id = $1 doesn't exis... |
[
{
"msg_contents": "Attached patch adds YAML output option to explain:\n\nexplain (format YAML) select * from information_schema.columns;\n\n--\nGreg Sabino Mullane greg@turnstep.com\nPGP Key: 0x14964AC8 200908281414\nhttp://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8",
"msg_date": "Fri, ... |
[
{
"msg_contents": "\nWALInsertLock is heavily contended and likely always will be even if we\napply some of the planned fixes.\n\nSome callers of WALInsertLock are more important than others\n\n* Writing new Clog or Multixact pages (serialized by ClogControlLock)\n* For Hot Standby, writing SnapshotData (serial... |
[
{
"msg_contents": "Log Message:\n-----------\nDerived files that are shipped in the distribution used to be built in the\nsource directory even for out-of-tree builds. They are now alsl built in\nthe build tree. This should be more convenient for certain developers'\nworkflows, and shouldn't really break anyt... |
[
{
"msg_contents": ">\n> ---------- Forwarded message ----------\n> From: Simon Riggs <simon@2ndQuadrant.com>\n> To: pgsql-hackers <pgsql-hackers@postgresql.org>\n> Date: Fri, 28 Aug 2009 20:07:32 +0100\n> Subject: LWLock Queue Jumping\n>\n> WALInsertLock is heavily contended and likely always will be even if we... |
[
{
"msg_contents": "Attached is a patch that removes the use of the flat auth file during\nclient authentication, instead using regular access to the pg_auth\ncatalogs. As previously discussed, this implies pushing the\nauthentication work down to InitPostgres. I didn't yet do anything\nabout the idea of falli... |
[
{
"msg_contents": "While looking into a pgpool-II problem reported by a user, I found\nweird behavior of PQexecPrepared().\n\nStrange thing is, it seems PQexecPrepared() sends B(bind), Describe,\nExecute and Sync at once without checking the result of Bind\nmessage. Is this leagal from a point of view of the fr... |
[
{
"msg_contents": ">\n> ---------- Forwarded message ----------\n> From: Greg Stark <gsstark@mit.edu>\n> To: Simon Riggs <simon@2ndquadrant.com>\n> Date: Sun, 30 Aug 2009 00:28:14 +0100\n> Subject: Re: LWLock Queue Jumping\n> On Fri, Aug 28, 2009 at 8:07 PM, Simon Riggs<simon@2ndquadrant.com> wrote:\n> > WALIns... |
[
{
"msg_contents": ">\n> ---------- Forwarded message ----------\n> From: Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>\n> To: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>\n> Date: Sun, 30 Aug 2009 11:48:47 +0200\n> Subject: Re: LWLock Queue Jumping\n> Heikki Linnakangas wrote:\n>\n>> Greg Stark wro... |
[
{
"msg_contents": "Using \\d on, say, information schema views is completely hilarious\nbecause the column name/data type information is usually scrolled off\nthe screen by the immense view definition.\n\nCould we change this perhaps so that the full view definition is only\nshown with \\d+ when the view defini... |
[
{
"msg_contents": "If you look on gothic_moth and comet_moth\n\nhttp://www.pgbuildfarm.org/cgi-bin/show_log.pl?nm=gothic_moth&dt=2009-08-30%2020:06:00\nhttp://www.pgbuildfarm.org/cgi-bin/show_log.pl?nm=comet_moth&dt=2009-08-29%2021:06:00\n\nyou can see following error:\n\n../../src/test/regress/pg_regress --inp... |
[
{
"msg_contents": "After the thread started by Andrew McNamara a while ago:\n\nhttp://archives.postgresql.org/message-id/E419F08D-B908-446D-9B1E-F3520163CE9C@object-craft.com.au\n\nthe question was left hanging if other binary recv functions are missing\nsanity checks that the corresponding text input functions... |
[
{
"msg_contents": "hello everybody,\n\nwe are seriously fighting with some planner issue which seems to be \nslightly obscure to us.\nwe have a table which is nicely indexed (several GB in size).\ni am using btree_gist operator classes to use a combined index including \nan FTI expression along with a number:\n... |
[
{
"msg_contents": "I'm looking at the most recent version of the Hot Standby patch at\nRobert Haas' GIT repository. The conflict cache code is broken:\n\n> +void\n> +SetDeferredRecoveryConflicts(TransactionId latestRemovedXid, RelFileNode node,\n> + XLogRecPtr conflict_lsn)\n> +{\n> +... |
[
{
"msg_contents": "Hi, I have a code in which I translate some code from sqlf to sql, but\nwhen it comes to yy_parse the server crashes, I have no idea why,\nbecause it works fine in other situations.\n\nThis is the code (the problem is in parse_sqlf, when I call sqlf_yyparse):\n\n#include \"postgres.h\"\n#inc... |
[
{
"msg_contents": "Hi there,\n\n\nI searched the wiki and the lists about the REMAP_SCHEMA option's idea\nof a well known RDBMS, since its 10g version.\n\nHere's the short description:\n\nREMAP_SCHEMA : Objects from one schema are loaded into another schema.\n\nThe idea is when we have a given schema (let's say... |
[
{
"msg_contents": "Hi,\n\nThis seems to be the last holdup for flatfiles.c. This patch removes\nusage of that code in autovacuum launcher, instead making it go through\nthe most basic relcache initialization so that it is able to read\npg_database.\n\nTo this end, InitPostgres has been split in two. The launc... |
[
{
"msg_contents": "\n-----BEGIN PGP SIGNED MESSAGE-----\nHash: RIPEMD160\n\nJust noticed in the release notes for 8.4, there are two items\naccredited to just \"Greg\" (but there are three of us Gregs who\ncontributed to 8.4 and are in the notes). While this is very likely\nGreg Stark, due to the context, I thi... |
[
{
"msg_contents": "I just talked to Josh Berkus via phone.\n\nWe have decided to put the rough commit messages on a wiki for 8.5\nfinal so they can be easily edited by the community, before markup is\nadded and they are moved to the SGML docs. This should increase\ncommunity involvement in editing the items, a... |
[
{
"msg_contents": "This patch removes flatfiles.c for good.\n\nIt doesn't change the keeping of locks in dbcommands.c and user.c,\nbecause at least some of them are still required.\n\nRegarding sync commits that previously happen and now won't, I think the\nonly case worth worrying about is the one in vacuum.c.... |
[
{
"msg_contents": "Log Message:\n-----------\nMove processing of startup-packet switches and GUC settings into InitPostgres,\nto fix the problem that SetClientEncoding needs to be done before\nInitializeClientEncoding, as reported by Zdenek Kotala. We get at least\nthe small consolation of being able to remove... |
[
{
"msg_contents": "pgbench has #defines for number of branches, tellers, and accounts. There\nare used to populate the tables with -i, but when running actual benchmark\nit has values separately hard-coded in the query metacommands. This patch\nmakes the metacommands obtain their values from the relevant #def... |
[
{
"msg_contents": "Hi,\n\nI've been idly thinking about binary COPY and recent performance efforts\nspent on it. The main problem I have with binary output is that I never\nknow when it'll be any useful (except very same hardware and PostgreSQL\nsetup)... useful meaning I get to read it back into some database.... |
[
{
"msg_contents": "Our documentation for COPY\n(http://www.postgresql.org/docs/8.4/static/sql-copy.html) has the\nfollowing to say:\n\"\n The CSV format has no standard way to distinguish a NULL value from\nan empty string. PostgreSQL's COPY handles this by quoting. A NULL is\noutput as the NULL string and is n... |
[
{
"msg_contents": "I'm getting this same error and wonder if Tom's fix is sufficient.\n\nIPPROTO_IPV6 is defined in wd2def.h IF _WIN32_WINNT >= 0x0501, but in\npg_config_os.h _WIN32_WINNT is DEFINED as 0x0500 so IPPROTO_IPV6 is left\nundefined.\n\nRegards,\nDave\n\n-----------------------\nUnfortunately I had t... |
[
{
"msg_contents": "All,\n\nI've grown to adore the new \\ef function editor.\n\nIt doesn't seem like it would be that difficult to add a view editor as\n\\ev. While editors would also be good for other objects, I don't think\nwe can do \\et or \\er etc. because those objects don't support CREATE OR\nREPLACE.\n... |
[
{
"msg_contents": "\"make installcheck\" seems to be broken in HEAD on mingw for a few days,\nthough it ran sucessfully on Linux.\n\n$ cd contrib/citext/\n$ make installcheck\nmake -C ../../src/test/regress pg_regress.exe\nmake[1]: Entering directory `/d/projects/head/src/test/regress'\nmake[1]: `pg_regress.exe... |
[
{
"msg_contents": "There is a rule like this in scan.l\n\nuescapefail\n(\"-\"|[uU][eE][sS][cC][aA][pP][eE]{whitespace}*\"-\"|[uU][eE][sS][cC][aA][pP][eE]{whitespace}*{quote}[^']|[uU][eE][sS][cC][aA][pP][eE]{whitespace}*{quote}|[uU][eE][sS][cC][aA][pP][eE]{whitespace}*|[uU][eE][sS][cC][aA][pP]|[uU][eE][sS][cC][a... |
[
{
"msg_contents": "I posted a message a little over a week ago discussing the timetable for 8.5:\n\nhttp://archives.postgresql.org/pgsql-hackers/2009-08/msg01576.php\n\nThat thread went off on a number of interesting tangents which I found\npretty informative. Probably the most interesting one to me\npersonall... |
[
{
"msg_contents": "Hi, community\n\nThe case:\n\nE.g. I need to write a function that should do updates of a table. In\nthe function I have to specify necessary columns I need to update as\narguments and write update of the columns with this arguments.\nEverything is ok but the case when I need to skip some col... |
[
{
"msg_contents": "Hello,\n\nI wrote article about statistical function - when I tested Joe Celko's\nmethod, I found some problems on not unique dataset:\n\non distinct dataset is rule so rows here is max(hi), then there is min(lo):\n\ncreate table x1 (a integer);\n\ninsert into x1 select generate_series(1,10);... |
[
{
"msg_contents": "Hi all,\n\nI have been trying to improve the performance of a C trigger only to notice\nthat the real bottleneck was the SPI execution of dynamic SQL statements. I\nhad been using SPI_exec(sql,0) until I tried SPI_exec(sql,1), since I am\ntargeting exactly one row each time for writing. This ... |
[
{
"msg_contents": "Hi everybody,\n I am new PostgreSQL c function programmer. I'm trying to move ahead \na new \"PostgreSQL routing library\" (http://www.pgroute.org [for now, the \npage in only in spanish]).\n\nThe point:\nThere is some way to keep objects in [persisten] memory and then refer \nto these fro... |
[
{
"msg_contents": "Hackers,\n\nPer discussions on two other threads on this list which have apparently\nreached consensus, we will be going with the following schedule:\n\nCF1\t7/15 to 8/14\nAlpha1\tby 8/20\nCF2\t9/15 to 10/14\nAlpha2\tby 10/20\nCF3\t11/15 to 12/14\nAlpha3\tby 11/20\nCF4\t1/15 to 2/14\nAlpha4 ... |
[
{
"msg_contents": "Here is a patch to implement \"Support triggers on columns\" in our ToDo list.\n\nThe syntax is:\n CREATE TRIGGER name\n BEFORE UPDATE OF col1, col12, ...\n ON tbl FOR EACH ROW EXECUTE PROCEDURE func();\n\nI consulted the previous work following:\n Column-level triggers (F... |
[
{
"msg_contents": "Hi.\n\nI hope, that this is right mailing list.\n\nSELECT date, value FROM t_event\n\tWHERE t_event.id in (SELECT id FROM t_event\n\t\tWHERE date < '2009-08-25'\n\t\tORDER BY date DESC LIMIT 1)\n\tORDER BY date;\ncost 6.4\n\nSELECT date, value FROM t_event\n\tWHERE t_event.id = (SELECT id FRO... |
[
{
"msg_contents": "\nI received a trouble-report that a query using pg_relation_size()\nends with an error, \"could not open relation\". It came from\nDROP TABLE was executed concurrently; relation_open() used in\npg_relation_size() raised an error.\n\nIs it reasonable to replace relation_open() calls to try_re... |
[
{
"msg_contents": "Hi,\n\nwe have updated our patchset to current 8.5 CVS.\nThe actual patches will be in emails coming as\nanswers to this one. As two patches were already included,\nthe remaining patches are as follows:\n\n1. dynamic cursorname\n2. sqlda support\n3. describe support\n4. proper out-of-scope de... |
[
{
"msg_contents": "We have seen several previous reports of regression test failures\ndue to division by zero causing SIGFPE, even though the code\nshould never reach the division command:\n\nhttp://archives.postgresql.org/pgsql-bugs/2006-11/msg00180.php\nhttp://archives.postgresql.org/pgsql-bugs/2007-11/msg000... |
[
{
"msg_contents": "\nWe discussed earlier that HS should continue to work even if\nmax_connections was set differently on the primary and the standby. This\nnow gives a situation where snapshots can be allowed, then disallowed\nfor a while, then allowed again.\n\nComplication is that this will cause some connec... |
[
{
"msg_contents": "Attached is a patch to add a couple basic dependency look-up capability\nfunctions. They're based off the pg_get_serial_sequence function, and\nare kind of the inverse of that function in some respects.\n\nThe patch adds two new functions to the backend, pg_get_owner_object and\npg_get_owner... |
[
{
"msg_contents": "Hi there,\n\nfinally, I got time and publish some pictures from PgCon 2009 Developer \nMeeting. You can find them on flickr\nhttp://www.flickr.com/photos/obartunov/sets/72157621993479833/\n\n \tRegards,\n \t\tOleg\n_____________________________________________________________\nOleg Bartunov,... |
[
{
"msg_contents": "Hello,\n\nIt might be helpful to point out that the \"suppress_redundant_updates\"\ntrigger will cause trouble with the normal approach to doing an UPSERT, for\nexample that specified by the \"merge_db\" function in example 38-2 here:\nhttp://www.postgresql.org/docs/current/static/plpgsql-con... |
[
{
"msg_contents": "I have just discovered that this commit\nhttp://archives.postgresql.org/pgsql-committers/2008-03/msg00316.php\nwhich was alleged to improve our dtrace support on non-Solaris operating\nsystems, actually disabled it completely:\n \n+ ifeq ($(PORTNAME), solaris)\n ifeq ($(enable_dtrace), yes)\... |
[
{
"msg_contents": "In joinpath.c, match_unsorted_outer() considers materializing the\ninner side of each nested loop if the inner path is not an index scan,\nbitmap heap scan, tid scan, material path, function scan, CTE scan, or\nworktable scan. In costsize.c, cost_nestloop() charges the startup\ncost only onc... |
[
{
"msg_contents": "When pmState == PM_RECOVERY_CONSISTENT we run\nSignalAutovacWorkers(SIGTERM);\nat normal shutdown\n\nThis currently does nothing, but since there aren't ever going to be any\nAVworkers at this time we should be explicitly skipping this. That\nshould avoid misunderstanding the code and avoid a... |
[
{
"msg_contents": "Here we go again. Following Tom's advice to not insert crocks in\nadd_path(), I've instead introduced a noopjoin path type which ignores\nits inner side. This could possibly be simplified to just a \"noop\"\npath that doesn't even include an outer side, but the way I've done it\nhere doesn'... |
[
{
"msg_contents": "Hi all,\n\nthis is a reply to the following post:\n\nhttp://archives.postgresql.org/message-id/7867.1219793881@sss.pgh.pa.us\n\nwhich is also a TODO item:\n\n[E] Incomplete itemRevise the src/timezone/tznames abbreviation files:\n\n * to add missing abbreviations\n * to find abbreviatio... |
[
{
"msg_contents": "We should define _WIN32_WINNT as 0x0500 in src/include/port/win32.h,\nbut it should be 0x0501 (Windows XP) because IPPROTO_IPV6 will be\ndefined only if _WIN32_WINNT >= 0x0501 in the recent Micosoft SDKs.\n\n[ws2def.h]\n#if(_WIN32_WINNT >= 0x0501)\n IPPROTO_IPV6 = 41, // IPv6 head... |
[
{
"msg_contents": "We define StrNCpy() macro in c.h, but it conflicts another macro\ndefined in Microsoft SDKs:\n\n C:\\Program Files\\Microsoft SDKs\\Windows\\v6.1\\Include\\shlwapi.h(435)\n : warning C4005: 'StrNCpy' : macro redefinition\n\nCan we rename StrNCpy() macro to another name? (ex. pg_strn... |
[
{
"msg_contents": "Here is a patch to implement the following items in our ToDo list:\n * Add CREATE TABLE LIKE ... INCLUDING COMMENTS\n * Have CREATE TABLE LIKE copy column storage parameters\n\nThe syntax is:\n CREATE TABLE clone_table (LIKE template_table INCLUDING COMMENTS)\n -- also copy commen... |
[
{
"msg_contents": "I've grown a bit tired of reading the \"'DNSServiceRegistrationCreate' is\ndeprecated\" warnings in OS X builds, and I'm also wondering whether any\nof the recently reported problems with Snow Leopard might trace to our\nuse of an API that Apple has been deprecating since 2003. Hence,\nattac... |
[
{
"msg_contents": "I've attempted to search the archives for references to the SQL\nLATERAL feature, which AIUI is fairly-frequently requested. Most of\nthe discussion that I've found harks back to 2003, and that seems to\ndiscuss more the need for eventual support of the feature than exactly\nwhat it is or ho... |
[
{
"msg_contents": "Upgraded to Snow Leopard Saturday, and am having problems building now.\n\nThe build logs are here\nhttp://buildfarm.postgresql.org/cgi-bin/show_status.pl?member=polecat\n\nAnd the failing part is here:\nmake -C preproc all\nmake -C ../../../../src/port all\nmake[5]: Nothing to be done for `a... |
[
{
"msg_contents": "Building plperl in CVS HEAD, the link step looks like this:\n\ngcc -no-cpp-precomp -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -g -bundle -multiply_defined suppress plperl.o spi_internal.o SPI.o -bundle_loader ../.... |
[
{
"msg_contents": "\nI was looking in the int*in() functions and found some interesting limit \nbehaviours :\n\n\n* Here, the most negative value is sometimes accepted, sometimes not :\n\ntest=> SELECT -2147483648::INTEGER;\nERREUR: entier en dehors des limites\n\ntest=> SELECT '-2147483648'::INTEGER;\n i... |
[
{
"msg_contents": "Hello!\n\nI'm having some trouble with the inet data type and its\noperators. Right now I'm relying on operations such as\n \nkll=# SELECT '10.0.0.0/24'::inet + (2^(32-24))::integer;\n ?column? \n-------------\n 10.0.1.0/24\n(1 row)\n \nto get the \"next\" available /24. This works all fin... |
[
{
"msg_contents": "Hi,\n\nI'm seeking more powerful \"any\" pseudotypes. In particular, consider a\nfunction\n\nfoo(type1, type2) returns type3\n\nwhere type1 and type2 can be both any element type, but not necessarily\nboth of the same type. Currently this cannot be made to work: you could\ntry to write the ... |
[
{
"msg_contents": "Given the desire to defer pinning the type of a literal, for better\nsupport of user defined types, I think the current semantics of all\nthe conditional expressions:\n \nhttp://www.postgresql.org/docs/8.4/interactive/functions-conditional.html\n \nare somewhat broken.\n \nAs a quick sample o... |
[
{
"msg_contents": "Folks,\n\nI tried the following and it broke:\n\nWITH RECURSIVE t(j) AS (\n WITH RECURSIVE s(i) AS (\n VALUES (1)\n UNION ALL\n SELECT i+1 FROM s WHERE i < 10\n ) SELECT i AS j FROM s\nUNION ALL\n SELECT j+1 FROM t WHERE j < 10\n)\nSELECT * FROM t;\nERROR: relation ... |
[
{
"msg_contents": "I'll set up one or two more 'machines' if there is interest (Snow \nLeopard)\n\n% /Developer/usr/bin/llvm-gcc-4.2 --version\ni686-apple-darwin10-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. \nbuild 5646) (LLVM build 2118)\n\nllvm-gcc-4.2 currently fails during check for the known director... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.