pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Aaron W. West <tallpeak@hotmail.NO.SPAM>
To: pgsql-sql@postgresql.org
Subject: quoting
Date: Tue, 29 Jun 2004 22:12:09 -0700
Message-ID: <db2dnd81KZE21n_dRVn-hA@speakeasy.net> (raw)

I'm not a pgsql user, but reading chapter 37 of the user docs -
plpgsql-statements.html, I see that PL/pgsql requires quotes around FUNCTION
and PROCEDURE text, and I just want to comment that that seems like a rather
unfortunate decision. I like MS SQL's batch separation with GO better, but
lacking that, might there be an optional different quoting syntax, perhaps
like the HEREDOC syntax of bash or Perl, or like Perl's q() or qq() quoting
operators (or q{}, q[], etc)?

At least new users would be able to write their pl/pgsql commands in syntax
that doesn't require 2, 4, 8, or more single quote characters to represent
one.





view thread (3+ messages)  latest in thread

Message-ID: <db2dnd81KZE21n_dRVn-hA@speakeasy.net>
Permalink:  ../db2dnd81KZE21n_dRVn-hA@speakeasy.net/
Also on:    postgresql.org/message-id/db2dnd81KZE21n_dRVn-hA@speakeasy.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tallpeak@hotmail.NO.SPAM
  Subject: Re: quoting
  In-Reply-To: <db2dnd81KZE21n_dRVn-hA@speakeasy.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox