threads
listlengths
1
2.99k
[ { "msg_contents": "Folks,\n\nJeremy handed me an interesting feature proposal at last night's SFPUG \nmeeting.\n\nPG authentication methods ought to have drop-downs to other authentication \nmethods, in the same manner as SSH and PAM.\n\nThe idea would be this, if you had the following in your pg_hba.conf:\n\ns...
[ { "msg_contents": "gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes \n-Wmissing-declarations -I. -I../../../src/include -D_GNU_SOURCE -c -o \nbootparse.o bootparse.c\nbootparse.y:26:26: access/strat.h: No such file or directory\nIn file included from bootparse.y:340:\nbootscanner.l:24:26: access/strat....
[ { "msg_contents": "Is anyone working on these two todo items?\n\n# CLUSTER\n\n * Automatically maintain clustering on a table\n * Add way to remove cluster specification on a table\n", "msg_date": "Thu, 18 Mar 2004 17:55:22 -0500", "msg_from": "Joseph Shraibman <jks@selectacast.net>", "msg_f...
[ { "msg_contents": "Hi,\n\nI have done a patch for turning off clustering on a table entirely. \nUnforunately, of the three syntaxes I can think of, all cause \nshift/reduce errors:\n\nSET WITHOUT CLUSTER;\nDROP CLUSTER\nCLUSTER ON NONE;\n\nThis is the new grammar that I added:\n\n/* ALTER TABLE <name> SET WITHO...
[ { "msg_contents": "If I pg_restore a DB and don't ANALYSE before a pl/pgsql trigger activates \nthen that trigger's going to be planned based on the default stats forever \nisn't it?\n\n-- \n Richard Huxton\n Archonet Ltd\n", "msg_date": "Fri, 19 Mar 2004 10:22:04 +0000", "msg_from": "Richard Huxton <...
[ { "msg_contents": "Dear hackers,\n\nplease find attached a quick proof of concept for a 'pg_advisor' schema.\n\nWell, the name is 'xpg_advisor' at the time, because it is not a system\nschema hence it cannot starts with 'pg_'.\n\nIt appears that some support functions would be useful. I've noticed some\nare ava...
[ { "msg_contents": "\nDear hackers,\n\nI'm looking for an array_index function that would return the index of the\noccurence of some element in an array. I noticed that I can know whether a\nelement is in the array with ANY, but I also need the actual index.\n\nThere is no such function under that name, and I ca...
[ { "msg_contents": "Hi everyone:\n \nI am using Postgresql 7.3.4 and found a problem inserting \"Timestamp\" objects through\nJDBC Prepared Statements when the time zone is set to Canada/Newfoundland (3 hours and\n30 minutes from MGT). I am trying to insert \"new Timestamp(0L)\" into one of the fields.\nThe data...
[ { "msg_contents": "> Environment:\n> \n> SunOS 5.8 Generic_108528-27 sun4u sparc SUNW,Ultra-250\n> gcc version 3.3.1\n> PostgreSQL-7.4.2\n> ./configure --with-java --enable-thread-safety\n> \n> \"make\" results in:\n> \n> gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes \n> -Wmiss...
[ { "msg_contents": "Thomas, Andrew, Karel,\n\nThomas is correct: many applications which read or make CSVs will accept a \nnewline if it is enclosed in a quote. \n\n> > I *have* seen monstrosities like fields that do not begin with the quote\n> > character but then break into a quote, e.g.:\n> >\n> > 1,2,a,123...
[ { "msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nHi developpers,\nI would like to know information about OS virtual memory page and your\nBTree node. Theoriticaly, BTree perform better if his size node is the\nsame that OS page (the unit of transfer between main memory and disk).\nThis way,...
[ { "msg_contents": "I sent this to Bruce but forgot to cc pgsql-hackers, The patches are\nlikely to go into 2.6.6. People interested in extremely safe fsync\nwrites should also follow the IDE barrier thread and the true fsync() in\nLinux on IDE thread\n\n----- Forwarded message from Yusuf Goolamabbas <yusufg@out...
[ { "msg_contents": "\nHow are we handling that now? I seem to recall someone (Tom?) making some\nchanges to our btree indices for this ...\n\nFor instance, very simplistic example:\n\n m\n h t\n a l n z\n\nIf I remove the ...
[ { "msg_contents": "\nWould it be possible to have the command completion tag for EXECUTE return\nthe affected row count? The JDBC API says you should be able to get the\naffected row count for any statement and I'm working on integrating a\npatch that transforms regular statements to server side prepared\nstat...
[ { "msg_contents": "I've been fooling with adding a report of the executing query to the\nCONTEXT stack when an error happens within a query submitted by a\nplpgsql function. Since plpgsql submits all its queries through SPI,\nthe most convenient place to do this is in spi.c, and so the behavior\nwill also appl...
[ { "msg_contents": "I was installing a Python development environment on\nmy Mac today, and PostgreSQL 7.4.2 as a part of it. I\nnoticed that according to src/tools/thread/thread_test,\nyou can add THREAD_SUPPORT=yes to src/template/darwin.\n\nAdditionally, PL/Python compiles and works fine\nwithout a libpython ...
[ { "msg_contents": "Lately I have been thinking about the next steps for the pg_autovacuum\ndaemon. I have written up a document that describes what I'm planning\nto do next. Please read the attached and response as I would really\nlike some feedback.\n\nThanks,\n\nMatthew O'Connor", "msg_date": "Sun, 21 ...
[ { "msg_contents": "\nHello Hackers,\n\nI had some performance problems with a plpgsql function I developped,\nbecause the function is very costly (it involves querying tables) and the\nquery optimiser assumed basically that it was an inexpensive function.\n\nI found a workaround, but the problem may worth being...
[ { "msg_contents": "I'm currently working on a student research project that is supervised by a\nprofessor from my university. This project duration is 2 semesters. The\ntopic is to implement the two missing SQL3 standard triggers functionalities\nin Postgresql, ��triggers on columns�� and ��referencing old or n...
[ { "msg_contents": "I am currently thinking of updateable views for a possible student research \nproject. In this\ncase there comes some points to my mind, i want to share with the list.\n\na) Definition of an updateable view?\n\nThe first thing what i thought about was, what defines a updateable view. \nAn upd...
[ { "msg_contents": "Matthew,\n\nI am replying to the below as a pg_autovacuum user for multiple client \ndatabases. My thoughts:\n\n> Inability to customize thresholds on a per table basis\n\nThis hasn't been a big problem for me. I would judge that 80% of my clients \nwould make no use of this feature.\n\n>...
[ { "msg_contents": "Thought I would throw out my plans for the coming weeks. \n\nThis Wednesday-Friday I am in New York City at the SRA office for\nbusiness meetings.\n\nI have already started working on open issues from my mailbox, and I\nwill continue on those for the next few weeks. There are items that\nnee...
[ { "msg_contents": "I had a suspicion and it was confirmed:\n\ntest=# create table oidtest (a int4, unique(oid));\nNOTICE: CREATE TABLE / UNIQUE will create implicit index \n\"oidtest_oid_key\" for table \"oidtest\"\nCREATE TABLE\ntest=# select oid from oidtest;\n oid\n-----\n(0 rows)\n\ntest=# alter table oid...
[ { "msg_contents": "What's going on here:\n\nusa=> select user_id from users_users where joindate >= '2004-03-09';\nERROR: column \"user_id\" does not exist\n\nusa=> select * from shop_orders where user_id in (select user_id from \nusers_users where joindate >= '2004-03-09');\n[waits and waits and waits...have ...
[ { "msg_contents": "\nDear hackers,\n\na small inconsistency with the syntax of any/all as describe from the\ndocumentation. One can write:\n\npsql> SELECT 'foo' ~~ ANY (ARRAY['%a%','%o%']);\n\nalthough the following yields a syntax error, even if LIKE is an operator,\nthus it should be allowed.\n\npsql> SELECT ...
[ { "msg_contents": "I'd like to wrap up the linked list rewrite, and get the code into CVS \nreasonably soon. If you're unfamiliar with the motivations for \nredesigning the linked list code, check the archives for previous \ndiscussions, such as:\n\n \nhttp://www.mail-archive.com/pgsql-patches@postgresql.or...
[ { "msg_contents": "Hi,\n\nI'm wondering who's doing the \"PostgreSQL on Windows\" page \n(http://techdocs.postgresql.org/guides/Windows). I wanted to offer to \nadd the OleDB project to the \"Connecting your Windows applications to \nPostgreSQL <http://techdocs.postgresql.org/guides/PostgreSQL>\" section.\n\nCu...
[ { "msg_contents": "\nI had a brief look at this today. Basically, I thought of adding a new \nroutine to dumputils.c thus:\n\n void appendStringLiteralDQ(PQExpBuffer buf, const char *str, const \nchar *dqprefix)\n\nand using it in dumping function bodies and comments on all objects, \nwith a prefix argument ...
[ { "msg_contents": "\n'k, just had someone tell me that they believed that a pg_dump will lock a\ntable while the dump is happening ... my first thought/response was that\nthis would defeat the point of MVCC, no? And would make for a terrible\nbackup procedure on a very large database, since you'd just have mad...
[ { "msg_contents": "\nHackers\n\nAlong with some other folks I am co-authoring a chapter on PostgreSQL\nin the next edition of \"Database System Concepts\" by Silberschatz,\nKorth and Sudarshan (http://db-book.com)\n\nThis is in the form of a \"case study\" and will follow the pattern in\nChapters 25,26 and 27 (...
[ { "msg_contents": "Hackers,\n\nI'm (again) trying to get my hands dirty on the nested transaction\nthingie. Hopefully I will have a lot more commitment this time ...\n\nI'm currently looking at whatever is missing in the description below.\nIf you see anything that isn't being considered please let me know.\n\...
[ { "msg_contents": "CVSROOT:\t/cvsroot\nModule name:\tpgsql-server\nChanges by:\ttgl@svr1.postgresql.org\t04/03/23 15:35:17\n\nModified files:\n\tdoc/src/sgml/ref: alter_table.sgml \n\tsrc/backend/bootstrap: bootparse.y \n\tsrc/backend/catalog: heap.c \n\tsrc/backend/commands: cluster.c tablecmds.c \n\tsrc/backe...
[ { "msg_contents": "Can anyone show me where to download a zipped tarball of .html files of\nwhat exists at the following link?\n\nhttp://www.postgresql.org/docs/7.4/static/index.html\n\nThanks.\n\nPaul\n\n\n", "msg_date": "Tue, 23 Mar 2004 19:30:21 -0500", "msg_from": "Paul Tillotson <pntil@shentel.net>...
[ { "msg_contents": "All,\n\nJust started an upgrade from 7.2.X to 7.4.2. I am getting the following PANIC when loading the data from a 7.2.4 db \nusing 7.4.2 pg_dump via a pipe \n\npg_dump -h bda4c OLD_DB |psql -h bda5 -e NEW_DB\n\nbda4c is PostgreSQL 7.2.4 on i686-pc-linux-gnu, compiled by GCC 2.95.4\nbda5 ...
[ { "msg_contents": "Hi \n\n I received a unicode CSV file from someone (the file was created on a\nwindows system) and I'm trying to import it into postgresql. When it gets to\na line that isn't ascii it prints the following error and aborts: \"ERROR:\ncopy: line 33, Invalid UNICODE character sequence found (0x...
[ { "msg_contents": "Sailesh,\n\nFirst off, I'd suggest reopening this topic on Advocacy or Docs. Hackers is \nreally not the list for this, and I think you'd get more feedback on those \nother lists.\n\n> - Database Design and Querying Tools\n\nWell, I think there is no question that phpPgAdmin and pgAdminIII...
[ { "msg_contents": "Here are my instant messaging addresses:\n\n\tAIM\tbmomjian\n\tICQ\t151255111\n\tYahoo\tbmomjian\n\tMSN\troot@candle.pha.pa.us\n\tIRC\tbmomjian on #postgresql via FreeNode or EFNet\n\nI find it useful to help developers work on PostgreSQL and keep in touch\nwith folks.\n\nI usually see Postgr...
[ { "msg_contents": "I've attached a patch for pg_ctl which integrates the Apache project's \nrotatelogs for logging. Is there any interested in the community for \nsuch a thing? I have not yet added the appropriate stuff to autoconf to \ncompletely integrate this.\n\nI would appreciate any suggestions for improv...
[ { "msg_contents": "Hello,\n\nAbout a week ago we had a report of replicator not working correctly on\nES 3.0 when running with more than one CPU. Replicator worked perfectly\nwhen utilizing only one CPU.\n\nThe machine was a Quad Xeon with HyperThreading, SCSI RAID array and 4\nGig of RAM.\n\nDuring our testing...
[ { "msg_contents": "On this page:\n\nhttp://developer.postgresql.org/bios.php\n\nIs there any chance we could get our email addresses obfuscated to \nprevent spam?\n\nChris\n", "msg_date": "Thu, 25 Mar 2004 12:04:38 +0800", "msg_from": "Christopher Kings-Lynne <chriskl@familyhealth.com.au>", "msg_fro...
[ { "msg_contents": "Kind people,\n\nI just tried to compile HEAD on fedora, and it broke as per <http://rafb.net/paste/results/W1942548.html>\n\nMore info...\n\nuname -a\nLinux fetter.org 2.4.22-1.2166.nptl #1 Fri Jan 30 13:48:31 EST 2004 i686 i686 i386 GNU/Linux\n\ngcc -v\nReading specs from /usr/lib/gcc-lib/i3...
[ { "msg_contents": "I got several suggestions to include ordering operator for tsvector to aim \ngrouping, union and except etc.\n\nI wrote silly comparing function (byte to byte with some optimizations), but I \nwondered that for using operator < in order clause its need to declate B-tree \nopclass for type:\n\...
[ { "msg_contents": "a wrote:\n> Hi,\n> \n> Is it have any tools or control let delphi can direct connet to postgresql\n> not only use odbc?\n> \n> Thank!!\n> \n> Gary\n> \n> \n\n\ntake a look at\n\nwww.zeoslib.net\nwww.microolap.com/dac/postgresdac.htm\n\ndbexpress :\n\nwww.vitavoom.com\n\nDaniel\n", "msg_da...
[ { "msg_contents": "Fabien, Christopher:\n\nIt would be nice for pgAdmin & PhpPgAdmin to have GUI interfaces to \npg_advisor, though.\n\nAlso, I would argue for this to be a GBorg/pgFoundry project rather than part \nof the core. It's the sort of thing that could easily be database-version \nagnostic, and that ...
[ { "msg_contents": "I've had to work through this and have with a series of messy tables \nand functions, but this screams a need for a more elegant solution. \nI've dug through the archives and didn't come up with a satisfying long \nterm answer for virtual hosting beyond what I've already implemented.\n\nPer ...
[ { "msg_contents": "Hackers,\n\nI've been drawing a directed graph which shows the transaction block\nstates (the TBLOCK_* symbols in access/transam/xact.c) as currently\nimplemented, and how it will be if I add states to represent\nsubtransactions.\n\nTo read it, keep in mind that I ommited the TBLOCK_ prefix s...
[ { "msg_contents": "Hello,\n\nI was looking at putting the code for this in copy.c\nCopyReadLineFunction.\n\nIf I do a printf at point A it compiles, installs, runs, doesn't display\nany data after running initdb and returns a result when a COPY FROM is\nexecuted in psql.\n\nIf I do a printf at point B it compil...
[ { "msg_contents": "I've just found out the hard way that Postgres doesn't even build on\nrecent gcc releases for 64-bit HPPA. The reason is that the compiler\nnow notices and complains about alignment errors that will lead to\ncore dump at runtime, and GIST has got some. The particular code that\nfails to com...
[ { "msg_contents": "I have some results from DBT-2 testing PostgreSQL with difference block\nsizes against different lvm stripe widths on Linux. I've found that\niostat appears to report more erratic numbers as the block size of the\ndatabase increases but I'm not able to see any reason for it.\n\nI have pg_xlo...
[ { "msg_contents": "Hey,\n\nWe have many machines that run Solaris. I know that there are patches\nout there for some of the bugs in 7.4.2 for Solaris but I was wondering\nwhat the timeline for an official 7.4.3 was?\n\nSincerely,\n\nJoshua D. Drake\n\n-- \nCommand Prompt, Inc., home of Mammoth PostgreSQL - S/OD...
[ { "msg_contents": "\ncan you create second md5 function like TEXT md5(TEXT string, VARCHAR\nsalt); ? , This is using in shadow passwords and give more combination of\nthis same password.\n\n\nthanks, bye\n ivan\n\n\n", "msg_date": "Sat, 27 Mar 2004 22:31:15 +0100 (CET)", "msg_from": "ivan <iv@psycho.pl>...
[ { "msg_contents": "Hi, I have found what I thing is a quite annoying behaviour of\nPostgres (psql). When you type (and ask for complation) for some\nstring that has some characters not in the ASCII encoding it requires\na double quote on it, however if you don't put those double quotes\naround it, you can still...
[ { "msg_contents": "\nThe following bug has been logged online:\n\nBug reference: 1118\nLogged by: elein\n\nEmail address: elein@norcov.com\n\nPostgreSQL version: 7.4\n\nOperating system: SuSE\n\nDescription: Misleading Commit message\n\nDetails: \n\nIn a block transaction, whether or...
[ { "msg_contents": "\nhi,\n\nwe can create table using LIKE syntax , so i think we could create type\nwith LIKE, its quite this same, ??\n\nbye\n\n", "msg_date": "Sun, 28 Mar 2004 18:43:35 +0200 (CEST)", "msg_from": "ivan <iv@psycho.pl>", "msg_from_op": true, "msg_subject": "create type with like...
[ { "msg_contents": "\n\nHello all,\n\nCan anyone point me to where in the code does Postgres Flush all the\nData to disk???\nWhen XLogFlush is called, it only flushes the XLOG to disk, right? Does\nthe entire Data get flushed at the same time as the Log? \n\nThanks,\n\nDiego\n", "msg_date": "Sun, 28 Mar 2004...
[ { "msg_contents": "I've been looking at the planner performance problem exhibited by\nEric Brown:\nhttp://archives.postgresql.org/pgsql-performance/2004-03/msg00273.php\n\nWhile a nine-way join is inherently going to take some time to plan\n(if you don't constrain the search space with JOIN), it seemed to me\nt...
[ { "msg_contents": "\nHow hard would it be to add this:\n\n\"The \\l command should only list databases that the current user is\nauthorized for, the \\du command should only list users authorized for the\ncurrent database (and perhaps only superusers should get even that much\ninformation), etc. Perhaps it is ...
[ { "msg_contents": "I don't have the original thread in my inbox anymore, so for reference:\n\thttp://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF \n-8&selm=20129.1074484755%40sss.pgh.pa.us\n\nTom Lane last said:\n> I have committed a patch into CVS HEAD --- give it a try.\n\nIt took me awhile, but I final...
[ { "msg_contents": "\nDear hackers,\n\nI'm wondering for the rationnal of the types used in various tables in\npg_catalog (v 7.4.2) so as to represent the very same thing:\n\n- in pg_index, the indkey is represented by a int2vector\n\n- in pg_constraint, conkey and confkey are represented my smallint[]\n\nAs I w...
[ { "msg_contents": "\nHe brings up two good points here ... first one being, where exactly, in\nthe docs, do we mention getting the OID in either pg_database, or\npg_class, to determine a directory, or file name? I just checked the\npg_database catalog page, and it doesn't ...\n\nSecond point, of course being ....
[ { "msg_contents": "Hi All, \n\n I'm trying to gain a good understanding of how PostgreSQL determines\nwhat to sample when doing a stats analysis on a table. Using PostgreSQL\n7.4's pg_stats table I can get a good overall understanding of\nvariations in the table, but I need to know how PostgreSQL makes it's\nch...
[ { "msg_contents": "If you do this sequence of events, you get a failure to restore:\n\n1. As superuser, do this:\n\ntest2=# CREATE FUNCTION plpgsql_call_handler () RETURNS language_handler\ntest2-# AS '$libdir/plpgsql.so', 'plpgsql_call_handler'\ntest2-# LANGUAGE c;\nCREATE FUNCTION\n\n2. Drop privs.\n\...
[ { "msg_contents": "We have a number of issues revolving around the fact that composite types\n(row types) aren't first-class objects. I think it's past time to fix\nthat. Here are some notes about doing it. I am not sure all these ideas\nare fully-baked ... comments appreciated.\n\nWhen represented as a Datu...
[ { "msg_contents": "E:\\postgresql-snapshot\\src>nmake /f win32.mak\n \nMicrosoft (R) Program Maintenance Utility Version 7.10.3077\nCopyright (C) Microsoft Corporation. All rights reserved.\n \n cd include\n if not exist pg_config.h copy pg_config.h.win32 pg_config.h\n cd ..\n cd in...
[ { "msg_contents": "RedHat with PG 7.3.2\n\nI'm recovering a harddrive failure where all \nof the database files were thrown into one\ndirectory. I'm trying to sort out which ones\ngo with what. (Stop laughing.)\n\nI've identified template1 and template0 files,\nbut I don't need to recover those...\n\nThe rest ...
[ { "msg_contents": "Hi guys,\n\nDoes anyone else have this problem?\n\nWe have softupdates turned on on our data dir. (Soon to be turned off \ndue to these issues).\n\nThe partition is 12GB. 'df' says that we're using 12 and a bit GB but \n'du' says we're using 2GB (which we really are).\n\nIt seems that perha...
[ { "msg_contents": "This might seem a bit silly, but is there any chance we could add a \ncomment at the end of pg_dump text output that says '-- End of dump'?\n\nWould make it useful for checking that you actually have a complete dump...\n\nChris\n\n", "msg_date": "Tue, 30 Mar 2004 11:37:45 +0800", "msg...
[ { "msg_contents": "Hi\n\nCould someone please try and explain why the cost estimator for the hash \nis implemented as it is? (cost_hashjoin in costsize.c)\nEspecially these issues:\n\nFirst, there is the estimation on the number of rows and their size. \nExecChooseHashTableSize() apparently trusts neither and d...
[ { "msg_contents": "\nDear hackers,\n\nI'm still trying to play with pg_catalog relations.\n\nI notice that some tables in pg_catalog have oids, and some do not have\nthem (e.g. pg_attribute, pg_group, pg_shadow...). Also convenient\nuser-oriented views could reproduce the oid of their parent table\n(e.g. pg_use...
[ { "msg_contents": "Hello,\n\nI'm trying to insert new row in a system catalog table and then I'd like\nto retrieve this value in one command internally. I started new\ntransaction for insertion operation and commited that transaction. And\ninsert operation works well, but I give me server crash error. Could you...
[ { "msg_contents": "Tom,\n\n> We have a number of issues revolving around the fact that composite types\n> (row types) aren't first-class objects.  I think it's past time to fix\n> that.  Here are some notes about doing it.  I am not sure all these ideas\n> are fully-baked ... comments appreciated.\n\nI'll want ...
[ { "msg_contents": "In information i have:\n\n1. when creating view : PostgreSQL parse the query and stock the tree query.\n2. when using : PostgreSQL use this tree like a subselect.\n\nmy question : Do PostgreSQL makes an analyse of the resulted tree ?\n", "msg_date": "30 Mar 2004 10:05:02 -0800", "msg_...
[ { "msg_contents": "I've been seeing 2 regression failures (diff attached) for the past \ncouple of days. Both appear to be ordering related.\n\nJoe", "msg_date": "Tue, 30 Mar 2004 11:12:29 -0800", "msg_from": "Joe Conway <mail@joeconway.com>", "msg_from_op": true, "msg_subject": "cvs HEAD regres...
[ { "msg_contents": "Joe,\n\nFirst off, pardon me if these are known things which are already fixed in CVS. \nAlso, let me again thank you for all the work on Arrays in 7.4; I've been \nable to tremendously simplify quite a number of procedures in my databases \nthanks to the new array support.\n\nNow, the issue...
[ { "msg_contents": "\nA brief update on PITR status:\n\nI've completed successful unit testing of the PostgreSQL client-side\ncode for the XLogArchive API. Just about to start moving on to pg_arch\nand the archiver side code. At this rate, I should have a\nsystem-testable set of patches in around 2 weeks time fo...
[ { "msg_contents": "\n\n>Marc G. Fournier wrote\n> Does anyone know how ppl like Oracle handle this? Are system catalogs\n> like this open to all users?\n\nThe system catalogs for Oracle and most other systems I know of are\nsecure.\n\nIn both Oracle and Teradata the \"system tables\" are actually views,\nwhich...
[ { "msg_contents": "Hi\n I am newbe so this problem may be too simple to be asked.please help me if\nany new thing to be added in following:\nI created data type IndChar The c functions are:\ntypedef struct IndChar\n{\n int32 len;\n char c_in_str[1]; \n}IndChar;\nthen i defined input & output functions.\...
[ { "msg_contents": "I've got a database running PostgreSQL 7.4.2 on Fedora Linux. In the\npast, pg_dump would dump database backups using COPY to restore the\ndata. This time it appears that it has individual INSERTs for each\ntuple. Perhaps I'm missing this in the latest documentation, but I\nthought COPY was t...
[ { "msg_contents": "\nThanks for the excellent feedback (all)!\n\nGood point on the excess bytes/row, not sure how to explain that. There\nhave never been any deletes or updates on this table and all inserts\njust simple inserts (no transactions or anything funky) so there\nshouldn't be many aborted transaction...
[ { "msg_contents": "I'm a little frustrated\n\nselect * from mytable where mystring = 'foo';\n\nUses an index\n\nselect * from mytable where mystring like 'foo';\n\nDoes not use an index.\n\nI know Tom is not to excited about this, but I think it is a serious\nproblem. What really brings me to this is that I jus...
[ { "msg_contents": "After making the following change in port.h:\n/* vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv */\n/* open() replacement to allow delete of held files */\nextern int\twin32_open(const char*,int,...);\n#ifdef _MSC_VER\n#define \topen\twin32_open\n#else\n#define \topen(a,b,...)\twin32_ope...
[ { "msg_contents": "Do you know if postgres made assumption on the\naccess time time stamp for the files on his\nown file sistem ? If not I'm wondering if\nmount a partition with the option \"anotime\"\ncan improve the disk i/o performance.\n\n\nRegards\nGaetano Mendola\n", "msg_date": "Thu, 01 Apr 2004 01:2...
[ { "msg_contents": "I know I'm probably being a bomb tosser, but would it be practical to\nincorporate, like the serial type, and automatic GUID type?\n\nWhile I love PostgreSQL, I am frequently forced to deal with Oracle and\nMSSQL. While there is a great deal of focus on making PostgreSQL a good\ncompetitor to...
[ { "msg_contents": "DerTech LLC has developed a MATLAB interface for PostgreSQL. It's\nessentially mex wrappers for the functions in libpq. We're releasing\nit for free with source code included.\n\nHere's the website link: http://www.dertech.com/neurodb/pgmex.html\n\nCould this be added to the related projects ...
[ { "msg_contents": "How can I execute a prepared query using the libpq interface? The SQL Prepare documentation talks about select statements, but where is the documentation on SQL OPEN or some functionally equivalent libpq API? That is to say how is a cursor generated from a plan?\n\nThanks\n\n\n\n\n\n\nHow can...
[ { "msg_contents": "\n\nI am trying a pre-load a user table during InitPostgres. I tried to mimic \nthe relevant actions in ReverifyDatabase to carry this out. I manage to \nload the first block of the table. However, if a table is more than 1 \nblock, I end up getting warnings about relcache reference leaks....
[ { "msg_contents": "\nHi,\n\n[Just so y'all know: This has been discussed extensively in\n #PostgreSQL and I tried asking the question in both -admin and\n -general, first. Also did some web searching.]\n\nEnvironment:\n\n PostgreSQL 7.4.2\n Locally built with GCC 3.3.1\n Solaris 8 (Sparc)\n\nI have a ...
[ { "msg_contents": "Hello folks,\n\njust wanted to mention that the first part of the slovak translation of Pg is available - the psql strings - at the following address:\n\nhttp://de.geocities.com/bartkozo/psql-sk.po.gz\n\nIt is the 7.4 branch/newer.\n\nThanks for reading\n\nZoltan\n\n\n\n\n\n\n\nHello folks,\n...
[ { "msg_contents": "\n> Why do you think it useful to preload something during InitPostgres,\n> anyway? Any heavily used table will certainly be present in shared\n> buffers already, and even more surely present in kernel buffers.\n\nAnd if you really want it preloaded you can issue dummy selects\nwith a client...
[ { "msg_contents": "Hi every one.\n\nI've played a bit with contrib/intarray and very much liked being able to\nindex a whole array.\n\nNow I wonder why 7.4 array queries using SOME/ANY/ALL don't make use of\nthis king of indexes.\n\nIs there any plan to integrate Oleg's job into the core as GiST indexes\nwere?\...
[ { "msg_contents": "Andrew,\n\n> I may be completely missing the point here, but it looks to me as though\n> the PITR archival mechanism is also most of a native replication\n> facility. Is there anyone reason this couldn't be extended to\n> replication, and if so, is anyone planning on using it as such?\n\nI b...
[ { "msg_contents": "I had written:\n> \n[snip]\n> \n> The problem is that attempts to vacuum these tables resulted in \"NNN\n> dead row versions cannot be removed yet.\" Went through a lot of\n> analysis (e.g.: \"Any hanging txns?\") and trying different things with\n> folks on the #PostgreSQL IRC channel, all ...
[ { "msg_contents": "How can I use a prepared select statement as mentioned in the documentation on SQL PREPARE. Preparing the statement is easy, the problem is using the plan to get a cursor. My assumption is the SQL OPEN command is not documented or there is some other libpq API to make this happen.\n\nThanks\n...
[ { "msg_contents": "> \n> On Fri, Apr 02, 2004 at 12:02:22PM -0500, Jim Seymour wrote:\n> \n> [...]\n> \n> > Which is all well-and-good (tho, my ignorance readily conceded, four\n> > minutes seems a mite... long), *except*: If I shut-down the\n> > WebObjects application which, again, never accesses the db in\n> ...
[ { "msg_contents": "Hi!\n\nWhen debugging on win32, I've created myself a little function that I\nfeel should be added to the \"backend proper\". While it adds a lot of\nvlaue on win32, I think it adds quite a bit of value on non-win32\nplatforms as well...\n\nThe function is pg_kill_backend(<pid>,<signal>). sup...
[ { "msg_contents": "I came across an interesting feature regarding namespace name changes. To illustrate suppose you have two\nconnections open whose commands occur in the following sequence:\n\nTime | Session A | Session B\n-----+------------------------------------------...
[ { "msg_contents": ">>Hi!\n>>\n>>When debugging on win32, I've created myself a little function that I\n>>feel should be added to the \"backend proper\". While it adds a lot of\n>>vlaue on win32, I think it adds quite a bit of value on non-win32\n>>platforms as well...\n>>\n>>The function is pg_kill_backend(<pid...
[ { "msg_contents": "> -----Original Message-----\n> From: Magnus Hagander [mailto:mha@sollentuna.net] \n> Sent: Friday, April 02, 2004 2:34 PM\n> To: Andrew Dunstan; pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] Function to kill backend\n> \n> \n> >>Hi!\n> >>\n> >>When debugging on win32, I've created m...
[ { "msg_contents": "> Tom Lane wrote:\n>>> it would definitely need to be a lot more constrained than\n>>> send-any-signal-to-any-postgres-process ... even for a superuser,\n>>> that's a mighty fat-gauge foot-gun.\n>\n>> What sort of constraints do you have in mind?\n>\n>I'd limit it to SIGINT (query cancel) and...
[ { "msg_contents": "Tom Lane wrote:\n> It's the oldest xmin of any transaction that's local to your database,\n> but those xmin values themselves were computed globally --- so what\n> matters is the oldest transaction that was running when any local\n> transaction started. In this case I expect it's the VACUUM'...