[HACKERS] feature request: explain "with details" option

2016-09-08 Thread Roger Pack
mething, basically like today's explain but with more "rationale" included. This could be immensely useful to many Postgres users. I'd even be willing to chip in a couple hundred bucks if it would help grease the wheels for somebody taking up the challenge if that helps at all :) Tha

[HACKERS]

2015-09-01 Thread Roger Pack
> I don't think it would be horrifically hard to change the way toast OIDs > are assigned (I'm thinking we'd basically switch to creating a sequence > for every toast table), but I don't think anyone's ever tried to push > toast hard enough to hit this kind of limit. I'd be interested in promoting

Re: [HACKERS] Fwd: [GENERAL] 4B row limit for CLOB tables

2015-04-27 Thread Roger Pack
On 4/27/15, Jim Nasby wrote: > On 4/25/15 1:19 PM, Bruce Momjian wrote: >> Note if you are storing a table with rows that exceed 2KB in size >> (aggregate size of each row) then the "Maximum number of rows in a >> table" may be limited to 4 Billion, see TOAST. > > That's not accurat

Re: [HACKERS] Fwd: [GENERAL] 4B row limit for CLOB tables

2015-02-02 Thread Roger Pack
mance start degrading the same way. And there would still be the hard 4B limit. Perhaps the foreign key to the TOAST table could be changed from oid (32 bits) to something else (64 bits) [as well the sequence] so that it never wraps? What do you think? And would a more aggressive change like this have a chance of being accepted into the code base? Thanks. -roger- -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers

Re: [HACKERS] Fwd: [GENERAL] 4B row limit for CLOB tables

2015-02-02 Thread Roger Pack
On 1/30/15, Jim Nasby wrote: > On 1/30/15 11:54 AM, Roger Pack wrote: >>>> On 1/29/15, Roger Pack wrote: >>>>> Hello. I see on this page a mention of basically a 4B row limit for >>>>> tables that have BLOB's >>>> >>>> Oo

Re: [HACKERS] Fwd: [GENERAL] 4B row limit for CLOB tables

2015-01-31 Thread Roger Pack
Oops forgot to forward to the list (suggestion/feature request to the list admin for the various pg lists: make the default "reply to" go to the list, not the sender, if at all possible). Response below: On 1/30/15, Jim Nasby wrote: > On 1/30/15 11:54 AM, Roger Pack wrote: &g

[HACKERS] Fwd: [GENERAL] 4B row limit for CLOB tables

2015-01-30 Thread Roger Pack
>> On 1/29/15, Roger Pack wrote: >>> Hello. I see on this page a mention of basically a 4B row limit for >>> tables that have BLOB's >> >> Oops I meant for BYTEA or TEXT columns, but it's possible the >> reasoning is the same... > >

[HACKERS] Fwd: ability to return number of rows inserted into child partition tables request

2014-11-17 Thread Roger Pack
ected-hibernate-problems One way of fixing this would be to allow "do instead" rules on normal tables, instead of only on views (otherwise we are forced to use a rule, correct me if I'm wrong). I'd wager there would be other viable options as well. Thanks! -roger- [1] http:

Re: [HACKERS] size of .po changesets

2012-08-23 Thread Roger Leigh
considered adding "--no-location" to XGETTEXT_OPTIONS in po/Makevars? This stops the massive churn through line renumbering changes. Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linuxhttp://people.debian.org/~rleigh/ `. `' schroot and sbuild http

Re: [HACKERS] Ability to listen on two unix sockets

2012-06-06 Thread Roger Leigh
special support for it. Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linuxhttp://people.debian.org/~rleigh/ `. `' schroot and sbuild http://alioth.debian.org/projects/buildd-tools `-GPG Public Key F33D 281D 470A B443 6756 147C 07B3 C8BC 40

Re: [HACKERS] POSIX question

2011-06-20 Thread Roger Leigh
. [we do in reality have a small overcommit allowance to permit efficient fork(2), but it's tiny and (in this context) irrelevant] Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `' Printing on GNU/Linux?

Re: [HACKERS] psql linestyle unicode and client encoding

2011-04-07 Thread Roger Leigh
s would be a big issue or not. It should also be possible to use VT100 line drawing characters for most common terminal emulators (xterm and compatible), which would give line drawing characters independent of locale. But this is terminal- dependent. Regards, Roger -- .''`. Roger

Re: [HACKERS] trailing whitespace in psql table output

2010-09-24 Thread Roger Leigh
s. I couldn't tell from looking over the patch whether or not you were already taking this into account though? Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `' Printing on GNU/Linux? http://

Re: [HACKERS] Add .gitignore files to CVS?

2010-01-09 Thread Roger Leigh
er the past few years, I also found that the various tools to do the conversion do have their own issues (such as cvsps) which can lead to incorrect history in some corner cases. Unfortunately, in any big repo with a lot of history, you do tend to find you trip up on them in a few places.

Re: [HACKERS] explain output infelicity in psql

2009-12-10 Thread Roger Leigh
ould it make more sense just to add a boolean pset parameter to enable/disable the use of wrap/newline marks? It may be that people may wish to disable it for use cases in addition to EXPLAIN. Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linux http

Re: [HACKERS] garbage in psql -l

2009-11-26 Thread Roger Leigh
On Wed, Nov 25, 2009 at 11:34:35PM -0500, Tom Lane wrote: > Roger Leigh writes: > > The following patch adds in an nl_langinfo(CODESET) check in > > addition to the existing client encoding check. > > I think the consensus is pretty clear that we should just set the > de

Re: [HACKERS] garbage in psql -l

2009-11-25 Thread Roger Leigh
locale and Windows) would find this patch should ensure psql will continue default to ASCII output. This will fix the -l/-c problem for them as well. Regards, Roger diff --git a/src/bin/psql/print.c b/src/bin/psql/print.c index 69d5814..8916ffa 100644 --- a/src/bin/psql/print.c +++ b/src/bin

Re: [HACKERS] garbage in psql -l

2009-11-24 Thread Roger Leigh
On Tue, Nov 24, 2009 at 05:43:00PM -0500, Tom Lane wrote: > Roger Leigh writes: > > On Tue, Nov 24, 2009 at 02:19:27PM -0500, Tom Lane wrote: > >> I wonder whether the most prudent solution wouldn't be to prevent > >> default use of linestyle=unicode if ~/.psql

Re: [HACKERS] garbage in psql -l

2009-11-24 Thread Roger Leigh
client encoding (such as myself ;-) This should be a one-liner patch to update the existing check. Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `' Printing on GNU/Linux? http://gutenprint.source

Re: [HACKERS] Unicode UTF-8 table formatting for psql text output

2009-11-15 Thread Roger Leigh
On Sun, Nov 15, 2009 at 12:50:14AM +, Roger Leigh wrote: > On Sat, Nov 14, 2009 at 01:31:29PM -0500, Tom Lane wrote: > > Roger Leigh writes: > > > The side effect from this change is that some of the testsuite > > > expected data will need updating due to the extra

Re: [HACKERS] Unicode UTF-8 table formatting for psql text output

2009-11-14 Thread Roger Leigh
On Sat, Nov 14, 2009 at 01:31:29PM -0500, Tom Lane wrote: > Roger Leigh writes: > > The side effect from this change is that some of the testsuite > > expected data will need updating due to the extra pad spaces > > No, we are *not* doing that. Somebody made a change to the

Re: [HACKERS] Unicode UTF-8 table formatting for psql text output

2009-11-14 Thread Roger Leigh
On Sat, Nov 14, 2009 at 05:40:24PM +, Roger Leigh wrote: > On Mon, Nov 09, 2009 at 05:40:54PM -0500, Bruce Momjian wrote: > > Tom Lane wrote: > > > Greg Stark writes: > > > > While i agree this looks nicer I wonder what it does to things like > > > &g

Re: [HACKERS] Unicode UTF-8 table formatting for psql text output

2009-11-14 Thread Roger Leigh
quot;." in place of carriage return and ellipsis symbols. - All the above is documented in the SGML documentation, including the old style, which I always found confusing. For comparison, I've included a transcript of all three linestyles with a test script (also atta

Re: [HACKERS] Unicode UTF-8 table formatting for psql text output

2009-10-31 Thread Roger Leigh
On Sat, Oct 31, 2009 at 12:25:22PM -0400, Andrew Dunstan wrote: > > > Roger Leigh wrote: >> >> Wouldn't it be much simpler all around to add a "csv" output format >> in addition to the above for this purpose? Spreadsheets can read >> it in with n

Re: [HACKERS] Unicode UTF-8 table formatting for psql text output

2009-10-31 Thread Roger Leigh
psql output formats (aligned, unaligned) are for human-readable output and the others (latex, html, troff-ms) are marked up for the respective tools. None of these are really useful for other programs to parse. Wouldn't it be much simpler all around to add a "csv" output format in ad

Re: [HACKERS] Unicode UTF-8 table formatting for psql text output

2009-10-31 Thread Roger Leigh
d an additional ascii format such as "ascii-clean" which cleans up the inconsistencies in the formatting as for the unicode format, while the existing ascii format would remain the default for backwards compatibility. Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU

Re: [HACKERS] Unicode UTF-8 table formatting for psql text output

2009-10-27 Thread Roger Leigh
On Mon, Oct 26, 2009 at 11:33:40PM +, Roger Leigh wrote: > On Mon, Oct 26, 2009 at 07:19:24PM -0400, Tom Lane wrote: > > Roger Leigh writes: > > > On Mon, Oct 26, 2009 at 01:33:19PM -0400, Tom Lane wrote: > > >> Yeah. We can do what we like with the UT

Re: [HACKERS] Unicode UTF-8 table formatting for psql text output

2009-10-26 Thread Roger Leigh
On Mon, Oct 26, 2009 at 07:19:24PM -0400, Tom Lane wrote: > Roger Leigh writes: > > On Mon, Oct 26, 2009 at 01:33:19PM -0400, Tom Lane wrote: > >> Yeah. We can do what we like with the UTF8 format but I'm considerably > >> more worried about the aspect of making

Re: [HACKERS] Unicode UTF-8 table formatting for psql text output

2009-10-26 Thread Roger Leigh
some termios fiddling, could that be at fault or is that just readline ncurses initialisation? Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/ `-GPG Public Key: 0x25BFB848 Please GPG sign your mail. signature.asc Description: Digital signature

Re: [HACKERS] Unicode UTF-8 table formatting for psql text output

2009-10-25 Thread Roger Leigh
On Sun, Oct 25, 2009 at 11:48:27PM +, Roger Leigh wrote: > There's just one tiny display glitch I can see, and that's if you have > mixed wrapping and newlines, you miss the lefthand wrap mark if the line > is the last wrapped line and it ends in a newline. It might not be

Re: [HACKERS] Unicode UTF-8 table formatting for psql text output

2009-10-25 Thread Roger Leigh
On Sat, Oct 24, 2009 at 06:23:24PM +0100, Roger Leigh wrote: > On Fri, Oct 16, 2009 at 01:38:15PM +0300, Peter Eisentraut wrote: > > I like the new Unicode tables, but the marking of continuation lines > > looks pretty horrible: > > > > List

Re: [HACKERS] Unicode UTF-8 table formatting for psql text output

2009-10-24 Thread Roger Leigh
nse of not perfectly preserving output. The ASCII rules are a little more compatible than the Unicode rules, but both do break things a little. If the data lines do not contain either newlines or wrapped text, then the output will remain unchanged. Any feedback would be appreciated. Regards, Roger -

Re: [HACKERS] Unicode UTF-8 table formatting for psql text output

2009-10-16 Thread Roger Leigh
in the next week or so, in time for the next CommitFest, if you agree with the general idea. Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `' Printing on GNU/Linux? http://gutenprint.sourceforge.ne

Re: [HACKERS] Unicode UTF-8 table formatting for psql text output

2009-10-14 Thread Roger Leigh
On Tue, Oct 13, 2009 at 05:08:20PM -0400, Tom Lane wrote: > Roger Leigh writes: > > The attached updated patch renames all user-visible uses of > > "utf8" to "unicode". It also updates the documentation > > regarding "locale" to "psql clie

Re: [HACKERS] Unicode UTF-8 table formatting for psql text output

2009-10-11 Thread Roger Leigh
d updated patch renames all user-visible uses of "utf8" to "unicode". It also updates the documentation regarding "locale" to "psql client character set encoding" so the docs now match the code exactly. Regards, Roger -- .''`. Roger Leig

Re: [HACKERS] Unicode UTF-8 table formatting for psql text output

2009-10-06 Thread Roger Leigh
On Tue, Oct 06, 2009 at 10:44:27AM +0100, Roger Leigh wrote: > On Mon, Oct 05, 2009 at 04:32:08PM -0400, Tom Lane wrote: > > Roger Leigh writes: > > > On Sun, Oct 04, 2009 at 11:22:27PM +0300, Peter Eisentraut wrote: > > >> Elsewhere in the psql code, notably in m

Re: [HACKERS] Unicode UTF-8 table formatting for psql text output

2009-10-06 Thread Roger Leigh
On Mon, Oct 05, 2009 at 04:32:08PM -0400, Tom Lane wrote: > Roger Leigh writes: > > On Sun, Oct 04, 2009 at 11:22:27PM +0300, Peter Eisentraut wrote: > >> Elsewhere in the psql code, notably in mbprint.c, we make the decision > >> on whether to apply certain Unicod

Re: [HACKERS] Unicode UTF-8 table formatting for psql text output

2009-10-05 Thread Roger Leigh
can handle UTF-8 when the client encoding is UTF-8. I have attached an updated patch which implements your suggested behaviour. It also renames the option to "linestyle" rather than "tablestyle" which I think represents its purpose a bit more clearly. Thanks, Roger -- .&#

Re: [HACKERS] Unicode UTF-8 table formatting for psql text output

2009-10-04 Thread Roger Leigh
On Fri, Oct 02, 2009 at 05:34:16PM -0700, Brad T. Sliger wrote: > On Friday 02 October 2009 04:21:35 Roger Leigh wrote: > > I have attached a patch which implements the feature as a pset > > variable. This also slightly simplifies some of the patch since > > the table style i

Re: [HACKERS] Unicode UTF-8 table formatting for psql text output

2009-10-02 Thread Roger Leigh
On Wed, Sep 30, 2009 at 06:50:46PM -0400, Tom Lane wrote: > Roger Leigh writes: > >> On Wed, 2009-09-30 at 11:03 -0400, Andrew Dunstan wrote: > >>> Thinking about this some more, ISTM a much better way of approaching > >>> it would be to provide a

Re: [HACKERS] Unicode UTF-8 table formatting for psql text output

2009-09-30 Thread Roger Leigh
ting/-G option to psql (naming isn't my forté, so feel free to change it!). This is also documented in the SGML docs, and help text. Lastly, this option is used when invoking psql by pg_regress, which results in a working testsuite in a UTF-8 locale. Hopefully this is OK! I'

Re: [HACKERS] Unicode UTF-8 table formatting for psql text output

2009-09-30 Thread Roger Leigh
On Tue, Sep 29, 2009 at 04:32:49PM -0400, Tom Lane wrote: > Roger Leigh writes: > >> C locale means POSIX behavior and nothing but. > > > Indeed it does. However, making LC_CTYPE be UTF-8 rather than > > ASCII is both possible and still strictly conforming to the

Re: [HACKERS] Unicode UTF-8 table formatting for psql text output

2009-09-30 Thread Roger Leigh
use and not break the tests-- this is really just breaking an assumption in the testing code that the test output will always be ASCII. Forcing the LC_CTYPE to C will force ASCII output and work around this problem with the tests. Another approach would be to let psql know it's being run i

Re: [HACKERS] Unicode UTF-8 table formatting for psql text output

2009-09-29 Thread Roger Leigh
On Tue, Sep 29, 2009 at 01:41:27PM -0400, Tom Lane wrote: > Roger Leigh writes: > > In Debian, we do have plans to introduce a C.UTF-8 locale, > > Egad, isn't that a contradiction in terms? Not entirely! > C locale means POSIX behavior and nothing but. Indeed it

Re: [HACKERS] Unicode UTF-8 table formatting for psql text output

2009-09-29 Thread Roger Leigh
UTF-8 locale, and perhaps eventually move the C locale to using UTF-8 by default, at which point the tests would again fail because you would still get the UTF-8 formatting despite all of the LC_ etc. munging. (At that point, we would have a C.ASCII for compatibility.) Regards, Roger --

Re: [HACKERS] Unicode UTF-8 table formatting for psql text output

2009-09-23 Thread Roger Leigh
nt seem to be false positives. The > regression tests pass against the new patch. I've attached a new patch which tidies up those extra commas, plus a patch showing the changes from the previous patch. Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linux

Re: [HACKERS] Unicode UTF-8 table formatting for psql text output

2009-08-27 Thread Roger Leigh
through the loop, and it's reached zero after completion of the inner loop, so all of the code used when curr_nl_line is > 0 is never called. I'm sure I'm interpreting this incorrectly, but I can't see under what circumstances I would get the column name header li

Re: [HACKERS] Unicode UTF-8 table formatting for psql text output

2009-08-27 Thread Roger Leigh
On Tue, Aug 25, 2009 at 10:32:50PM -0400, Alvaro Herrera wrote: > Roger Leigh escribió: > > > An updated copy of the patch is attached. > > Did you give expanded output a look? (\x) I find it a bit weird that > the first line shows a single-pixel wide line but the subseque

Re: [HACKERS] Unicode UTF-8 table formatting for psql text output

2009-08-25 Thread Roger Leigh
On Sun, Aug 23, 2009 at 06:33:49PM -0400, Alvaro Herrera wrote: > Roger Leigh escribió: > > > +#if (defined(HAVE_LANGINFO_H) && defined(CODESET)) > > + if (!strcmp(nl_langinfo(CODESET), "UTF-8")) > > + text_format = &utf8format; > >

Re: [HACKERS] [PATCH 5/6] psql: print_aligned_text uses table formatting

2009-08-23 Thread Roger Leigh
On Sun, Aug 23, 2009 at 11:47:02AM -0400, Alvaro Herrera wrote: > Roger Leigh wrote: > > Convert print_aligned_text, and its helper function, to use > > table formatting in place of hardcoded ASCII characters. > > > @@ -841,7 +856,10 @@ print_aligned_text(const printTableC

Re: [HACKERS] Unicode UTF-8 table formatting for psql text output

2009-08-23 Thread Roger Leigh
On Sun, Aug 23, 2009 at 01:49:02AM +0100, Roger Leigh wrote: > On Sat, Aug 22, 2009 at 07:42:10PM -0400, Robert Haas wrote: > > On Sat, Aug 22, 2009 at 2:13 PM, Roger Leigh wrote: > > > Further minor cleanups to tweak column alignment in a corner case, > > > and to corre

Re: [HACKERS] Unicode UTF-8 table formatting for psql text output

2009-08-22 Thread Roger Leigh
On Sat, Aug 22, 2009 at 07:42:10PM -0400, Robert Haas wrote: > On Sat, Aug 22, 2009 at 2:13 PM, Roger Leigh wrote: > > Further minor cleanups to tweak column alignment in a corner case, > > and to correct indentation to match the rest of the code. > > Please read the gu

[HACKERS] [PATCH 2/6] psql: Add table formats for ASCII and UTF-8

2009-08-22 Thread Roger Leigh
Signed-off-by: Roger Leigh --- src/bin/psql/print.c | 24 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/src/bin/psql/print.c b/src/bin/psql/print.c index 7505cd4..9dec77d 100644 --- a/src/bin/psql/print.c +++ b/src/bin/psql/print.c @@ -356,6 +356,30

[HACKERS] Unicode UTF-8 table formatting for psql text output

2009-08-22 Thread Roger Leigh
Further minor cleanups to tweak column alignment in a corner case, and to correct indentation to match the rest of the code. Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `' Printing on G

[HACKERS] [PATCH 8/9] psql: print_aligned_vertical_line: Correct alignment

2009-08-22 Thread Roger Leigh
Correct a corner case where the middle column separator overlaps the right edge of the record number. Signed-off-by: Roger Leigh --- src/bin/psql/print.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/bin/psql/print.c b/src/bin/psql/print.c index be81adc

[HACKERS] [PATCH 9/9] psql: print_aligned_vertical: Correct indentation

2009-08-22 Thread Roger Leigh
Signed-off-by: Roger Leigh --- src/bin/psql/print.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/bin/psql/print.c b/src/bin/psql/print.c index c6394ad..10faeb3 100644 --- a/src/bin/psql/print.c +++ b/src/bin/psql/print.c @@ -1154,10 +1154,10

[HACKERS] [PATCH 7/7] psql: Don't print leading - with expanded=1 and border=0

2009-08-22 Thread Roger Leigh
Signed-off-by: Roger Leigh --- src/bin/psql/print.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/bin/psql/print.c b/src/bin/psql/print.c index e4e9f01..be81adc 100644 --- a/src/bin/psql/print.c +++ b/src/bin/psql/print.c @@ -1014,7 +1014,7

[HACKERS] Submitted patches stuck in moderation queue

2009-08-22 Thread Roger Leigh
worth mentioning. Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/ `-GPG Public Key: 0x25BFB848 Please GPG sign your mail. signature

[HACKERS] [PATCH 3/6] psql: Create table format

2009-08-22 Thread Roger Leigh
Default to using the ASCII table. However, if a UTF-8 locale codeset is in use, switch to the UTF-8 table. Signed-off-by: Roger Leigh --- src/bin/psql/print.c | 11 ++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/src/bin/psql/print.c b/src/bin/psql/print.c index

[HACKERS] [PATCH 6/6] psql: print_aligned_vertical uses table formatting

2009-08-22 Thread Roger Leigh
Convert print_aligned_vertical, and its helper function, to use table formatting in place of hardcoded ASCII characters. Signed-off-by: Roger Leigh --- src/bin/psql/print.c | 141 +++--- 1 files changed, 87 insertions(+), 54 deletions(-) diff --git

[HACKERS] Unicode UTF-8 table formatting for psql text output

2009-08-22 Thread Roger Leigh
Small followup patch to correct expanded=1 and border=0 output as mentioned in previous email. Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `' Printing on GNU/Linux? http://gutenprint.sourcefor

[HACKERS] [PATCH 5/6] psql: print_aligned_text uses table formatting

2009-08-22 Thread Roger Leigh
Convert print_aligned_text, and its helper function, to use table formatting in place of hardcoded ASCII characters. Signed-off-by: Roger Leigh --- src/bin/psql/print.c | 50 +- 1 files changed, 37 insertions(+), 13 deletions(-) diff --git a

[HACKERS] [PATCH 4/6] psql: Pass table formatting object to text output functions

2009-08-22 Thread Roger Leigh
print_aligned_text and print_aligned_vertical, and their helper fuctions pass the table formatting and (where applicable) line style information to allow correct printing of table lines. Signed-off-by: Roger Leigh --- src/bin/psql/print.c | 23 ++- 1 files changed, 14

[HACKERS] Unicode UTF-8 table formatting for psql text output

2009-08-22 Thread Roger Leigh
er=0 and expanded=1, which I just noticed while sending this mail. I'll tidy that up and send another patch. This is something I really think makes psql more readable and more usable, which I've been working on over the last couple of nights, and so here it is for your comments and criti

[HACKERS] [PATCH 1/6] psql: Abstract table formatting characters used for different line types.

2009-08-22 Thread Roger Leigh
rules (lrule), allowing specification of line styles for the top, middle and bottom horizontal lines in a table. The other printTextFormat members, hrule and vrule define the formatting needed to draw horizontal and vertical rules. Signed-off-by: Roger Leigh --- src/bin/psql/print.h | 21

Re: [HACKERS] how does one set the plpython python interpreter?

2007-05-05 Thread roger
On May 5, 1:34 am, [EMAIL PROTECTED] (Peter Eisentraut) wrote: > roger wrote: > > Where can I configure which version (or path) that postgres will use? > > It uses whatever "python" program it can find first in the path. If > your observation is different, please s

[HACKERS] how does one set the plpython python interpreter?

2007-05-05 Thread roger
o use (and since it's "untrusted" anyways...), correct? Many thanks if anyone can shed some light on this. -Roger ---(end of broadcast)--- TIP 5: don't forget to increase your free space map settings

Re: [PERFORM] [HACKERS] Query in SQL statement

2005-10-02 Thread Roger Hand
ELECT fieldone FROM testtable; -- CamelCase SELECT FieldOne FROM TestTable; -Roger > Jim C. Nasby, Sr. Engineering Consultant [EMAIL PROTECTED] ---(end of broadcast)--- TIP 9: In versions below 8.0, the planner will ignore your desire to

[HACKERS] New database access library, libpqxx-object

2003-11-09 Thread Roger Leigh
of interest, you are welcome to include this in your libpqxx library, or as a separate project on GBorg (I'll relicense it under the standard Postgres licence). Regards, Roger - -- Roger Leigh Printing on GNU/Linux? http://gimp-print.sourceforge.net/

[HACKERS] New database access library, libpqxx-object

2003-11-07 Thread Roger Leigh
of interest, you are welcome to include this in your libpqxx library, or as a separate project on GBorg (I'll relicense it under the standard Postgres licence). Regards, Roger - -- Roger Leigh Printing on GNU/Linux? http://gimp-print.sourceforge.net/

[HACKERS]

2001-05-28 Thread roger
love to have a copy of that script that backups postgre remotely.      angel

[HACKERS] How to assign a new admin account name and password for 7.02?

2000-12-17 Thread Roger Smith
Hi all, Can anyone point the doc explaining how to assign a new admin level account name and password? I can't seem to find it in docs or search engines. Thanks. R. Smith